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)
1# Hivemind: Claude Code as Orchestrator, opencode as Free Worker Swarm23Claude Code = brain (plans, reviews, merges). opencode = disposable workers on free models4(`opencode/mimo-v2.5-free` default; verified $0.00 per run).56## Prerequisites (external dependency)78This skill is a thin orchestration layer over **[opencode](https://opencode.ai)**, a9third-party CLI. It is not bundled — install and authenticate it yourself first:1011| 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. |1819## Data flow (read before installing)2021Hivemind is opt-in and ships outside every domain bundle. **By default your code22leaves your machine:** the default model, `opencode/mimo-v2.5-free`, runs on23opencode's hosted service, so each worker sends its prompt, plus any files or diffs24you give it, to opencode's endpoints. Nothing on the worker side calls the Anthropic25API.2627To keep code local, point `--model` at a model served on your own machine (for28…
Excerpt shown under the repository's MIT license.
