Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add bgauryy/octocode --skill octocode-subagentgit clone --depth 1 https://github.com/bgauryy/octocodeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/bgauryy/octocode/octocode-subagent)<a href="https://agentmods.dev/skills/bgauryy/octocode/octocode-subagent"><img src="https://agentmods.dev/badge/skills/bgauryy/octocode/octocode-subagent/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/bgauryy/octocode/octocode-subagent"><img src="https://agentmods.dev/badge/skills/bgauryy/octocode/octocode-subagent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00080 | $0.01402 |
| Opus 5 | $0.00040 | $0.00701 |
| Sonnet 5 | $0.00016 | $0.00280 |
| Haiku 4.5 | $0.00008 | $0.00140 |
Grade A, and why
octocode-subagent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Octocode Subagent
Host-agnostic delegation: cloud/host workers or local Ollama offload.
Flows: GATE → DECOMPOSE → ROUTE → PACKET → SPAWN → COORDINATE → SYNTHESIZE → CLEANUP (tool-using) · GATE → ROUTE → RUN → VERIFY → REPORT (Ollama — references/local-ollama.md).
Lobby rules
- Spawn only when delegation changes speed, expertise, isolation, or context quality; otherwise keep work in the parent. Default is solo; earn spawn cost first.
- One bounded objective per worker; no nested spawning unless the host explicitly allows it.
- Workers inherit no parent chat: every packet carries goal, scope, context, authority, constraints, evidence needs, and return shape.
- Treat worker output as claims; re-check load-bearing anchors (Ollama: always VERIFY).
- Barrier before synthesize — wait/list every live worker (or stop+remove); merge conflicts first; then answer.
- Parent owns the user, synthesis, and mutations unless a packet explicitly transfers write ownership.
- Pick the smallest capable configured model; declare file ownership before parallel writes.
- Challenge techniques use fresh context; agreement is not proof.
- Local Ollama is tool-less one-shot/map-reduce only — never a tool-using agent loop. Stop when solo work finishes, two High options need a winner, three angles add nothing, a user/auth gate is pending, or no live workers remain.
Smart routes — load only what the current step needs
- When deciding solo, batch, specialist, or clean worker, load
references/spawn-gate.md— delegation must earn its coordination cost. - When splitting work, load
references/decompose.md; when choosing supervisor, pipeline, handoff, or swarm loadreferences/patterns.md— create a dependency-aware topology. - Before spawning, load
references/packets.md; when delegating technical research loadreferences/octocode.md— make worker context and tool routing self-contained. - When selecting host model/thinking effort, load
references/model-routing.md— smallest capable configured model. - When waiting, steering, messaging, or stopping workers, load
references/coordinate.md; for independent remote peers loadreferences/a2a.md. - When parallel writers share mutable state, load
references/workspace.md. - When workers stall, fail, or conflict, load
references/recovery.md; before final output loadreferences/synthesize.mdandreferences/output.md; at CLEANUP stop and remove every worker and release shared state perreferences/coordinate.md. - When grounding orchestration guidance in sources, load
references/references.md. - When improving this skill, prefer
octocode-graph-eval; otherwise loadreferences/improve-loop.md.
What ships with it
41 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- README.md 2.1 KB
- references/a2a.md 1.3 KB
- references/blind-review.md 1.5 KB
- references/consensus.md 1.7 KB
- references/coordinate.md 1.3 KB
- references/decision-matrix.md 2.2 KB
- references/decompose.md 1.2 KB
- references/family-playbooks.md 3.6 KB
- references/improve-loop.md 569 B
- references/interview.md 1.9 KB
- references/local-ollama.md 2.9 KB
- references/mimic-flow.md 2.2 KB
- references/model-routing.md 1.2 KB
- references/model-selection.md 4.0 KB
- references/octocode.md 676 B
- references/ollama-cli-run.md 2.0 KB
- references/ollama-cli.md 3.1 KB
- references/ollama-invoke.md 3.1 KB
- references/ollama-local-models-heavy.md 1.9 KB
- references/ollama-local-models-kits.md 2.1 KB
- references/ollama-local-models-matrix.md 4.2 KB
- references/ollama-local-models-sources.md 3.3 KB
- references/ollama-local-models.md 3.9 KB
- references/output.md 1.1 KB
- references/packet-contract.md 1.9 KB
- references/packet-schemas.md 1.3 KB
- references/packets.md 1.6 KB
- references/patterns.md 2.5 KB
- references/recovery.md 1.3 KB
- references/red-team.md 1.7 KB
- references/references.md 2.7 KB
- references/rubber-duck.md 1.6 KB
- references/spawn-gate.md 1.4 KB
- references/synthesize.md 1.5 KB
- references/techniques.md 2.5 KB
- references/usage-matrix.md 4.3 KB
- references/verify-gate.md 2.2 KB
- references/workflow.md 3.0 KB
- references/workspace.md 697 B
- scripts/ollama-health.sh 2.1 KB runs code
- scripts/ollama-worker.sh 8.9 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 57 lines · 80 tokens per session scan A aedc4bc5be37
octocode-subagent is a skill published in the GitHub repository bgauryy/octocode (932 stars, last pushed today), licensed MIT. It adds 80 tokens to every session and 1,402 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
create-handler
Create a new API handler following the handler pattern. Use when the user asks to create an endpoint, handler, or route.
architecture-docs
Workflow for creating and maintaining architecture documentation. Use when the user needs to document system architecture or make ADRs.
component-creation
Step-by-step workflow for creating accessible, tested UI components. Use when the user asks to create a new UI component.
fix-tests
Systematic workflow for diagnosing and fixing failing tests. Use when the user reports failing tests or asks to fix test failures.
code-review
Structured workflow for conducting thorough code reviews. Use when the user asks to review code, a PR, or specific files.
infrastructure
Workflow for provisioning cloud infrastructure using IaC. Use when the user needs to create or modify cloud resources.