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 watch stop
Stop a running watch daemon for the given repository
Mark a repository watch as inactive by updating the state file. The next daemon poll cycle detects the inactive flag and stops automatically. Safe to call even when no daemon is running - exits 0 with an informational message.
Who it's for: Both: power devs deactivating automated triage workflows and non-technical users.
When to use it: When you want to stop a watch daemon started with ak watch start --daemon, or deactivate a repository from automated triage.
What changes on disk: Writes active=false to ~/.agentkit/watch/<repo-slug>/state.json.
Usage
ak watch stop <owner/repo> [flags]Examples
ak watch stop owner/repo # stop watching a repository
ak watch stop owner/repo --json # emit confirmation as JSONFlags
| Flag | Description |
|---|---|
-h, --help | help for stop |
--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 |
Output modes
| Mode | Behavior |
|---|---|
pretty | default on TTY (colors, ASCII markers) |
plain | auto when stdout piped or --no-interactive |
json | --json (single-object envelope, NDJSON-safe) |
Exit codes
| Code | Meaning |
|---|---|
0 | success |
1 | runtime error |
2 | invalid flags |
3 | user-cancel (SIGINT, prompt-cancel) |
Related commands
ak watch— Watch a GitHub repository and auto-respond to issues