AgentKit
ReferenceCLI commands
BetaYou are reading docs for the beta channel (2.4.1-beta.1) — updated automatically on every beta release.Switch to stable →

CLI commands

ak kit

Kit management commands

ak kit groups the commands for working with AgentKit content kits — discovery, validation, installing and building, install-path lookup, and cleanup.

When to use it: Use it as the entry point whenever you work with kits directly: list bundled or overridden kits with ak kit list-kits, schema-check local kit.yaml files with ak kit validate, install or build a kit, resolve where a kit installs with ak kit install-path, or remove one with ak kit uninstall. This group level is read-only; the individual subcommands document their own on-disk effects.

Examples

ak kit list-kits                                      # show bundled or overridden kits
ak kit validate kits/                                 # schema-check local kit.yaml files
ak kit init engineer --remote --target claude-code --switch-to-plugin # authenticated project plugin
ak kit init engineer --remote --target codex                # authenticated Codex install
ak kit init engineer --kits-dir ./kits --target codex       # explicit local development source
ak kit init engineer --remote --switch-to-plugin --yes --json --no-interactive # scripted project install
ak kit refresh engineer --remote --yes                      # refresh a paid registry kit
ak kit install-path engineer --json                   # resolve install destination
ak kit uninstall engineer --dry-run                   # preview safe uninstall

Flags

FlagDescription
-h, --helphelp for kit
--jsonEmit machine-readable JSON (implies --no-interactive)
--no-interactiveDisable interactive prompts (CI-safe)
-q, --quietSuppress non-error output on stderr
-V, --verboseExtra diagnostic output on stderr (loses to --quiet)
-y, --yesAssume yes for all prompts

Output modes

ModeBehavior
prettydefault on TTY (colors, ASCII markers)
plainauto when stdout piped or --no-interactive
json--json (single-object envelope, NDJSON-safe)

Exit codes

CodeMeaning
0success
1runtime error
2invalid flags
3user-cancel (SIGINT, prompt-cancel)

On this page