Setup skill
AI DevKit Setup Skill
Check local readiness and run AI DevKit setup only when needed.
On this page
Install command
AI DevKit installs its built-in skills as one curated set. Run this once to install ai-devkit-setup with the rest of the built-in workflow skills.
npx ai-devkit@latest skill add --built-inWhat it does
Use ai-devkit-setup when onboarding AI DevKit, preparing a harness, or repairing local agent integration. It starts with the status report, runs the smallest setup command that addresses detected gaps, and verifies readiness after setup.
When to use it
- Onboard a machine with Codex, Claude Code, or Pi integrations
- Repair missing hooks, session tracking, or built-in skills
- Separate setup-repairable gaps from manual actions like auth or host tool installation
Supported agents
- Claude Code
- Codex
- Pi
The SKILL.md file
This is what your agent reads when the skill runs. View it on GitHub (opens in a new tab)
Use this skill when a user wants to onboard AI DevKit, prepare a harness, repair local AI DevKit integration, or check whether setup is needed.
Keep the workflow status-driven and simple. Prefer the installed ai-devkit binary; if it is unavailable, use npx ai-devkit@latest.
Execution Notes#
- Under filesystem sandboxing, run
ai-devkit status --jsonand anyai-devkit setupcommand outside the sandbox. These commands inspect and modify host-level agent configuration; sandboxed runs can produce false failures or block setup writes, especially for integrations that execute harness commands and access paths like~/.pi/agent.
Workflow#
-
Run readiness first:
bash ai-devkit status --json -
Identify failed or warning checks that setup can fix. Setup covers local integrations like hooks, built-in skills, and session tracking for
codex,pi, andclaude; it does not fix auth, missing package managers, or host tools requiring user installation. -
Run the narrowest setup command, for example:
bash ai-devkit setup --agent codex,pi,claudeIf the user asked for broad onboarding and several supported harnesses need setup,
ai-devkit setupis acceptable. -
Re-run
ai-devkit status --jsonand report what changed plus any remaining manual actions.
Boundaries#
- Do not run setup before checking status unless the user explicitly asks to force setup.
- Do not claim setup is complete without a fresh status check from this session.
- Do not modify secrets, auth tokens, or unrelated harness config manually. Point the user to the failing status item instead.
- Ask before destructive cleanup or replacing existing user-managed configuration.
- Keep output concise: status command, setup command if run, final readiness, and remaining user actions.