Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 83
  • 969 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-subagent

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install octocode-subagent in Claude Code

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

A

No 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 →

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.

octocode-subagent Install

Add to stack

Loading.