CLI commands
ak content queue
Manage the scheduled post queue
ak content queue
Manage the scheduled post queue
Synopsis
What it does:
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.
Examples: ak content queue list ak content queue list --json ak content queue cancel <id> ak content queue run-pending
What changes on disk: Reads ~/.agentkit/content/queue.json. Mutations (cancel, run-pending) write atomically.
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 I/O error reading or writing queue 2 invalid flags or arguments
Options
-h, --help help for queue
--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 content - Publish content to channels
- ak content queue cancel - Cancel (remove) a scheduled post by ID
- ak content queue list - List all pending scheduled posts
- ak content queue run-pending - Fire all scheduled posts whose time has arrived