hive-mind

hive-mind is a skill for Claude Code from akhilyad/deployy. It costs 61 tokens per session (429 once invoked), scanned A, a copy of hive-mind, MIT.

A coordination system for groups of agents that supports different ways to organize them and methods for reaching a shared decision. Its fault-tolerant options are intended for distributed work where some agents may fail or disagree.

In plain words
What is it for?
Use it for distributed agent tasks, fault-tolerant operations, collective decisions, and complex coordination patterns using hierarchical, mesh, adaptive, or hybrid arrangements.
Why use it?
It helps coordinate complex work across many agents instead of relying on one worker or informal messages. It can keep group decisions consistent under the selected coordination method.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Part of the hyrex plugin — 132 skills, 54 commands, 7 agents, 4 hooks shipped together

Good fit Use it for distributed agent tasks, fault-tolerant operations, collective decisions, and complex coordination patterns using hierarchical, mesh, adaptive, or hybrid arrangements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/akhilyad/deployy/hive-mind
Install

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.

Any agent
npx skills add akhilyad/deployy --skill hive-mind
Clone the repo
git clone --depth 1 https://github.com/akhilyad/deployy

Made for: Claude Code.

Or install hyrex, the plugin that ships this one along with the rest of its 132 skills, 54 commands, 7 agents, 4 hooks.

Wrote 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.

agentmods badge for hive-mind

README.md
[![agentmods](https://agentmods.dev/badge/skills/akhilyad/deployy/hive-mind/github.svg)](https://agentmods.dev/skills/akhilyad/deployy/hive-mind)
Your own site
<a href="https://agentmods.dev/skills/akhilyad/deployy/hive-mind"><img src="https://agentmods.dev/badge/skills/akhilyad/deployy/hive-mind/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.

agentmods 80×15 button for hive-mind

Your own site · 80×15
<a href="https://agentmods.dev/skills/akhilyad/deployy/hive-mind"><img src="https://agentmods.dev/badge/skills/akhilyad/deployy/hive-mind.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 429 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00061 $0.00429
Opus 5.5 $0.00024 $0.00172
Sonnet 5.5 $0.00012 $0.00086
Haiku 4.5 $0.00006 $0.00043

Measured 2mo ago against content hash 8f816637fb68, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hive-mind 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 2mo 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.

Origin

This is a copy

100% identical to hive-mind — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/hive-mind/SKILL.md · 66 lines

What it actually says

Hive-Mind Skill

Purpose

Byzantine fault-tolerant consensus and distributed swarm coordination.

When to Trigger

  • Multi-agent distributed tasks
  • Fault-tolerant operations needed
  • Collective decision making
  • Complex coordination patterns

Topologies

Topology Description Use Case
hierarchical Queen controls workers Default, anti-drift
mesh Fully connected peers Research, exploration
hierarchical-mesh Hybrid Recommended for complex
adaptive Dynamic based on load Auto-scaling

Consensus Strategies

Strategy Tolerance Use Case
byzantine f < n/3 faulty Untrusted environment
raft f < n/2 faulty Leader-based, consistent
gossip Eventual Large scale, availability
crdt Conflict-free Concurrent updates
quorum Configurable Tunable consistency

Commands

Initialize Hive-Mind

npx hyrex hive-mind init --topology hierarchical-mesh --consensus raft

Spawn Queen

npx hyrex hive-mind spawn --role queen --name coordinator

Check Consensus Status

npx hyrex hive-mind consensus --status

View Sessions

npx hyrex hive-mind sessions --active

Best Practices

  1. Use hierarchical for coding tasks (anti-drift)
  2. Use raft consensus for consistency
  3. Keep agent count under 8 for coordination
  4. Run frequent checkpoints
Changes

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.

  1. 2mo ago First seen · 66 lines · 61 tokens per session scan A 8f816637fb68

Subscribe to this mod's changes

hive-mind is a skill published in the GitHub repository akhilyad/deployy (0 stars, last pushed 6mo ago), licensed MIT. It adds 61 tokens to every session and 429 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to hive-mind, differing in 8 lines, and is treated as a copy.

Related

hive-mind compared with skills from other repositories

hive-mind next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hive-mindakhilyad/deployySkill06mo agoMITA61Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code