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 content queue

Manage the scheduled post queue

Inspect and control the persistent scheduled-post queue stored at ~/.agentkit/content/queue.json. Posts are added to the queue via ak content publish --at <RFC3339>.

Who it's for: Both: power devs scripting content pipelines (--json) and non-technical users reviewing scheduled posts.

When to use it: After scheduling posts with ak content publish --at, use these subcommands to list pending posts, cancel them before they fire, or manually trigger due posts.

What changes on disk: Reads ~/.agentkit/content/queue.json. Mutations (cancel, run-pending) write atomically.

Examples

ak content queue list
ak content queue list --json
ak content queue cancel <id>
ak content queue run-pending

Flags

FlagDescription
-h, --helphelp for queue
--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)
1I/O error reading or writing queue
2invalid flags or arguments

On this page