ruflo: Skill for Claude Code

.agents/skills/hive-mind/SKILL.md

hive-mind is a skill for Claude Code, Codex from ruvnet/ruflo. It costs 61 tokens per session (433 once invoked), scanned A, original, MIT.

A coordination system for multiple agents that uses a leader, shared decision rules, and fault tolerance. Fault tolerance means the group can continue working even when some agents fail or disagree.

In plain words
What is it for?
Use it to coordinate multi-agent projects, choose coordination layouts, apply consensus strategies, start a coordinating leader, and check agreement status.
Why use it?
It helps organize distributed work where several agents must reach a shared decision. This avoids relying on one agent and provides structured coordination for complex tasks.

Skill for Claude CodeCodex

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

This is ruvnet/ruflo's own configuration. It tells Claude Code and Codex how to work on ruflo itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ruflo configures →

Part of the claude-flow plugin — 135 skills, 52 commands, 11 agents, 4 hooks, 1 MCP server shipped together

not rated 83krepo +283 today A scan Socket: passSnyk: passSkillSpector: warn 61 tokens original MIT
About the project

Ruflo is an execution and coordination layer for Claude Code and Codex that equips AI coding agents with tools, memory, control loops, sandboxes, and collaboration mechanisms. Developers use it to organize specialized agents into swarms, coordinate workflows, retain knowledge across sessions, and communicate across machines. The catalogue entries are Ruflo’s skills, commands, agents, hooks, and plugin components.

ruvnet/ruflo · 82,831 stars · on GitHub · cognitum.one

Reuse

Borrowing it

Nothing to install: this file belongs to ruvnet/ruflo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ruvnet/ruflo/main/.agents/skills/hive-mind/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ruvnet/ruflo

Made for: Claude Code, Codex.

Or install claude-flow, the plugin that ships this one along with the rest of its 135 skills, 52 commands, 11 agents, 4 hooks, 1 MCP server.

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/ruvnet/ruflo/hive-mind/github.svg)](https://agentmods.dev/skills/ruvnet/ruflo/hive-mind)
Your own site
<a href="https://agentmods.dev/skills/ruvnet/ruflo/hive-mind"><img src="https://agentmods.dev/badge/skills/ruvnet/ruflo/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/ruvnet/ruflo/hive-mind"><img src="https://agentmods.dev/badge/skills/ruvnet/ruflo/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 433 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. Third-party audits
  • Socket pass 15 Sept 2026
  • Snyk pass 15 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 43
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 48
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 53
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 58
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found 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.00433
Opus 5.5 $0.00024 $0.00173
Sonnet 5.5 $0.00012 $0.00087
Haiku 4.5 $0.00006 $0.00043

Measured 3mo ago against content hash 4edb7cca7df5, 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 3mo 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

Copies of this mod

3 near-identical copies found in the catalogue:

.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 claude-flow hive-mind init --topology hierarchical-mesh --consensus raft

Spawn Queen

npx claude-flow hive-mind spawn --role queen --name coordinator

Check Consensus Status

npx claude-flow hive-mind consensus --status

View Sessions

npx claude-flow 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. 3mo ago First seen · 66 lines · 61 tokens per session scan A 4edb7cca7df5

Subscribe to this mod's changes

hive-mind is a skill published in the GitHub repository ruvnet/ruflo (82,831 stars, last pushed today), licensed MIT. It adds 61 tokens to every session and 433 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

hive-mind compared with skills from other repositories

hive-mind next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hive-mindruvnet/rufloSkill83ktodayMITA61Claude Code, Codex
release-announcementpaperclipai/paperclipSkill119ktodayMITA42Claude Code, Codex
suggestion-boxpaperclipai/paperclipSkill119ktodayMITA37Claude Code, Codex
index-refreshpaperclipai/paperclipSkill119ktodayMITA43Claude Code, Codex
wiki-ingestpaperclipai/paperclipSkill119ktodayMITA61Claude Code, Codex
issue-triagepaperclipai/paperclipSkill119ktodayMITA48Claude Code, Codex
agentmailpaperclipai/paperclipSkill119ktodayMITA30Claude Code, Codex