{
  "schemaVersion": 1,
  "manifest": {
    "schemaVersion": 1,
    "product": {
      "id": "oh-router",
      "name": "OH Router",
      "url": "https://ohrouter.com",
      "description": "Headless Rust session router, terminal safety guard, and board worker for Claude Code and Codex.",
      "agentGuideUrl": "https://ohrouter.com/docs/quickstart"
    },
    "runtime": {
      "command": "oh-router",
      "version": "0.1.0",
      "install": {
        "type": "script",
        "url": "https://ohrouter.com/install.sh",
        "brew": "hraness/tap/oh-router"
      },
      "platforms": [
        "aarch64-apple-darwin",
        "x86_64-unknown-linux-gnu",
        "aarch64-unknown-linux-musl"
      ]
    },
    "license": "MIT"
  },
  "files": {
    "skills/oh-router/SKILL.md": "---\nname: oh-router\ndescription: Supervise Claude Code and Codex sessions, guard against terminal spending prompts, coordinate @vercel/board tasks, and pair machines over Cloudflare Tunnel with oh-router.\nmetadata:\n  version: \"1\"\n---\n\n# Supervise coding sessions with `oh-router`\n\nUse the local `oh-router` CLI to start, inspect, steer, and switch Claude Code\nand Codex sessions through the `ohd` background daemon and per-session\n`oh-holder` PTY processes. Pass `--json` on any command when parsing structured\noutput.\n\nIf `oh-router` is not installed, point to the\n[quickstart guide](https://ohrouter.com/docs/quickstart) or install via\n`brew install hraness/tap/oh-router` or\n`curl -fsSL https://ohrouter.com/install.sh | sh`.\n\n## Start the daemon and check active sessions\n\n1. Ensure the local `ohd` supervisor is running and inspect active sessions:\n\n   ```sh\n   oh-router daemon start --json\n   oh-router ps --json\n   ```\n\n   `ohd` listens on `~/.local/state/oh/ohd/ohd.sock` (mode `0600`). Each\n   terminal session runs inside a detached `oh-holder` process so active PTYs\n   survive daemon restarts.\n\n2. Optionally configure Claude Code lifecycle hooks and the statusLine bridge:\n\n   ```sh\n   oh-router daemon setup-hooks\n   oh-router daemon setup-hooks --write\n   ```\n\n## Spawn, inspect, steer, and switch sessions\n\n`oh-router` routes across four model tiers and four reasoning effort levels\n(`low`, `medium`, `high`, `max`):\n\n- `opus` (`claude-opus-5-5`, standard class, Claude Code)\n- `sol` (`gpt-6.1-sol`, standard class, Codex)\n- `fable` (`claude-fable-5-2`, frontier class, Claude Code)\n- `astra` (`gpt-6-astra`, frontier class, Codex)\n\n1. Spawn a general session, a frontier session, or an explicit provider tier:\n\n   ```sh\n   oh-router spawn --cwd ~/src/my-app \"Implement incremental cache invalidation\"\n   oh-router claude --tier opus --effort high \"Audit error handling\"\n   oh-router codex --tier astra --effort max --headless \"Review open diff\"\n   ```\n\n2. Inspect session state, recent turns, and visible VT screen lines before\n   sending input:\n\n   ```sh\n   oh-router inspect term_01a2b3c4d5e6 --json\n   ```\n\n3. Steer a session or queue follow-up prompts through the 2D VT screen guard:\n\n   ```sh\n   oh-router steer term_01a2b3c4d5e6 \"Run cargo clippy and fix warnings\"\n   oh-router steer term_01a2b3c4d5e6 --mode queue \"Summarize test coverage next\"\n   oh-router queue list term_01a2b3c4d5e6\n   ```\n\n   Every write passes through `oh-vt`. If a usage-limit or paid-credit dialog\n   appears (`screen_state: \"limit_dialog\"`), `oh-router` refuses raw PTY writes\n   (`limit_dialog_blocked`) and rejects stale `screen_epoch` writes so automated\n   steering never confirms unintended spending prompts.\n\n4. Resolve interactive prompts or carry work forward across providers, models,\n   and machines:\n\n   ```sh\n   oh-router action term_01a2b3c4d5e6 approve\n   oh-router action term_01a2b3c4d5e6 deny\n   oh-router action term_01a2b3c4d5e6 trust_folder\n   oh-router switch term_01a2b3c4d5e6 --tier sol --effort max\n   oh-router action term_01a2b3c4d5e6 stop\n   ```\n\n   Never send raw keystrokes to dismiss a paid upgrade dialog; use `switch` or\n   `action <id> stop`, or report the hold to the user.\n\n## Coordinate `@vercel/board` tasks and workers\n\nConnect `ohd` to a local or hosted `@vercel/board` instance, manage tasks and\nthreads, and run the lease-checked worker:\n\n```sh\noh-router board connect --mode local\noh-router board create-task --channel dev --label tier=sol \"Run integration suite\"\noh-router board tasks --channel dev --json\noh-router board claim --ready\noh-router board reply <task-id> \"Integration suite green\"\noh-router board complete <task-id> --result \"All checks passed\"\noh-router worker --once --channel dev --json\n```\n\nIf a task lease expires or transfers (`409 claim_lost`), stop mutating that\ntask and re-read `oh-router board tasks --json`.\n\n## Pair machines over Cloudflare Tunnel\n\nGenerate a pairing recipe, start the loopback `127.0.0.1` HTTP bridge with a\n`stream_steer` Bearer token, or write an OpenSSH `ProxyCommand` block:\n\n```sh\noh-router devices recipe --name build-box --role server --quick\noh-router devices tunnel-start --scope stream_steer --quick --publish\noh-router devices add-remote --name build-box --tunnel-url https://example.trycloudflare.com --bearer-token \"<TOKEN>\"\noh-router devices ssh-config --host build-box --hostname ssh.example.com --user dev --write\n```\n\nNever pass Bearer tokens in URL query strings (`?token=` returns `401`). Keep\nremote tokens scoped to `stream_steer`, which permits observation, steering,\nand dialog actions while blocking shell launches and configuration changes.\n\n## Workspace policy and `PolicyAdvisor` plugins\n\nInspect routing policy, pin project tiers, or read the neutral `PolicyAdvisor`\nstdio JSONL plugin specification (for workspace directory mapping or project\ntier defaults):\n\n```sh\noh-router policy get --json\noh-router policy set --cross-family-review true --pin compiler=fable\noh-router policy plugin-spec\n```\n\nSee the [CLI and RPC reference](https://ohrouter.com/docs/cli) or run\n`oh-router --help` before choosing flags. Do not invent subcommands or options.\n",
    "LICENSE": "MIT License\n\nCopyright (c) 2026 Hraness\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n",
    "README.md": "# OH Router for coding agents\n\nHeadless Rust session router, terminal safety guard, and board worker for Claude Code and Codex.\n\nThis package teaches a coding agent to supervise Claude Code and Codex sessions, inspect 2D ECMA-48 terminal screens before steering, coordinate `@vercel/board` tasks, and pair machines over Cloudflare Tunnel using the local `oh-router` CLI.\n\n## Install oh-router\n\nInstall `oh-router`, `ohd`, and `oh-holder` on macOS (Apple Silicon) or Linux (`x86_64` and `arm64`):\n\n```sh\ncurl -fsSL https://ohrouter.com/install.sh | sh\n```\n\nOr install via Homebrew:\n\n```sh\nbrew install hraness/tap/oh-router\n```\n\nThis package targets `oh-router` version 0.1.0. See the [quickstart guide](https://ohrouter.com/docs/quickstart) and [CLI reference](https://ohrouter.com/docs/cli) for full documentation.\n\n## License\n\nThe skill and integration files in this package are released under the MIT License.\n"
  }
}
