MySkoolDocs
Esc

Agents & tools

CLI

The myskool CLI speaks JSON, with stable exit codes an agent can branch on.

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.

shell
# --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#

CodeMeaning
0ok
2auth
3rate-limited
4upstream
5shape-changed

MySkool is not affiliated with Skool. Skool™ is a trademark of Skool, Inc.