aidev.

The aidev CLI

A package manager for AI development building blocks. Humans and coding agents use the same commands.

Install

npm install -g aidev
aidev login
aidev search "react migration"
aidev install react-migration-agent

Where files go

Each provider adapter translates one neutral artifact into that tool’s current format. Nothing is overwritten silently: conflicts abort, --force backs up first, and every install is a rollback point.

ArtifactGitHub CopilotClaude CodeCodex
skill.github/skills/<n>/SKILL.md.claude/skills/<n>/SKILL.md.agents/skills/<n>/SKILL.md
agent.github/agents/<n>.agent.md.claude/agents/<n>.mdinstalled as a skill (no agent file format)
prompt.github/prompts/<n>.prompt.mduser-invoked skillskill
instruction.github/instructions/<n>.instructions.mdblock in CLAUDE.mdblock in AGENTS.md
mcp.vscode/mcp.json.mcp.json.codex/config.toml or ~/.codex/config.toml

For coding agents

Every command supports --json (a single JSON document on stdout), --yes (non-interactive consent) and --no-color. Authenticate with AIDEV_TOKEN.

aidev search "react 19 migration" --json
aidev info react-19-migration --json
aidev install react-19-migration --yes --json --provider copilot
ExitMeaning
0success
2usage error / provider not determinable
3authentication required
4not found
5conflict (would overwrite existing config)
6blocked by company policy
7consent required (re-run with --yes)
8validation failed
9network error

Safety

Artifacts are untrusted. Installing never executes anything: scripts are copied, not run. Permissions are shown before install, high-severity scan findings require --allow-risky, content hashes are verified, and company-blocked artifacts are refused.

Publish

aidev init artifact skill my-skill
cd my-skill && aidev publish --dry-run
aidev publish --org acme --visibility organization