CLI commands
ak watch status
Show current watch state (all repos, or a specific one)
ak watch status
Show current watch state (all repos, or a specific one)
Synopsis
What it does: Report each watched repository: whether its watcher is active, when it last polled, how many issues it has responded to, and the rate-limit budget. Pass owner/repo to scope to one.
Who it's for: Both: scripts checking whether a watcher is alive (--json) and users auditing background watchers.
When to use it:
After ak watch start --daemon to confirm a watcher is running, or to inspect responded counts.
Examples: ak watch status ak watch status owner/repo ak watch status --json
What changes on disk: Read-only. Reads ~/.agentkit/watch/<repo-slug>/state.json (AGENTKIT_HOME overrides the base dir). Unreadable or corrupt state files are skipped in the all-repos listing.
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)
ak watch status [owner/repo] [flags]Options
-h, --help help for status
--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 promptsSEE ALSO
- ak watch - Watch a GitHub repository and auto-respond to issues