JSON output#
Every command speaks JSON, with stable exit codes an agent can branch on. Prefer a native tool call? The MCP serverexposes the same surface to Claude Code, Cursor & Codex.
# --json on every command → one JSON object to stdout
myskool posts list --group $GID --sort best-1w --json | jq '.data[].title'
# stable exit codes: 0 ok · 2 auth · 3 rate-limited · 4 upstream · 5 shape-changed
Exit codes#
| Code | Meaning |
|---|---|
0 | ok |
2 | auth |
3 | rate-limited |
4 | upstream |
5 | shape-changed |