{"data":{"slug":"discovered-486e8f48b18adbadbeca61ceea1914f8d41f23e73f0a1647","title":"Rjv Delegate","summary":"Delegate work to subagents or tools so the big model is spent only on judgment. Use for tasks requiring legwork (recon, edits, logs, reviews, QA, screenshots, waiting on builds) and before launching any subagent, opencode run, local model, or other session. The skill manages splitting tasks, briefing workers, time boxes, and enforcing the 2x hard limit.","url":"https:\/\/skillshunter.net\/skills\/discovered-486e8f48b18adbadbeca61ceea1914f8d41f23e73f0a1647","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-486e8f48b18adbadbeca61ceea1914f8d41f23e73f0a1647","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-486e8f48b18adbadbeca61ceea1914f8d41f23e73f0a1647.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-486e8f48b18adbadbeca61ceea1914f8d41f23e73f0a1647\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before delegating, ensure the task is split into independent pieces that fit within a worker's time box. Name files, commands, and done-criteria explicitly so the worker does not rediscover them. Set the model explicitly for each subagent to avoid silent inheritance from the parent model.","instructions":"---\nname: rjv-delegate\ndescription: \"How-to: delegate work so the big model is spent only on judgment. Use at the start of any task with legwork (recon, edits, logs, reviews, QA, screenshots, waiting on builds) and before launching any subagent, opencode run, local model or other session. Owns when to do it yourself, splitting, the brief, time boxes and the 2x stop, scripts over agents, parallel limits, watching slow work off the main thread, unattended runs and checking results. Triggers: delegate, subagent, fan out, which model, save tokens, time budget, waiting on a build or deploy, blocked main thread, overnight run.\"\n---\n\n# Delegate: spend the big model on judgment\n\nThe big model is rationed and long sessions stall on limits before they\nstall on difficulty.\n\n> **The rule.** The big model designs, splits, briefs, judges and\n> integrates. Everything a cheaper worker does equally well goes to the\n> cheapest worker that clears the bar. Do mundane work yourself only\n> when it takes 1\u20132 minutes, or when reading code you are about to edit.\n\n> **Never block the main thread.** Anything slow (a preview deploy, CI,\n> a long build, a full test suite, a remote job) runs in the background\n> or under a watcher on the cheapest rung (\u00a78), while you keep working\n> or talking.\n\n## Mechanisms\n\n- **Claude subagents**: `rjv-subagents-claude` (Haiku, Sonnet, Opus).\n- **Codex subagents**: `rjv-subagents-codex` (Luna, Terra, Astra).\n- **opencode**: `rjv-opencode-agents` (watched DeepSeek v4.1 Flash runs).\n- **Local Ollama**: `rjv-codex-ollama-subagents` (explorer, worker, one-shot).\n- **Other sessions**: `rjv-session-link` (shared thread file, dispatch).\n\n## 1. Do it yourself, or delegate\n\n| Situation | Do |\n|---|---|\n| Mundane, 1\u20132 minutes of work | Yourself. |\n| Reading one small file at a known path | Yourself. |\n| Reading code you are about to edit | Yourself. Those bytes sit in context anyway. |\n| Design, trade-off, root cause unknown, final verify | Yourself. |\n| Recon across many files, \"where is X\" | Delegate to a cheap repo-tool worker. |\n| Mechanical edits, renames, boilerplate, tests from a spec | Delegate. |\n| Summaries, classification, draft-from-spec in prompt | Delegate, text-only ladder. |\n| Independent pieces of a bigger job | Delegate in parallel, one message. |\n| Waiting on a deploy, CI, a build or a remote job | Never yourself. Background or watch (\u00a78). |\n\nDelegation has fixed overhead: splitting, briefing, reviewing. Below\nthat overhead, do it yourself. Above it, mundane work on the big model\nis waste.\n\n## 2. Split first\n\nEach piece must:\n- fit one of its worker's time boxes (see the host mechanism skill),\n- name the files, commands and done-criteria so the worker does not rediscover them,\n- be independent of the others, or ordered explicitly,\n- return a distilled answer (`file:line`, a diff, a verdict) of a few lines.\n\nIf a piece cannot fit its row's largest box, split again before\nlaunching. Done when every piece passes all four checks.\n\n## 3. Pick the worker\n\nSplit by whether the job touches the repo (repo tools vs self-contained\ntext), then pick the rung from your host mechanism (`rjv-subagents-claude`\nor `rjv-subagents-codex`).\n\n- **Always set the model explicitly.** Silent inheritance of the parent\n  model is the most common leak.\n- **Unsure means one rung up.** A failed cheap attempt costs more than\n  the saving.\n- **Stakes raise the floor.** Money, data, production, security: at\n  least the standard rung, and keep even the draft on the host's own\n  cloud models.\n- **Sensitive work never leaves host cloud models** (standard rung or\n  higher): secrets, credentials, customer data, approval or\n  access-control logic, migrations, the harness, or anything where a\n  quiet mistake reaches production. No local or third-party model sees\n  it.\n- **A forwarder goes cheapest.** A subagent whose only job is one shell\n  call to another agent runs on the cheapest rung.\n\n## 4. Write the brief\n\nThe worker sees only the brief:\n\n```text\nGoal:    one sentence, what done looks like\nWhere:   exact files \/ dirs \/ commands allowed\nKnow:    facts you already have, so it does not rediscover them\nDo not:  what to leave alone\nReturn:  the distilled shape you want back (file:line list, diff, verdict)\nBudget:  10 min; at 20 min you will be stopped. Push as soon as done.\nLimits:  no polling long runs; one browser job machine-wide; never stash; never --no-verify\n```\n\n## 5. Time boxes and the 2x stop\n\nBefore each launch, pick the smallest box from the worker's row in the\nhost mechanism skill and put it in the brief. Minutes are wall clock,\nlaunch to report; the box sizes the task, no timer enforces it. A worker\nthat runs past its box was given too much or briefed poorly.\n\n**Twice the box is the hard limit.** At 2x its box, check the worker's\nreal state (worktree commits, output files), not its transcript. If work\nis done but unshipped, stop the worker and ship it yourself. If not\ndone, stop it and relaunch a smaller piece. Never let a worker run past\n2x because it says it is waiting.\n\n## 6. Agents do judgment; scripts do runs\n\n- **Mechanical work is a script or codemod, not an agent.** Renames,\n  migrations, version bumps, rule-based sweeps: run the command in the\n  background and read the result.\n- **Long runs belong to the orchestrator.** Probe runs, full suites,\n  screenshot sweeps: start them as background commands and read output\n  when the host reports exit. A worker never polls an output file and\n  never waits on a run longer than its box.\n- **A worker's brief ends at \"pushed\".** Done criteria met means commit\n  and push now. Extra verification comes after or back to the\n  orchestrator.\n- **Machine hygiene.** One heavy job at a time (one build, one browser\n  suite machine-wide). Check `uptime` first; over 16 means wait. Reuse a\n  running dev server; never start one per agent. Kill servers, browsers\n  and emulators you started the moment their job ends.\n- **Reaper on long multi-agent runs.** Every 5 minutes kill your own\n  processes (from your clones or helpers) older than 20 minutes at under\n  1% CPU, and orphaned headless browsers. Never touch other repos'\n  processes. Cap heavy runs (tests, tsc, fallow) at two machine-wide\n  with a lock wrapper, and run fallow once at merge.\n\n## 7. Run in parallel\n\nLaunch independent pieces in one message. While a delegated search runs,\ndo other work or talk with the user.\n\n**At most 5 subagents running at once.** Past 5, run in waves: launch 5,\nstart the next as each reports.\n\n## 8. Watch slow things off the main thread\n\nThis section is the one rule for watching background work.\n\n1. **A command you started** runs in the background. The host re-invokes\n   you on exit; do not poll it.\n2. **Something external** (CI, Vercel\/Netlify preview, pipeline) goes to\n   a watcher on the cheapest rung, 5 or 10 min box. Brief: what to\n   watch, how to read state, what counts as done or failed, return only\n   the URL or failing log lines.\n3. Carry on with independent work or answer the user while it runs.\n4. When the watcher reports, you judge and diagnose; the watcher only\n   reports.\n\nNever sit in a foreground sleep, poll loop or blocking wait.\n\n## 9. Unattended runs (overnight, away from keyboard)\n\n- **At most 2 subagents running at once**, in waves.\n- **No nesting.** A subagent never launches its own subagents; say so in\n  every brief.\n- **Cheap rungs only for legwork.** Follow the host skill's unattended\n  rung rule.\n- **A run budget.** Write the total subagent count in the plan before\n  starting; hitting it means stop delegating and finish solo.\n- **Morning check.** Report spend: subagents launched per model, plus\n  `opencode stats --days 0 --models --cost` if opencode ran.\n\n## 10. Check what comes back\n\n- **You check it.** A cheap worker's PASS can be wrong. Run tests, read\n  the diff, try a case the worker never saw.\n- **Keep or escalate.** Check a report against its\n  acceptance items; escalate one rung only when something\n  is missing.\n- **Never let a cheap worker be the gate.** Review, bug-hunting and\n  approval stay on the big model or an independent reviewer\n  (`rjv-gated-build`, `rjv-code-review`). An opencode round in the\n  review loop is an independent reviewer; in a gated build it is the\n  APPROVED gate only when the plan's Cast names it.\n- **Name the model** when you launch and when you report what came back.\n- **No model provenance in artifacts.** No \"generated by\" lines or AI\n  trailers in commits, PRs, docs or code.\n- **Keep instructions small.** Review or edit global instructions and\n  loaded skills with `rjv-writing-skills`.\n","use_cases":["Recon across many files to find specific content","Mechanical edits, renames, or boilerplate generation","Summaries, classification, or draft-from-spec tasks","Parallel processing of independent pieces of a larger job","Watching slow work (e.g., builds, CI, deploys) off the main thread"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/rjvim\/ai-skills\/blob\/9a942086adef21dbd0c061d9d9e8fd5f43328bf6\/skills\/rjv-delegate\/SKILL.md","source_commit":"9a942086adef21dbd0c061d9d9e8fd5f43328bf6","license":null,"version":null,"listing_approved_at":"2026-12-03","created_at":"2026-12-02T09:09:39.000000Z","updated_at":"2026-12-03T16:19:55.000000Z","seo_title":"Delegate Work with Rjv Delegate Skill","seo_description":"Delegate work efficiently using the Rjv Delegate skill, ensuring the big model is used only for judgment. Split tasks, manage time boxes, and enforce the 2x hard limit to","seo_keywords":["delegate work","subagent management","task splitting","time box enforcement","Rjv Delegate","big model optimization","parallel processing","repo tool delegation"]}}