AgentKit
ReferenceCLI commands

CLI commands

ak plan parse

Parse and display a structured plan view

ak plan parse

Parse and display a structured plan view

Synopsis

What it does: Parse a plan directory and print a structured summary of all phases, task counts, and progress. Use --json for machine-readable output.

Who it's for: Both: power devs (--json) and non-tech users (plain view).

When to use it: Inspecting plan structure, dumping a parsed view for tooling, or feeding into a script via --json.

Examples: ak plan parse ./plans/my-plan ak plan parse ./plans/my-plan --json

What changes on disk: Read-only.

Output modes: pretty default on TTY (colors, ASCII markers) plain auto when stdout piped or --no-interactive json --json (single-object envelope, NDJSON-safe)

Exit codes: 0 success 1 runtime error 2 invalid flags 3 user-cancel (SIGINT, prompt-cancel) 1 plan directory not found or invalid format

ak plan parse <path> [flags]

Options

  -h, --help             help for parse
      --json             Emit machine-readable JSON (implies --no-interactive)
      --no-interactive   Disable interactive prompts (CI-safe)
  -q, --quiet            Suppress non-error output on stderr
  -V, --verbose          Extra diagnostic output on stderr (loses to --quiet)
  -y, --yes              Assume yes for all prompts

SEE ALSO

  • ak plan - Manage AgentKit plan directories

On this page