Complete command-line reference for the archon CLI — installation, commands, configuration, and workflows.
- Installation
- Quick Start
- Global Flags
- Command Reference
- Exit Codes
- Configuration
- Platform Detection
- JSON Output
- Shell Completions
- Common Workflows
- Next Steps
pip install archongit clone https://github.com/SufficientDaikon/archon.git
cd archon
pip install -e .archon --version
# archon v1.0.0Get up and running in 60 seconds:
# 1. Initialize Archon in your environment
archon init
# 2. Install the default bundle for your detected platforms
archon install --all
# 3. Verify everything is healthy
archon doctorThat's it — your AI coding assistants now have access to all Archon skills, agents, and pipelines.
These flags work with every command:
| Flag | Description |
|---|---|
--json |
Output results as structured JSON (see JSON Output) |
--quiet |
Suppress all non-essential output; only show errors |
--verbose |
Show detailed debug-level output |
--version |
Print the Archon version and exit |
Examples:
# Machine-readable output for CI pipelines
archon doctor --json
# Silent operation for scripts
archon install --all --quiet
# Debug a failing install
archon install --skill react-best-practices --verbose
# Check the installed version
archon --versionInitialize Archon in the current environment. Creates the ~/.archon/ config directory, detects installed platforms, and writes a default config.yaml.
Usage:
archon init [--platform <name>]Options:
| Option | Description |
|---|---|
--platform <name> |
Skip auto-detection and initialize for a specific platform (claude-code, copilot-cli, cursor, windsurf, antigravity) |
Example:
$ archon init
✓ Detected platforms: claude-code, copilot-cli, cursor
✓ Created ~/.archon/config.yaml
✓ Archon initialized successfully
$ archon init --platform cursor
✓ Initialized for platform: cursor
✓ Created ~/.archon/config.yamlInstall skills, bundles, or everything to one or more platforms.
Usage:
archon install [--skill <name>] [--bundle <name>] [--all] [--platform <name>] [--force]Options:
| Option | Description |
|---|---|
--skill <name> |
Install a single skill by name |
--bundle <name> |
Install a bundle (domain kit) by name |
--all |
Install all available skills and bundles |
--platform <name> |
Target a specific platform (default: all detected) |
--force |
Overwrite existing installations without prompting |
Examples:
# Install a single skill
$ archon install --skill react-best-practices
✓ Installed react-best-practices to claude-code
✓ Installed react-best-practices to copilot-cli
✓ Installed react-best-practices to cursor
Installed 1 skill to 3 platforms
# Install a bundle
$ archon install --bundle web-dev-kit
✓ Installing web-dev-kit (5 skills + 1 meta-skill)...
✓ frontend-design
✓ react-best-practices
✓ vercel-react-best-practices
✓ web-design-guidelines
✓ backend-development
✓ web-fullstack-expert (meta-skill)
Installed 6 skills to 3 platforms
# Install everything
$ archon install --all
✓ Installing 83 skills, 13 bundles to 3 platforms...
Done in 4.2s
# Force reinstall to a specific platform
$ archon install --skill godot-best-practices --platform cursor --force
✓ Installed godot-best-practices to cursor (overwritten)Remove an installed skill or bundle from one or more platforms.
Usage:
archon uninstall <name> [--platform <name>] [--force]Options:
| Option | Description |
|---|---|
<name> |
(Required) Name of the skill or bundle to uninstall |
--platform <name> |
Uninstall from a specific platform only (default: all) |
--force |
Skip confirmation prompt |
Example:
$ archon uninstall godot-best-practices
⚠ This will remove godot-best-practices from 3 platforms. Continue? [y/N] y
✓ Removed godot-best-practices from claude-code
✓ Removed godot-best-practices from copilot-cli
✓ Removed godot-best-practices from cursor
Uninstalled 1 skill from 3 platforms
$ archon uninstall web-dev-kit --platform cursor --force
✓ Removed web-dev-kit (6 skills) from cursorRun a comprehensive health check on your Archon installation. Checks config files, platform connections, skill integrity, and version status.
Usage:
archon doctor [--json]Options:
| Option | Description |
|---|---|
--json |
Output results as structured JSON |
Example:
$ archon doctor
Archon Doctor v1.0.0
──────────────────────────────
Configuration
✓ Config file exists ~/.archon/config.yaml
✓ Config file valid YAML syntax OK
Platforms
✓ claude-code ~/.claude/AGENTS.md found
✓ copilot-cli ~/.copilot/ found
✓ cursor ~/.cursor/rules/ found
✗ windsurf Not detected
✗ antigravity Not detected
Skills
✓ 83 skills installed 0 conflicts detected
✓ 13 bundles installed All meta-skills present
✓ All manifests valid 0 schema errors
Version
✓ Up to date v1.0.0 (latest)
──────────────────────────────
Result: 11 passed, 2 skipped, 0 failedValidate a skill, bundle, agent, or pipeline against the Archon schema. Use this before committing or opening a PR to catch errors early.
Usage:
archon validate [path] [--json]Options:
| Option | Description |
|---|---|
[path] |
Path to a skill/bundle/agent/pipeline directory (default: validate all) |
--json |
Output results as structured JSON |
Example:
# Validate a specific skill
$ archon validate skills/my-new-skill
Validating skills/my-new-skill...
✓ manifest.yaml Schema valid
✓ SKILL.md All required sections present
✓ Triggers No conflicts with existing skills
✓ Resources All referenced files exist
Result: PASS (4/4 checks)
# Validate everything
$ archon validate
Validating 83 skills, 13 bundles, 10 agents, 7 pipelines...
✓ 83 skills valid
✓ 13 bundles valid
✓ 10 agents valid
✓ 7 pipelines valid
Result: PASS (113/113 checks)
# Validate with JSON output for CI
$ archon validate skills/broken-skill --json
{
"status": "fail",
"command": "validate",
"version": "1.0.0",
"data": {
"path": "skills/broken-skill",
"checks": 4,
"passed": 2,
"failed": 2,
"errors": [
"manifest.yaml: missing required field 'description'",
"SKILL.md: missing section '## When to Use'"
]
},
"errors": []
}List installed skills, agents, bundles, or pipelines.
Usage:
archon list [skills|agents|bundles|pipelines] [--json]Options:
| Option | Description |
|---|---|
skills |
List only skills (default if no sub-command given) |
agents |
List only agents |
bundles |
List only bundles |
pipelines |
List only pipelines |
--json |
Output results as structured JSON |
Example:
$ archon list skills
Archon Skills (83 installed)
───────────────────────────────
backend-development v1.0.0 [web, api, database]
capacitor-best-practices v1.0.0 [mobile, capacitor]
django-expert v1.0.0 [python, django]
frontend-design v1.0.0 [web, ui, css]
godot-best-practices v1.0.0 [gamedev, godot]
react-best-practices v1.0.0 [web, react]
...
$ archon list bundles
Archon Bundles (13 installed)
───────────────────────────────
godot-kit 5 skills Godot game development
web-dev-kit 5 skills Full-stack web development
django-kit 4 skills Django web framework
mobile-kit 3 skills Mobile app development
ux-design-kit 6 skills UX/UI design pipeline
devops-kit 3 skills DevOps and infrastructure
$ archon list agents --json
{
"status": "ok",
"command": "list",
"version": "1.0.0",
"data": {
"type": "agents",
"count": 10,
"items": [
{ "name": "spec-writer", "version": "1.0.0", "description": "Transforms plans into specs" },
{ "name": "implementer", "version": "1.0.0", "description": "Implements from specifications" }
]
},
"errors": []
}Search the Archon registry for skills, bundles, agents, or pipelines by keyword.
Usage:
archon search <query> [--json]Options:
| Option | Description |
|---|---|
<query> |
(Required) Search term — matches name, description, tags, and triggers |
--json |
Output results as structured JSON |
Example:
$ archon search react
Search results for "react" (4 matches)
───────────────────────────────────────
react-best-practices skill React hooks, patterns, and optimization
vercel-react-best-practices skill Next.js and React performance from Vercel
frontend-design skill Production-grade frontend interfaces
web-dev-kit bundle Includes react-best-practices + 4 more
$ archon search "game dev"
Search results for "game dev" (3 matches)
─────────────────────────────────────────
godot-best-practices skill Godot 4.x GDScript best practices
godot-gdscript-patterns skill Master Godot 4 GDScript patterns
godot-kit bundle Complete Godot game development kitShow detailed information about a skill, bundle, agent, or pipeline.
Usage:
archon info <name> [--json]Options:
| Option | Description |
|---|---|
<name> |
(Required) Name of the item to inspect |
--json |
Output results as structured JSON |
Example:
$ archon info react-best-practices
react-best-practices
━━━━━━━━━━━━━━━━━━━━
Type: skill
Version: 1.0.0
Author: archon-team
License: MIT
Platforms: claude-code, copilot-cli, cursor, windsurf, antigravity
Tags: web, react, hooks, performance
Priority: P2
Description: React development guidelines with hooks, component patterns,
state management, and performance optimization.
Triggers:
Keywords: "react component", "react hooks", "use state"
Patterns: "create * react *", "optimize react *"
Dependencies: none
Bundle: web-dev-kit
Installed: Yes (3 platforms)Run or check the status of multi-agent pipelines.
Usage:
archon pipeline run <name> [--project <name>]
archon pipeline status [--project <name>]Sub-commands:
| Sub-command | Description |
|---|---|
run <name> |
Start a pipeline by name |
status |
Show the status of running/completed pipelines |
Options:
| Option | Description |
|---|---|
--project <name> |
Associate the pipeline run with a project name |
Example:
# Run the SDD pipeline
$ archon pipeline run sdd --project my-feature
✓ Starting SDD pipeline for project "my-feature"
Phase 1/3: spec-writer ▶ Running...
Phase 2/3: implementer ○ Pending
Phase 3/3: reviewer ○ Pending
# Check pipeline status
$ archon pipeline status --project my-feature
Pipeline: sdd (my-feature)
──────────────────────────
Phase 1/3: spec-writer ✓ Complete (2m 14s)
Phase 2/3: implementer ▶ Running (1m 03s)
Phase 3/3: reviewer ○ Pending
$ archon pipeline status
Active Pipelines
────────────────
sdd (my-feature) Phase 2/3 implementer Running
ux-lifecycle (redesign) Phase 5/7 ui-design RunningCheck for and apply updates to Archon.
Usage:
archon update [--check]Options:
| Option | Description |
|---|---|
--check |
Only check for updates without applying them |
Example:
# Check for updates
$ archon update --check
Current version: v1.0.0
Latest version: v1.1.0
Update available! Run `archon update` to install.
# Apply the update
$ archon update
Updating Archon v1.0.0 → v1.1.0...
✓ Downloaded v1.1.0
✓ Updated CLI
✓ Migrated config (no changes needed)
✓ Re-validated installed skills
Update complete! Run `archon doctor` to verify.Migrate legacy Archon skill files (pre-v1.0) to the current format.
Usage:
archon migrate <path> [--in-place]Options:
| Option | Description |
|---|---|
<path> |
(Required) Path to the skill or directory to migrate |
--in-place |
Overwrite original files instead of creating .migrated copies |
Example:
# Preview migration (creates .migrated copies)
$ archon migrate skills/old-skill
Migrating skills/old-skill...
✓ manifest.yaml → manifest.yaml.migrated Added 'platforms' field
✓ SKILL.md → SKILL.md.migrated Added 'When to Use' section
Migration preview complete. Review .migrated files, then run with --in-place.
# Apply migration in place
$ archon migrate skills/old-skill --in-place
Migrating skills/old-skill (in-place)...
✓ manifest.yaml Added 'platforms' field
✓ SKILL.md Added 'When to Use' section
Migration complete! Run `archon validate skills/old-skill` to verify.Administrative utilities — sync knowledge sources, rebuild indexes, and manage the registry.
Usage:
archon adminRunning archon admin opens an interactive admin menu:
$ archon admin
Archon Admin
───────────────
1. Sync knowledge sources
2. Rebuild skill index
3. Clear platform caches
4. Export installation report
5. Reset configuration
Select an option [1-5]:Tip: For non-interactive use, pipe a selection:
echo 1 | archon admin
Read or write Archon configuration values.
Usage:
archon config [key] [value] [--list]Options:
| Option | Description |
|---|---|
[key] |
Configuration key to read or set (dot-notation supported) |
[value] |
New value to assign to the key |
--list |
Show all configuration key-value pairs |
Example:
# List all config values
$ archon config --list
home = ~/.archon
platforms = claude-code, copilot-cli, cursor
default_bundle = web-dev-kit
auto_update = true
json_output = false
# Read a single value
$ archon config platforms
claude-code, copilot-cli, cursor
# Set a value
$ archon config auto_update false
✓ Set auto_update = false| Code | Meaning |
|---|---|
0 |
Success — command completed without errors |
1 |
Error — command failed (runtime error, missing dependency, etc.) |
2 |
Validation failure — one or more checks failed (used by validate and doctor) |
Use exit codes in CI/CD scripts:
archon validate || echo "Validation failed!"Archon stores configuration in ~/.archon/config.yaml:
# ~/.archon/config.yaml
home: ~/.archon
platforms:
- claude-code
- copilot-cli
- cursor
default_bundle: web-dev-kit
auto_update: true
json_output: false
log_level: infoEnvironment variables override config file values:
| Variable | Description | Default |
|---|---|---|
Archon_HOME |
Override the Archon home directory | ~/.archon |
Archon_PLATFORM |
Force a specific platform (skip auto-detection) | (auto-detected) |
Example:
# Use a custom home directory
Archon_HOME=/opt/archon archon doctor
# Force a specific platform
Archon_PLATFORM=cursor archon install --allArchon auto-detects installed AI coding assistants by checking for platform-specific files and directories:
| Platform | Detection Method |
|---|---|
| Claude Code | Checks for ~/.claude/ directory and AGENTS.md |
| Copilot CLI | Checks for ~/.copilot/ directory |
| Cursor | Checks for ~/.cursor/rules/ directory |
| Windsurf | Checks for ~/.windsurf/ or ~/.codeium/windsurf/ directory |
| Antigravity | Checks for ~/.antigravity/ directory |
- On
archon init, the CLI scans your system for each platform's indicator files. - Detected platforms are saved to
~/.archon/config.yaml. - On
archon install, skills are deployed to each detected platform using the appropriate adapter. - Each adapter knows how to transform a universal Archon skill into the platform's native format.
Use --platform to target a specific platform:
archon install --all --platform claude-codeOr set the Archon_PLATFORM environment variable:
export Archon_PLATFORM=cursor
archon install --allWhen the --json flag is passed, all commands output a structured JSON envelope:
{
"status": "ok",
"command": "doctor",
"version": "1.0.0",
"data": {
"checks_passed": 11,
"checks_failed": 0,
"checks_skipped": 2,
"platforms": ["claude-code", "copilot-cli", "cursor"]
},
"errors": []
}| Field | Type | Description |
|---|---|---|
status |
"ok" | "fail" | "error" |
Overall result |
command |
string |
The command that was executed |
version |
string |
Archon CLI version |
data |
object |
Command-specific payload |
errors |
array |
List of error messages (empty on success) |
On failure, the envelope looks like:
{
"status": "error",
"command": "install",
"version": "1.0.0",
"data": null,
"errors": ["Skill 'nonexistent-skill' not found in registry"]
}Enable tab-completion for your shell:
# Install completions (auto-detects bash, zsh, fish, PowerShell)
archon --install-completion
# Then restart your shell or source the completion file
source ~/.bashrc # bash
source ~/.zshrc # zshAfter installation, you can tab-complete commands, options, skill names, and bundle names:
$ archon ins<TAB>
install
$ archon install --sk<TAB>
--skill
$ archon install --skill react<TAB>
react-best-practicesarchon install --bundle web-dev-kit
archon doctor# Validate all skills, bundles, agents, and pipelines
archon validate
# Exit code 0 = all good, 2 = validation failurearchon doctor --json | jq '.data.checks_failed'
# 0archon search "django"
archon info django-expert
archon install --skill django-expertarchon pipeline run sdd --project new-feature
archon pipeline status --project new-featurearchon update --check
archon update
archon doctor- Getting Started — First-time setup and installation guide
- Creating Skills — Author your own custom skills
- Creating Bundles — Package skills into installable domain kits
- Creating Agents — Define formal agent definitions
- Creating Pipelines — Build multi-agent workflows
- Platform Guide — Platform-specific setup and configuration
- Architecture — How the complexity router and knowledge system work
- FAQ — Common questions and troubleshooting