arthur-observability-sdk/.claude/skills/generate-client/SKILL.md
Regenerate the arthur_genai_client package from the GenAI Engine OpenAPI spec. Use when the GenAI Engine API has changed, or when python/src/arthur_genai_client/ is missing after a fresh clone.
npx skillsauth add arthur-ai/arthur-engine generate-clientInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The arthur_genai_client package under python/src/ is auto-generated and gitignored.
It must be present before running tests, linting (mypy), or using prompt management features.
node --version # needs Node.js (any recent LTS)
java -version # needs Java 11+
If either is missing, tell the user to install them and stop.
From the arthur-observability-sdk/ directory:
./scripts/generate_openapi_client.sh generate python
./scripts/generate_openapi_client.sh install python
generate python will:
openapi-generator-cli via npm if neededgenai-engine/staging.openapi.jsonpython/src/arthur_genai_client/install python runs uv sync to register the generated package in the venv.
python -c "from arthur_genai_client.models.agentic_prompt import AgenticPrompt; print('OK')"
If that prints OK, the client is ready. If it errors, re-run step 2.
python/src/arthur_genai_client/ — changes will be lost on the next regeneration.genai-engine/staging.openapi.json. If that file is missing, update it from the running GenAI Engine: curl http://localhost:3030/openapi.json > ../genai-engine/staging.openapi.jsontools
--- name: arthur-onboard-verify description: Arthur onboarding sub-skill — Step 7: Verify that traces are flowing from the instrumented application to Arthur Engine. Reads credentials from .arthur-engine.env. allowed-tools: Bash, Read --- # Arthur Onboard — Step 7: Verify Instrumentation ## Read State ```bash cat .arthur-engine.env 2>/dev/null || echo "(no state file)" ``` Parse `ARTHUR_ENGINE_URL`, `ARTHUR_API_KEY`, `ARTHUR_TASK_ID`. --- ## Tell the User to Run Their Application Show the
tools
--- name: arthur-onboard-task description: Arthur onboarding sub-skill — Step 3: Set up an Arthur Task (create or select). Reads/writes .arthur-engine.env. allowed-tools: Bash, Read, Write, Edit --- # Arthur Onboard — Step 3: Set Up Arthur Task **Goal:** Establish `ARTHUR_TASK_ID` in `.arthur-engine.env`. ## Read State ```bash cat .arthur-engine.env 2>/dev/null || echo "(no state file)" ``` Parse `ARTHUR_ENGINE_URL`, `ARTHUR_API_KEY`, and `ARTHUR_TASK_ID` from the output. **State write hel
tools
--- name: arthur-onboard-prompts description: Arthur onboarding sub-skill — Step 6: Extract prompts from the target repository and register them with Arthur Engine. Reads credentials from .arthur-engine.env. allowed-tools: Bash, Read, Task --- # Arthur Onboard — Step 6: Extract & Register Prompts ## Read State ```bash cat .arthur-engine.env 2>/dev/null || echo "(no state file)" ``` Parse `ARTHUR_ENGINE_URL`, `ARTHUR_API_KEY`, `ARTHUR_TASK_ID`. --- ## Extract Prompts via Sub-agent Delegate
development
Onboard an agentic application to the Arthur SaaS Platform (platform.arthur.ai). Guides through authentication, workspace selection, engine deployment, model creation, code instrumentation, trace verification, and eval configuration.