aidokitv1.0 rc

CLI reference

Every command, flag, environment variable, and configuration file aidokit exposes.

Synopsis

shell
aidokit <command> [<subcommand>] [<args>] [--flag] [--flag=value]

Global flags

Work with every command.

FlagShortDefaultDescription
--help-hfalsePrint help and exit 0.
--version-vfalsePrint CLI version and exit 0.
--yes-yfalseAccept prompts with defaults. Does NOT bypass security-sensitive prompts or prereq installs.
--no-promptsfalseDisable interactive prompts; fail if input is required.
--dry-runfalseShow what would happen; no writes, no shell.
--jsonfalseEmit a single JSON object on stdout. Implies --no-color and --no-prompts.
--verbosefalsePrint detailed step-by-step output.
--quiet-qfalseSuppress non-error output.
--no-colorfalseDisable ANSI colour.
--cwd <path>pwdRun as if invoked from <path>.
--config <path>autoUse specified config file.
--skip-prereq-checkfalseBypass prereq detection. Use when you know your environment is set up.

--verbose and --quiet are mutually exclusive (exit 2).


aidokit init

synopsis
aidokit init [--adapter <name>] [--conformance <level>] [--brownfield]
          [--stack <ids>] [--no-beads] [--no-mcp]
          [--source-docs <path>] [--dry-run] [--yes]

Bootstrap a project with the AI Dev Orchestrator workflow.

FlagDefaultDescription
--adapter <name>promptOne of claude-code, codex, copilot, or a comma-separated list for multi-adapter.
--conformance <level>standardminimum, standard, or strict.
--brownfieldfalseScan for existing PRD/BRD/code; offer to ingest.
--stack <id1,id2,…>auto-detectForce specific stack packs.
--no-beadsfalseSkip Beads initialisation.
--no-mcpfalseSkip MCP installation.
--source-docs <path>promptBrownfield only: where existing source docs live.

Exit codes: 0, 1, 2, 10, 11, 12, 13, 20, 21, 40.


aidokit doctor

synopsis
aidokit doctor [--fix-hints] [--strict]

Read-only health check. Verifies prereqs, adapter installation, file presence, MCP scoping, conformance snapshot. Never writes.

FlagDefaultDescription
--fix-hintstrueInclude suggested fixes in output.
--strictfalseTreat warnings as failures (exit 1 on any warning).

Exit codes: 0 (all pass), 1 (any check failed), 13 (conformance fail).


aidokit sync

synopsis
aidokit sync [--scripts] [--skills] [--agents] [--dry-run] [--yes]

Re-emit adapter-owned files from the current adapter package. Shows a diff before writing; never overwrites user-owned files without confirmation.

FlagEffect
--scriptsSync only hook scripts.
--skillsSync only skills.
--agentsSync only role files.

aidokit validate

synopsis
aidokit validate <artifact-path> [--schema <name>]

Validate an artifact (task brief, change summary, test report, …) against its JSON schema from @aidokit/core.

--schema values: task-brief, change-summary, test-report, maintenance-report, blocker, digest-report, delta-spec.


aidokit migrate

synopsis
aidokit migrate <from>-to-<to> [--backup-dir <path>] [--review]

Run a registered migration script. Backs up affected files before changes. Currently shipped: v3-to-v4.


aidokit mcp

SubcommandDescription
aidokit mcp list [--scoped-to <role>]List installed MCPs with role scoping.
aidokit mcp add <id> [--roles <list>] [--custom-url <url>]Install an MCP from the catalog or via custom URL.
aidokit mcp remove <id>Uninstall an MCP and strip role frontmatter.
aidokit mcp scope <id> --add-role <name> / --remove-role <name> / --set-roles <list>Change which roles see an installed MCP.
aidokit mcp suggestRe-run trigger eval; print MCPs that would be suggested but aren't installed.

See MCP catalog for entries and trigger grammar.


aidokit skills

SubcommandDescription
aidokit skills list [--source <core|stack-pack|personal>]List skills in the project's engine directory.
aidokit skills add <id> [--from <source>]Add a skill from the core base set or a stack pack.
aidokit skills personal initCreate $AIDO_HOME/personal-skills/.
aidokit skills personal add <name>Scaffold a new personal skill.
aidokit skills personal listList personal skills.

aidokit new

SubcommandDescription
aidokit new task <slug> [--phase <n>] [--scope <files>]Create a task brief. With Beads enabled, runs bd create.
aidokit new adr <slug>Create the next-numbered ADR.
aidokit new skill <name> [--triggers <globs>] [--roles <roles>]Scaffold a skill file.
aidokit new capability <slug>Create docs/specs/<slug>/spec.md + spec-summary.md.

aidokit manifest

synopsis
aidokit manifest [--json]

Print the project's .aido/adapter.md manifest.


aidokit add adapter (v1.0)

synopsis
aidokit add adapter <name> [--conformance <level>]

Add a second adapter to an existing project. Shared docs/ and agent-artifacts/ are preserved.

aidokit remove adapter (v1.0)

synopsis
aidokit remove adapter <name> [--keep-shared]

Remove an adapter. Shared docs preserved by default.


SubcommandDescription
aidokit search adapter [<query>] [--verified-only]npm-native discovery of adapter packages.
aidokit search stack-pack [<query>] [--verified-only]npm-native discovery of stack-pack packages.

aidokit list

SubcommandDescription
aidokit list adaptersList adapter packages installed locally.
aidokit list stack-packsList stack-pack packages installed locally.

Environment variables

VariablePurpose
AIDO_HOMEOverride default location of personal config (default ~/.aido/).
AIDO_LOG_LEVELerror / warn / info / debug / trace.
AIDO_NO_UPDATE_CHECKIf set to 1, skip checking for newer aidokit versions.
AIDO_OFFLINEIf 1, refuse any network operation.
NO_COLORStandard convention; disables colour.
CIDefaults change in CI envs: --no-prompts implied, --yes honoured.
DEBUGStandard debug namespace (aidokit:*).

Configuration files

PathOwnerPurpose
<project>/.aido/adapter.mdCLIRecords adapter, version, conformance, spec version.
<project>/.aido/state.jsonCLISelected MCPs, sync history, audit log.
<project>/.aido-staging/CLITransient staging directory; auto-cleaned on success.
~/.aido/config.jsonUserPreferences (default adapter, etc.).
~/.aido/personal-skills/UserCross-project skills.

--json output shape

Success:

json
{
  "ok": true,
  "command": "init",
  "result": {
    "adapter": "claude-code",
    "conformance": "standard",
    "filesWritten": 47,
    "mcpsInstalled": 3,
    "nextSteps": ["claude", "/intake \"describe your project\""]
  }
}

Error:

json
{
  "ok": false,
  "command": "init",
  "error": {
    "code": "PREREQ_MISSING",
    "exitCode": 10,
    "message": "Prerequisite missing: Claude Code",
    "details": { "prereq": "claude-code", "minVersion": "2.1.32" },
    "hint": "Install Claude Code via: curl -fsSL claude.ai/install.sh | bash"
  }
}

See Exit codes for the full code ↔ exit-code map.