{"data":{"slug":"discovered-84a67449c7c052b13bb35bf826a06b2fbf2b6fd956688d5a","title":"Rjv Subagents Codex","summary":"Launch and route sub-agents in Codex (Luna, Terra, Astra, opencode, and local Ollama). Requires loading `rjv-delegate` first for delegation policy.","url":"https:\/\/skillshunter.net\/skills\/discovered-84a67449c7c052b13bb35bf826a06b2fbf2b6fd956688d5a","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-84a67449c7c052b13bb35bf826a06b2fbf2b6fd956688d5a","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-84a67449c7c052b13bb35bf826a06b2fbf2b6fd956688d5a.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-84a67449c7c052b13bb35bf826a06b2fbf2b6fd956688d5a\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Always set the model explicitly. Only a fresh sub-agent (`fork_turns` `\"none\"` or a number) accepts a model override; a full-history fork rejects it. Sensitive work must stay on Codex cloud models (Terra or higher) and should not be sent to local Ollama or opencode.","instructions":"---\nname: rjv-subagents-codex\ndescription: \"Mechanism: launch and route sub-agents in Codex (Luna, Terra, Astra, opencode and local Ollama). Codex only; in Claude Code use rjv-subagents-claude. Load rjv-delegate first for delegation policy.\"\n---\n\n# Codex sub-agents\n\n**Load `rjv-delegate` first.** It owns when to delegate, splitting,\nbriefs, time boxes and the 2x stop, machine hygiene, parallel limits,\nwatching slow work, unattended runs and checking results.\n\nBig model on this host: **Astra** or **Sol**.\n\n## Ladders and rungs\n\n| Job needs\u2026 | Ladder (cheap \u2192 dear) |\n|---|---|\n| **Repo tools** (recon, file reads, edits, commands) | local Ollama explorer or worker \u2192 Luna \u2192 Terra |\n| **Self-contained text** (context fits in prompt) | local one-shot \u2192 opencode \u2192 Luna \u2192 Terra |\n\n| Rung | Mechanical | Standard | Hard |\n|---|---|---|---|\n| Codex sub-agent | `gpt-5.6-luna`, low | `gpt-5.6-terra`, medium | `gpt-6-astra`, high |\n| opencode (`rjv-opencode-agents`) | DeepSeek v4.1 Flash, one retry | not used | not used |\n| Local Ollama (`rjv-codex-ollama-subagents`) | gemma explorer or worker; qwen coder one-shot | not used | not used |\n\n## Time boxes\n\n| Worker | Boxes to pick from |\n|---|---|\n| Codex sub-agent (Luna, Terra, Astra) | 5 \u00b7 10 \u00b7 15 min |\n| opencode | 2 \u00b7 5 min |\n| Local Ollama, one-shot text | 5 \u00b7 10 min |\n| Local Ollama with repo tools (explorer or worker) | 10 \u00b7 20 \u00b7 30 min |\n\nWhy the rows differ: third-party models are fast and get only mechanical\nwork, so a slow run means looping. Local models are slower and Ollama\nqueues parallel calls, so their boxes are larger.\n\n## Host mechanics\n\n- **Always set the model explicitly.** Only a fresh sub-agent\n  (`fork_turns` `\"none\"` or a number) accepts a model override; a\n  full-history fork rejects it.\n- **Local Ollama queues concurrent calls**, so parallel local runs save\n  tokens and take as long as sequential. One-shot local models have no\n  tools and cannot do recon.\n- **Sensitive work stays on Codex cloud models** (Terra or higher).\n  Never send secrets, credentials, customer data, approval\/access-control\n  logic, migrations, harness edits or production-risk work to local\n  Ollama or opencode.\n- **opencode** runs only through `rjv-opencode-agents`, which puts text\n  work in an empty directory and watches every run. `repo` mode (under\n  `--auto`) only when the user asks in this session; never start one on\n  your own. opencode's shell still reaches the account, so never put\n  secrets or customer data in its brief.\n- **Codex reviews.** The user relays them by hand (`rjv-code-review`).\n  Start a review sub-agent yourself only when the user asks or the\n  plan's Cast names one (`rjv-session-link`); default model is\n  `gpt-6.1-sol` at low effort unless the user names another. An explicit\n  user model choice takes precedence.\n- **Unattended runs.** Local Ollama first (slow is fine overnight), then\n  Luna. No Astra sub-agents unless the piece is Hard.\n- **Global instructions** live at `~\/.codex\/AGENTS.md` (prune with\n  `rjv-writing-skills`).\n","use_cases":["Launching sub-agents for repo tools and file operations","Routing self-contained text tasks to appropriate models","Setting time boxes for sub-agent execution","Managing sensitive work on Codex cloud models"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/rjvim\/ai-skills\/blob\/9a942086adef21dbd0c061d9d9e8fd5f43328bf6\/skills\/rjv-subagents-codex\/SKILL.md","source_commit":"9a942086adef21dbd0c061d9d9e8fd5f43328bf6","license":null,"version":null,"listing_approved_at":"2026-12-03","created_at":"2026-12-02T09:10:05.000000Z","updated_at":"2026-12-03T16:19:55.000000Z","seo_title":"Rjv Subagents Codex - Launch and Route Sub-agents in Codex","seo_description":"Mechanism for launching and routing sub-agents in Codex (Luna, Terra, Astra, opencode, and local Ollama). Requires loading `rjv-delegate` first for delegation policy.","seo_keywords":["rjv-subagents-codex","Codex sub-agents","Luna, Terra, Astra models","opencode sub-agents","local Ollama sub-agents","time boxes for sub-agents","model delegation policy"]}}