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 list-kits

List available content kits

Walk the kits directory, load each kit.yaml, and print a summary table of name, version, extends, and per-category export counts.

Who it's for: Power devs scripting kit selection; users browsing what is available.

When to use it: Run before ak kit init or ak kit validate to confirm the target kit exists.

What changes on disk: Read-only.

Usage

ak kit list-kits [flags]

Examples

ak kit list-kits                       # default: ./kits
ak kit list-kits --kits-dir /path      # custom directory
ak kit list-kits --json | jq .kits     # scripted consumption

Flags

FlagDescription
-h, --helphelp for list-kits
--jsonEmit machine-readable JSON (implies --no-interactive)
--kits-dir stringKits directory override (default: embedded kits; overrides: --kits-dir or $AGENTKIT_KITS_DIR)
--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)
5kits directory not found
  • ak kit — Kit management commands

On this page