Install Integrations
Inspecto provides onboarding integrations for common AI coding assistants to automate setup in your projects. Install the matching integration from your project root, and the CLI will try to open the onboarding flow in your host IDE automatically.
Quick Start
The fastest path is:
- Navigate to your project root (most integrations are project-level).
- Copy and run the matching install command:
--host-ide values: vscode, cursor, trae, trae-cn.
npx @inspecto-dev/cli integrations install codex --host-ide vscodenpx @inspecto-dev/cli integrations install claude-code --scope project --host-ide vscodenpx @inspecto-dev/cli integrations install copilot --host-ide vscodenpx @inspecto-dev/cli integrations install cursor --host-ide cursornpx @inspecto-dev/cli integrations install gemini --host-ide vscodenpx @inspecto-dev/cli integrations install trae --host-ide trae-cnnpx @inspecto-dev/cli integrations install coco --host-ide trae-cn- Follow the onboarding flow opened by the CLI.
When you already know the host IDE, always prefer passing --host-ide explicitly. It avoids ambiguous IDE detection in plain terminal sessions.
If onboarding does not open automatically, say:
Set up Inspecto in this projectInstallation Scopes
Depending on the assistant, the integration is installed either globally for your user, or locally for the current project.
- Project-level (run from your target project root):
Copilot,Cursor,Gemini,Trae,Coco, andClaude Code --scope project. - User-level (run from anywhere):
Codex --scope user,Claude Code --scope user.
Important: If you run a project-level install command from the wrong directory, the assistant won't be able to find the integration when you ask it for help!
Available Integrations
Here is a full list of supported assistants and where their integrations are installed.
| Assistant | Type | Install Target | Notes |
|---|---|---|---|
| Codex | Native skill | .agents/skills/ or ~/.agents/skills/ | User-level or Project-level. |
| Claude Code | Native skill | .claude/skills/ or ~/.claude/skills/ | User-level or Project-level. |
| Copilot | Native skill | .github/skills/inspecto-onboarding/ | Project-level. Run from the target project root. |
| Cursor | Native skill | .cursor/skills/inspecto-onboarding/ | Project-level. Run from the target project root. |
| Gemini | Native skill | .gemini/skills/inspecto-onboarding/ | Project-level. Run from the target project root. |
| Trae | Native skill | .trae/skills/inspecto-onboarding/ | Project-level. Run from the target project root. |
| Coco | Native skill | .traecli/skills/inspecto-onboarding/ | Project-level. Run from the target project root. |
All onboarding integrations will by default write configuration into local-only files (.inspecto/settings.local.json and .inspecto/prompts.local.json), keeping your repository clean.
Common install examples:
npx @inspecto-dev/cli integrations install codex --host-ide vscode# Project-level
npx @inspecto-dev/cli integrations install claude-code --scope project --host-ide vscode
# User-level
npx @inspecto-dev/cli integrations install claude-code --scope user --host-ide vscodenpx @inspecto-dev/cli integrations install copilot --host-ide vscodenpx @inspecto-dev/cli integrations install cursor --host-ide cursornpx @inspecto-dev/cli integrations install gemini --host-ide vscodenpx @inspecto-dev/cli integrations install trae --host-ide trae-cnnpx @inspecto-dev/cli integrations install coco --host-ide trae-cnUse inspecto integrations doctor <assistant> --host-ide <ide> --compact only when you want to check blockers before install, or when you need to troubleshoot.
How It Works Under the Hood
The integrations work by exposing Inspecto's structured CLI onboarding contract to your assistant. When you ask it to set up Inspecto, it will execute:
onboard --json: Analyzes the project and returns a structured plan.onboard --json --target <packagePath>: Reruns if target selection is needed in monorepos.onboard --json --yes: Applies the code mutations after your confirmation.- Guides you through installing the IDE extension (a required step).
- Confirms the dev server start command.
This guarantees that the actual file modifications are always safely performed by the Inspecto CLI parser, rather than relying on the assistant to hand-edit your configuration files.
For JSON field semantics and automation rules, see the Onboarding Contract.
For
inspecto integrations doctor --jsonfield semantics and exit codes, seepackages/cli/README.md.