Tooluck logoTooluck
SKILL.md

hivemind

Agent skill fromalirezarezvani/claude-skills

Use when delegating grunt work to free opencode workers instead of spending Claude tokens: one worker or a scout, coder and tester swarm in worktrees. Triggers on 'spawn a worker', 'swarm', 'delegate to opencode' or /oc.

How to install hivemind

install hivemind
# install the claude-skills pack with the skills CLI
npx skills add alirezarezvani/claude-skills

# or add only this skill to Claude Code: copy the folder

engineering/hivemind/

# into

~/.claude/skills/hivemind/ (all projects)

.claude/skills/hivemind/ (one project)

engineering/hivemind/SKILL.md

MITFull file
1# Hivemind: Claude Code as Orchestrator, opencode as Free Worker Swarm
2
3Claude Code = brain (plans, reviews, merges). opencode = disposable workers on free models
4(`opencode/mimo-v2.5-free` default; verified $0.00 per run).
5
6## Prerequisites (external dependency)
7
8This skill is a thin orchestration layer over **[opencode](https://opencode.ai)**, a
9third-party CLI. It is not bundled — install and authenticate it yourself first:
10
11| Requirement | Notes |
12|---|---|
13| Node.js >= 18 | The scripts use `fetch` and `node:timers/promises`. |
14| `opencode` CLI on `PATH` | `npm i -g opencode-ai` (or the installer opencode documents). |
15| An authenticated opencode account | `opencode auth login`. Workers run as your account. |
16| Default model `opencode/mimo-v2.5-free` | A free tier offered by opencode, not by Anthropic. Availability, rate limits, and pricing are opencode's to change — override with `--model` at any time. |
17| Windows only: `OPENCODE_GIT_BASH_PATH` | Point at `C:\Program Files\Git\bin\bash.exe`, set persistently. |
18
19## Data flow (read before installing)
20
21Hivemind is opt-in and ships outside every domain bundle. **By default your code
22leaves your machine:** the default model, `opencode/mimo-v2.5-free`, runs on
23opencode's hosted service, so each worker sends its prompt, plus any files or diffs
24you give it, to opencode's endpoints. Nothing on the worker side calls the Anthropic
25API.
26
27To keep code local, point `--model` at a model served on your own machine (for
28…

Excerpt shown under the repository's MIT license.

More skills in claude-skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates