{
  "protocol": "OIP",
  "version": "1.2.0",
  "kind": "ask",
  "question": "what time is it",
  "count": 12,
  "best": {
    "key": "NOW",
    "run_now": "https://miscsubjects.com/api/dispatch?invoke=NOW&share=<TOKEN>",
    "do": "Open run_now to do it. Substitute your own text/args where the example has them."
  },
  "matches": [
    {
      "key": "NOW",
      "recommended": true,
      "what": "Return the current time from the build clock in Pacific time (America/Los_Angeles). WHEN_TO_USE: any object or model that needs the current date or time. ARGS: none EX: [NOW][/NOW] OUTPUT: { now, today, time, zone, iso } — Pacific-offset ISO; today is the Pacific calendar date.",
      "when_to_use": "any object or model that needs the current date or time.",
      "category": "time",
      "runner": "fn",
      "example": "[NOW][/NOW]",
      "example_args": "",
      "example_source": "curated",
      "run_now": "https://miscsubjects.com/api/dispatch?invoke=NOW&share=<TOKEN>",
      "invoke": {
        "post": "https://miscsubjects.com/api/dispatch",
        "body": {
          "key": "NOW",
          "body": ""
        },
        "router": "[NOW]args[/NOW]"
      },
      "self": "https://miscsubjects.com/api/dispatch?key=NOW"
    },
    {
      "key": "GITHUB_LIST_ISSUES",
      "what": "List GitHub issues in [custodian]/miscsubjects-pages through the GitHub API.",
      "when_to_use": "list/show open GitHub issues, audit the issue backlog, inspect Grok-created issues.",
      "category": "github",
      "runner": "edge",
      "example": "[GITHUB_LIST_ISSUES]open||30[/GITHUB_LIST_ISSUES]",
      "example_args": "open||30",
      "example_source": "curated",
      "run_now": "https://miscsubjects.com/api/dispatch?invoke=GITHUB_LIST_ISSUES&body=open%7C%7C30&share=<TOKEN>",
      "invoke": {
        "post": "https://miscsubjects.com/api/dispatch",
        "body": {
          "key": "GITHUB_LIST_ISSUES",
          "body": "open||30"
        },
        "router": "[GITHUB_LIST_ISSUES]args[/GITHUB_LIST_ISSUES]"
      },
      "self": "https://miscsubjects.com/api/dispatch?key=GITHUB_LIST_ISSUES"
    },
    {
      "key": "GITHUB_GET_ISSUE",
      "what": "Read one GitHub issue by number from [custodian]/miscsubjects-pages.",
      "when_to_use": "inspect an issue body, labels, title, state, and URL before acting.",
      "category": "github",
      "runner": "edge",
      "example": "[GITHUB_GET_ISSUE]38[/GITHUB_GET_ISSUE]",
      "example_args": "38",
      "example_source": "curated",
      "run_now": "https://miscsubjects.com/api/dispatch?invoke=GITHUB_GET_ISSUE&body=38&share=<TOKEN>",
      "invoke": {
        "post": "https://miscsubjects.com/api/dispatch",
        "body": {
          "key": "GITHUB_GET_ISSUE",
          "body": "38"
        },
        "router": "[GITHUB_GET_ISSUE]args[/GITHUB_GET_ISSUE]"
      },
      "self": "https://miscsubjects.com/api/dispatch?key=GITHUB_GET_ISSUE"
    },
    {
      "key": "GITHUB_ADD_ISSUE_COMMENT",
      "what": "Post a comment to a GitHub issue through the GitHub API. This is the canonical URL-only comment path.",
      "when_to_use": "comment on GitHub, reply to an issue, post proof/receipt on an issue.",
      "category": "github",
      "runner": "edge",
      "example": "[GITHUB_ADD_ISSUE_COMMENT]38|Proof: native GitHub OIP comment path works.[/GITHUB_ADD_ISSUE_COMMENT]",
      "example_args": "38|Proof: native GitHub OIP comment path works.",
      "example_source": "curated",
      "run_now": "https://miscsubjects.com/api/dispatch?invoke=GITHUB_ADD_ISSUE_COMMENT&body=38%7CProof%3A%20native%20GitHub%20OIP%20comment%20path%20works.&share=<TOKEN>",
      "invoke": {
        "post": "https://miscsubjects.com/api/dispatch",
        "body": {
          "key": "GITHUB_ADD_ISSUE_COMMENT",
          "body": "38|Proof: native GitHub OIP comment path works."
        },
        "router": "[GITHUB_ADD_ISSUE_COMMENT]args[/GITHUB_ADD_ISSUE_COMMENT]"
      },
      "self": "https://miscsubjects.com/api/dispatch?key=GITHUB_ADD_ISSUE_COMMENT"
    },
    {
      "key": "GITHUB_CREATE_ISSUE",
      "what": "Create a GitHub issue through the GitHub API.",
      "when_to_use": "file a build work item, proposal, bug, or proof ticket from OIP.",
      "category": "github",
      "runner": "edge",
      "example": "[GITHUB_CREATE_ISSUE]OIP proof ticket|Created by the protocol.|proposal[/GITHUB_CREATE_ISSUE]",
      "example_args": "OIP proof ticket|Created by the protocol.|proposal",
      "example_source": "curated",
      "run_now": "https://miscsubjects.com/api/dispatch?invoke=GITHUB_CREATE_ISSUE&body=OIP%20proof%20ticket%7CCreated%20by%20the%20protocol.%7Cproposal&share=<TOKEN>",
      "invoke": {
        "post": "https://miscsubjects.com/api/dispatch",
        "body": {
          "key": "GITHUB_CREATE_ISSUE",
          "body": "OIP proof ticket|Created by the protocol.|proposal"
        },
        "router": "[GITHUB_CREATE_ISSUE]args[/GITHUB_CREATE_ISSUE]"
      },
      "self": "https://miscsubjects.com/api/dispatch?key=GITHUB_CREATE_ISSUE"
    },
    {
      "key": "GITHUB_CLOSE_ISSUE",
      "what": "Close a GitHub issue and add a closing comment.",
      "when_to_use": "finish/resolve/close a GitHub issue from the build.",
      "category": "github",
      "runner": "fn",
      "example": "[GITHUB_CLOSE_ISSUE]42|Fixed in commit abc123[/GITHUB_CLOSE_ISSUE]",
      "example_args": "42|Fixed in commit abc123",
      "example_source": "curated",
      "run_now": "https://miscsubjects.com/api/dispatch?invoke=GITHUB_CLOSE_ISSUE&body=42%7CFixed%20in%20commit%20abc123&share=<TOKEN>",
      "invoke": {
        "post": "https://miscsubjects.com/api/dispatch",
        "body": {
          "key": "GITHUB_CLOSE_ISSUE",
          "body": "42|Fixed in commit abc123"
        },
        "router": "[GITHUB_CLOSE_ISSUE]args[/GITHUB_CLOSE_ISSUE]"
      },
      "self": "https://miscsubjects.com/api/dispatch?key=GITHUB_CLOSE_ISSUE"
    },
    {
      "key": "LOCAL_EDIT",
      "what": "Exact-string replace in a file (python str.replace, all occurrences). Prints count.",
      "when_to_use": "\"edit X in <file>\", \"replace X with Y in <file>\", \"change <pattern> to <pattern> in\"",
      "category": null,
      "runner": "mac",
      "example": "[LOCAL_EDIT]<path>|<old>|<new>[/LOCAL_EDIT]",
      "example_args": "<path>|<old>|<new>",
      "example_source": "derived",
      "run_now": "https://miscsubjects.com/api/dispatch?invoke=LOCAL_EDIT&body=%3Cpath%3E%7C%3Cold%3E%7C%3Cnew%3E&share=<TOKEN>",
      "invoke": {
        "post": "https://miscsubjects.com/api/dispatch",
        "body": {
          "key": "LOCAL_EDIT",
          "body": "<path>|<old>|<new>"
        },
        "router": "[LOCAL_EDIT]args[/LOCAL_EDIT]"
      },
      "self": "https://miscsubjects.com/api/dispatch?key=LOCAL_EDIT"
    },
    {
      "key": "LOCAL_WRITE",
      "what": "Overwrite a file on the Mac. Echoes the content back.",
      "when_to_use": "\"write this to <file>\", \"create <file> with\", \"drop this in <file>\"",
      "category": null,
      "runner": "mac",
      "example": "[LOCAL_WRITE]<path>|<content>[/LOCAL_WRITE]",
      "example_args": "<path>|<content>",
      "example_source": "derived",
      "run_now": "https://miscsubjects.com/api/dispatch?invoke=LOCAL_WRITE&body=%3Cpath%3E%7C%3Ccontent%3E&share=<TOKEN>",
      "invoke": {
        "post": "https://miscsubjects.com/api/dispatch",
        "body": {
          "key": "LOCAL_WRITE",
          "body": "<path>|<content>"
        },
        "router": "[LOCAL_WRITE]args[/LOCAL_WRITE]"
      },
      "self": "https://miscsubjects.com/api/dispatch?key=LOCAL_WRITE"
    },
    {
      "key": "CLI_GIT",
      "what": "run git. ARGS: $1 = args after `git`. cwd = $2 (default /Users/[custodian]/miscsubjects-pages).",
      "when_to_use": null,
      "category": "cli",
      "runner": "http",
      "example": "[CLI_GIT]<arg1>|<arg2>[/CLI_GIT]",
      "example_args": "<arg1>|<arg2>",
      "example_source": "derived",
      "run_now": "https://miscsubjects.com/api/dispatch?invoke=CLI_GIT&body=%3Carg1%3E%7C%3Carg2%3E&share=<TOKEN>",
      "invoke": {
        "post": "https://miscsubjects.com/api/dispatch",
        "body": {
          "key": "CLI_GIT",
          "body": "<arg1>|<arg2>"
        },
        "router": "[CLI_GIT]args[/CLI_GIT]"
      },
      "self": "https://miscsubjects.com/api/dispatch?key=CLI_GIT"
    },
    {
      "key": "WRITER_AGENT",
      "what": null,
      "when_to_use": null,
      "category": null,
      "runner": "model",
      "example": "[WRITER_AGENT]<your request in plain words>[/WRITER_AGENT]",
      "example_args": "<your request in plain words>",
      "example_source": "derived",
      "run_now": "https://miscsubjects.com/api/dispatch?invoke=WRITER_AGENT&body=%3Cyour%20request%20in%20plain%20words%3E&share=<TOKEN>",
      "invoke": {
        "post": "https://miscsubjects.com/api/dispatch",
        "body": {
          "key": "WRITER_AGENT",
          "body": "<your request in plain words>"
        },
        "router": "[WRITER_AGENT]args[/WRITER_AGENT]"
      },
      "self": "https://miscsubjects.com/api/dispatch?key=WRITER_AGENT"
    },
    {
      "key": "BLOOIO_LIST_CONTACT_IDENTITIES",
      "what": "List a contact's identities (the phone numbers / emails attached to it). MCP: https://mcp.blooio.com/v4",
      "when_to_use": null,
      "category": "blooio",
      "runner": "fn",
      "example": "[BLOOIO_LIST_CONTACT_IDENTITIES]<arg1>[/BLOOIO_LIST_CONTACT_IDENTITIES]",
      "example_args": "<arg1>",
      "example_source": "derived",
      "run_now": "https://miscsubjects.com/api/dispatch?invoke=BLOOIO_LIST_CONTACT_IDENTITIES&body=%3Carg1%3E&share=<TOKEN>",
      "invoke": {
        "post": "https://miscsubjects.com/api/dispatch",
        "body": {
          "key": "BLOOIO_LIST_CONTACT_IDENTITIES",
          "body": "<arg1>"
        },
        "router": "[BLOOIO_LIST_CONTACT_IDENTITIES]args[/BLOOIO_LIST_CONTACT_IDENTITIES]"
      },
      "self": "https://miscsubjects.com/api/dispatch?key=BLOOIO_LIST_CONTACT_IDENTITIES"
    },
    {
      "key": "STRIPE_INVOICE_ITEMS_LIST",
      "what": null,
      "when_to_use": null,
      "category": null,
      "runner": "http",
      "example": "[STRIPE_INVOICE_ITEMS_LIST]<arg1>|<arg2>[/STRIPE_INVOICE_ITEMS_LIST]",
      "example_args": "<arg1>|<arg2>",
      "example_source": "derived",
      "run_now": "https://miscsubjects.com/api/dispatch?invoke=STRIPE_INVOICE_ITEMS_LIST&body=%3Carg1%3E%7C%3Carg2%3E&share=<TOKEN>",
      "invoke": {
        "post": "https://miscsubjects.com/api/dispatch",
        "body": {
          "key": "STRIPE_INVOICE_ITEMS_LIST",
          "body": "<arg1>|<arg2>"
        },
        "router": "[STRIPE_INVOICE_ITEMS_LIST]args[/STRIPE_INVOICE_ITEMS_LIST]"
      },
      "self": "https://miscsubjects.com/api/dispatch?key=STRIPE_INVOICE_ITEMS_LIST"
    }
  ],
  "compose": "Multiple targets (e.g. text 3 people)? Repeat the call once PER target — one invoke each, one receipt each. Don't cram a list into one call unless the row's args say it takes one. Multi-step (make an image THEN text it)? Do the steps in order, feeding each result into the next.",
  "json_and_post_free": "Needs a JSON body or looks 'POST-only'? You don't need POST. url-encode the JSON into &body= (?invoke=KEY&body=<encoded JSON>), or use the row's pipe args (a|b|c). Every write is a GET row — edit a prompt: DIR_PATCH body=KEY|{\"content\":\"...\"}; write/revise an article: PROTOCOL_WRITE body=<encoded JSON>; ingest: ARTICLE_INGEST body=slug|text.",
  "reply_contract": "OUTPUT RULE — after you invoke ANYTHING, your reply to the user IS the proof, never \"sent it\": for each action paste one line — \"✓ <what you did> — receipt: <the confirm/receipt URL from that invoke's proof.say_to_user>\" (or \"✗ <what> FAILED: <reason>\" when the response has ran:false / can_act:false / ok:false). N actions → N lines, N receipts. Never claim an action you have no receipt for; never fabricate a URL, count, or outcome.",
  "note": "Best match first. Each row's run_now is a URL that fires it with real example args — open it, swapping in your own values. No guessing: the example IS the shape. Then reply per reply_contract.",
  "registry": "https://miscsubjects.com/api/dispatch?registry=1"
}