integrations/claude-code-skills/arthur-onboard/arthur-onboard-analyze/SKILL.md
--- name: arthur-onboard-analyze description: Arthur onboarding sub-skill — Step 4: Analyze the target repository (language, framework, existing instrumentation). Writes detection results to .arthur-engine.env. allowed-tools: Bash, Read --- # Arthur Onboard — Step 4: Analyze Repository **Goal:** Detect language, framework, and existing instrumentation. Write results to `.arthur-engine.env`. ## Read State ```bash cat .arthur-engine.env 2>/dev/null || echo "(no state file)" ``` --- ## Detect
npx skillsauth add arthur-ai/arthur-engine integrations/claude-code-skills/arthur-onboard/arthur-onboard-analyzeInstall 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.
Goal: Detect language, framework, and existing instrumentation. Write results to .arthur-engine.env.
cat .arthur-engine.env 2>/dev/null || echo "(no state file)"
# Language detection
[ -f requirements.txt ] || [ -f pyproject.toml ] && echo "PYTHON=yes"
[ -f tsconfig.json ] || [ -f package.json ] && echo "NODE=yes"
# Framework detection
grep -r --include="*.py" --include="*.ts" --include="*.js" -l \
"mastra\|langchain\|openai\|anthropic\|crewai\|autogen" . 2>/dev/null | head -5
# Existing instrumentation
grep -r --include="*.py" --include="*.ts" --include="*.js" -l \
"arthur\.instrument\|arthur_observability\|ArthurExporter\|openinference" . 2>/dev/null | head -3
Also read requirements.txt, pyproject.toml, package.json, and the likely entry point (main.py, app.py, src/mastra/index.ts, src/index.ts, etc.).
Determine:
python | typescript | javascript | unknownmastra | langchain | openai | anthropic | crewai | other | unknown@mastra/arthur, or openinference already presentSTATE_FILE=".arthur-engine.env"
grep -v '^ARTHUR_DETECTED_LANGUAGE=\|^ARTHUR_DETECTED_FRAMEWORK=\|^ARTHUR_IS_INSTRUMENTED=' \
"$STATE_FILE" 2>/dev/null > /tmp/ae_env_tmp && mv /tmp/ae_env_tmp "$STATE_FILE" || true
echo "ARTHUR_DETECTED_LANGUAGE=<language>" >> "$STATE_FILE"
echo "ARTHUR_DETECTED_FRAMEWORK=<framework>" >> "$STATE_FILE"
echo "ARTHUR_IS_INSTRUMENTED=<true|false>" >> "$STATE_FILE"
Report the detected values to the user before exiting.
tools
--- 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.