The OIP cookbook — the exact curl for everything
What this article is
Every common operation on the build as one copy-paste command. No guessing, no asking a model what to type. Commands marked OWNER need the terminal key header. Commands marked TOKEN need a capability link. Everything else is public.
Step zero — get a token (OWNER, do this once)
curl -H 'x-terminal-key: <KEY>' 'https://miscsubjects.com/api/dispatch?mint_share=1&scope=act'The response contains share_token. Everywhere below, <TOKEN> means that value. For a safer handout, mint a one-object token instead: &scope=row&key=NOW&ttl=600&uses=3.
Read (public — no credentials)
# what is this whole thing
curl 'https://miscsubjects.com/api/dispatch?orient=1&format=markdown'
# the full capability tree
curl 'https://miscsubjects.com/api/dispatch?map=1&format=markdown'
# one object's contract
curl 'https://miscsubjects.com/api/dispatch?key=SEND_BY_CHANNEL&format=markdown'
# find the right object from plain words
curl 'https://miscsubjects.com/api/dispatch?ask=text+cyrus+hello'
# prove it is a protocol
curl 'https://miscsubjects.com/api/dispatch?conformance=1&format=markdown'
# the design objections, pre-answered
curl 'https://miscsubjects.com/api/dispatch?why=1&format=markdown'Act (TOKEN)
# no-op heartbeat — proves your token works
curl 'https://miscsubjects.com/api/dispatch?ping=1&share=<TOKEN>'
# text Cyrus
curl 'https://miscsubjects.com/api/dispatch?invoke=SEND_BY_CHANNEL&body=blooio|%2B14155480666|Hello&share=<TOKEN>'
# generate an image
curl 'https://miscsubjects.com/api/dispatch?invoke=GROK_IMAGE&body=a+red+fox&share=<TOKEN>'
# run a shell command on the Mac
curl 'https://miscsubjects.com/api/dispatch?invoke=LOCAL_EXEC&body=uptime&share=<TOKEN>'Verify (TOKEN)
# full forensic receipt for any invocation
curl 'https://miscsubjects.com/api/dispatch?receipt=inv_ID&share=<TOKEN>'
# public one-line confirmation (no token needed)
curl 'https://miscsubjects.com/api/dispatch?confirm=inv_ID'Replay and repair (OWNER or act token)
# re-run a recorded invocation
curl -X POST https://miscsubjects.com/api/dispatch -H 'x-terminal-key: <KEY>' -d '{"replay":"inv_ID"}'
# run a corrected call linked to the failure it fixes
curl -X POST https://miscsubjects.com/api/dispatch -H 'x-terminal-key: <KEY>' -d '{"key":"NOW","body":"","repairs":"inv_FAILED"}'The article system (OWNER)
# list articles
curl 'https://miscsubjects.com/api/articles?slim=1&limit=40'
# read one article's machine bundle
curl 'https://miscsubjects.com/api/articles/oip/bundle?format=markdown'
# seed the clarity-review cycle across all OIP articles
curl -X POST https://miscsubjects.com/api/protocol/oip-seed -H 'x-terminal-key: <KEY>' -d '{}'
# run one loop tick by hand (cron does this every minute)
curl -X POST 'https://miscsubjects.com/api/protocol/run?role=oip-review' -H 'x-terminal-key: <KEY>'
# have a model write a missing article
curl -X POST https://miscsubjects.com/api/protocol/oip-write -H 'x-terminal-key: <KEY>' -d '{"slug":"oip-example","title":"Example"}'
# have a model revise a failing article
curl -X POST https://miscsubjects.com/api/protocol/oip-revise -H 'x-terminal-key: <KEY>' -d '{"slug":"oip-example"}'Token management (OWNER)
# explain any token — what it can do, uses left, expiry
curl 'https://miscsubjects.com/api/dispatch?explain=1&share=<TOKEN>'
# revoke a capability instantly
curl -H 'x-terminal-key: <KEY>' 'https://miscsubjects.com/api/dispatch?revoke=cap_FINGERPRINT'Latest clarity reviews (live)
Fresh models are sent this article's bundle and asked two separate questions: how clear is the machine JSON, and how clear is the English body. Scores are 0 to 10. The full history is in the append-only ledger.
- 2026-07-03 02:18 · model
gemini/gemini-2.5-flash· NEEDS WORK · JSON 9/10 · English 9/10 · zero-context human 7/10 - 2026-07-03 02:17 · model
@cf/meta/llama-3.3-70b-instruct-fp8-fast· NEEDS WORK · JSON 9/10 · English 8/10 · zero-context human 7/10
- gaps named: MCP comparison; OIP vs MCP; Detailed explanation of Tap & Go
How the loop self-corrects: a failing review queues a model revision of this article (a new append-only version). A missing concept named by a reviewer queues a brand-new machine-written article, which then enters the same review cycle.