Rjv Subagents Codex
Launch and route sub-agents in Codex (Luna, Terra, Astra, opencode, and local Ollama). Requires loading `rjv-delegate` first for delegation policy.
Editor's 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.
When to Use It
- 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
SKILL.md
SkillsHunter provides this listing for informational purposes only. Review the skill’s source, license, and required permissions before use. You are responsible for deciding whether to install or run it. Terms of Use
Codex sub-agents
Load rjv-delegate first. It owns when to delegate, splitting,
briefs, time boxes and the 2x stop, machine hygiene, parallel limits,
watching slow work, unattended runs and checking results.
Big model on this host: Astra or Sol.
Ladders and rungs
| Job needs… | Ladder (cheap → dear) |
|---|---|
| Repo tools (recon, file reads, edits, commands) | local Ollama explorer or worker → Luna → Terra |
| Self-contained text (context fits in prompt) | local one-shot → opencode → Luna → Terra |
| Rung | Mechanical | Standard | Hard |
|---|---|---|---|
| Codex sub-agent | gpt-5.6-luna, low |
gpt-5.6-terra, medium |
gpt-6-astra, high |
opencode (rjv-opencode-agents) |
DeepSeek v4.1 Flash, one retry | not used | not used |
Local Ollama (rjv-codex-ollama-subagents) |
gemma explorer or worker; qwen coder one-shot | not used | not used |
Time boxes
| Worker | Boxes to pick from |
|---|---|
| Codex sub-agent (Luna, Terra, Astra) | 5 · 10 · 15 min |
| opencode | 2 · 5 min |
| Local Ollama, one-shot text | 5 · 10 min |
| Local Ollama with repo tools (explorer or worker) | 10 · 20 · 30 min |
Why the rows differ: third-party models are fast and get only mechanical work, so a slow run means looping. Local models are slower and Ollama queues parallel calls, so their boxes are larger.
Host mechanics
- 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. - Local Ollama queues concurrent calls, so parallel local runs save tokens and take as long as sequential. One-shot local models have no tools and cannot do recon.
- Sensitive work stays on Codex cloud models (Terra or higher). Never send secrets, credentials, customer data, approval/access-control logic, migrations, harness edits or production-risk work to local Ollama or opencode.
- opencode runs only through
rjv-opencode-agents, which puts text work in an empty directory and watches every run.repomode (under--auto) only when the user asks in this session; never start one on your own. opencode's shell still reaches the account, so never put secrets or customer data in its brief. - Codex reviews. The user relays them by hand (
rjv-code-review). Start a review sub-agent yourself only when the user asks or the plan's Cast names one (rjv-session-link); default model isgpt-6.1-solat low effort unless the user names another. An explicit user model choice takes precedence. - Unattended runs. Local Ollama first (slow is fine overnight), then Luna. No Astra sub-agents unless the piece is Hard.
- Global instructions live at
~/.codex/AGENTS.md(prune withrjv-writing-skills).
View original Markdown
---
name: rjv-subagents-codex
description: "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."
---
# Codex sub-agents
**Load `rjv-delegate` first.** It owns when to delegate, splitting,
briefs, time boxes and the 2x stop, machine hygiene, parallel limits,
watching slow work, unattended runs and checking results.
Big model on this host: **Astra** or **Sol**.
## Ladders and rungs
| Job needs… | Ladder (cheap → dear) |
|---|---|
| **Repo tools** (recon, file reads, edits, commands) | local Ollama explorer or worker → Luna → Terra |
| **Self-contained text** (context fits in prompt) | local one-shot → opencode → Luna → Terra |
| Rung | Mechanical | Standard | Hard |
|---|---|---|---|
| Codex sub-agent | `gpt-5.6-luna`, low | `gpt-5.6-terra`, medium | `gpt-6-astra`, high |
| opencode (`rjv-opencode-agents`) | DeepSeek v4.1 Flash, one retry | not used | not used |
| Local Ollama (`rjv-codex-ollama-subagents`) | gemma explorer or worker; qwen coder one-shot | not used | not used |
## Time boxes
| Worker | Boxes to pick from |
|---|---|
| Codex sub-agent (Luna, Terra, Astra) | 5 · 10 · 15 min |
| opencode | 2 · 5 min |
| Local Ollama, one-shot text | 5 · 10 min |
| Local Ollama with repo tools (explorer or worker) | 10 · 20 · 30 min |
Why the rows differ: third-party models are fast and get only mechanical
work, so a slow run means looping. Local models are slower and Ollama
queues parallel calls, so their boxes are larger.
## Host mechanics
- **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.
- **Local Ollama queues concurrent calls**, so parallel local runs save
tokens and take as long as sequential. One-shot local models have no
tools and cannot do recon.
- **Sensitive work stays on Codex cloud models** (Terra or higher).
Never send secrets, credentials, customer data, approval/access-control
logic, migrations, harness edits or production-risk work to local
Ollama or opencode.
- **opencode** runs only through `rjv-opencode-agents`, which puts text
work in an empty directory and watches every run. `repo` mode (under
`--auto`) only when the user asks in this session; never start one on
your own. opencode's shell still reaches the account, so never put
secrets or customer data in its brief.
- **Codex reviews.** The user relays them by hand (`rjv-code-review`).
Start a review sub-agent yourself only when the user asks or the
plan's Cast names one (`rjv-session-link`); default model is
`gpt-6.1-sol` at low effort unless the user names another. An explicit
user model choice takes precedence.
- **Unattended runs.** Local Ollama first (slow is fine overnight), then
Luna. No Astra sub-agents unless the piece is Hard.
- **Global instructions** live at `~/.codex/AGENTS.md` (prune with
`rjv-writing-skills`).
Community Reviews & Field Notes
Tried this skill on your own project? Share the model you used and the results you got.