octocode-subagent
Skill by bgauryy
Coordinates delegation to subagents, A2A peers, or local Ollama workers for an AI assistant. Decides when to split work and how to verify what workers return.
Install octocode-subagent
Built from the published package, never by AI.
git clone --depth 1 https://github.com/bgauryy/octocode /tmp/octocode && mkdir -p ~/.claude/skills && cp -r /tmp/octocode/skills/octocode-subagent ~/.claude/skills/octocode-subagentRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/bgauryy/octocode /tmp/octocode && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/octocode/skills/octocode-subagent ~/.gemini/antigravity-cli/skills/octocode-subagentAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Octocode Subagent is a host-agnostic skill for delegating work. It first decides whether a task should stay in the parent agent or be spawned to cloud or host workers. Each worker gets a self-contained packet with goal, scope, context, authority, constraints, evidence needs, and return shape. The skill covers supervisor, pipeline, handoff, and swarm topologies, coordination, and synthesis, with a barrier before the final answer.
It also includes challenge techniques such as rubber-duck, interview, red-team, blind review, and consensus, each run with fresh context. To save tokens, it can offload summarize or extract jobs to local Ollama one-shot workers. Those workers have no tools, and the parent must verify their output. It is aimed at developers building multi-agent workflows who want clear delegation rules.
Written from the project's SKILL.md and checked against it.
What it can do
- Spawn gateDecides between solo work, batch, specialist, or clean worker before any delegation happens.
- Task decompositionSplits work into bounded objectives with a dependency-aware topology.
- Sealed packetsBuilds self-contained worker briefs with goal, scope, authority, constraints, and return shape.
- Multi-agent patternsChooses supervisor, pipeline, handoff, or swarm layouts for a given task.
- Challenge techniquesRuns rubber-duck, interview, red-team, blind review, and consensus checks with fresh context.
- Local Ollama offloadSends summarize, extract, and similar one-shot jobs to local Ollama models to save tokens.
- Output verificationRe-checks worker claims before integrating them into the final answer.
- Worker cleanupWaits for or stops every live worker and releases shared state before finishing.
What you need
- Ollama installed and running, for the local offload path
- A host that supports Task or subagent spawning, for cloud workers
Try asking
- Split this refactor across workers and synthesize the results
- Red-team this architecture plan before we ship it
- Use local Ollama to summarize these 50 files and verify the output
Good to know
- Local Ollama workers are tool-less one-shot jobs, not agent loops
- Nested spawning is not allowed unless the host explicitly permits it
- Worker output is treated as claims and must be re-checked
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/octocode-subagent/SKILL.md, skills/octocode-subagent/scripts/ollama-health.sh, skills/octocode-subagent/scripts/ollama-worker.sh. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
README.md2 KB -
SKILL.md6 KB -
references/a2a.md1 KB -
references/blind-review.md2 KB -
references/consensus.md2 KB
Show all 42 files
-
references/coordinate.md1 KB -
references/decision-matrix.md2 KB -
references/decompose.md1 KB -
references/family-playbooks.md4 KB -
references/improve-loop.md569 B -
references/interview.md2 KB -
references/local-ollama.md3 KB -
references/mimic-flow.md2 KB -
references/model-routing.md1 KB -
references/model-selection.md4 KB -
references/octocode.md676 B -
references/ollama-cli-run.md2 KB -
references/ollama-cli.md3 KB -
references/ollama-invoke.md3 KB -
references/ollama-local-models-heavy.md2 KB -
references/ollama-local-models-kits.md2 KB -
references/ollama-local-models-matrix.md4 KB -
references/ollama-local-models-sources.md3 KB -
references/ollama-local-models.md4 KB -
references/output.md1 KB -
references/packet-contract.md2 KB -
references/packet-schemas.md1 KB -
references/packets.md2 KB -
references/patterns.md2 KB -
references/recovery.md1 KB
And 12 more files on GitHub.
Alternatives to octocode-subagent
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
octocode-subagent: common questions
When should the assistant not spawn workers?
The skill says to keep work in the parent by default and spawn only when delegation changes speed, expertise, isolation, or context quality. Otherwise the parent does the work solo.
Does the skill run Ollama models with tools?
No. The source says local Ollama is tool-less one-shot or map-reduce offload only and never a tool-using agent loop.
Where do I measure whether delegation helps?
The source points keep and discard KPI measurement to the octocode-graph-eval skill.
How do I install octocode-subagent?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is octocode-subagent free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is octocode-subagent safe to use?
It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to octocode-subagent?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
