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.
npx agentmods add skills/dip497/hivemind/hive-workflownpx skills add dip497/hivemind --skill hive-workflowgit clone --depth 1 https://github.com/dip497/hivemindWrote 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.
[](https://agentmods.dev/skills/dip497/hivemind/hive-workflow)<a href="https://agentmods.dev/skills/dip497/hivemind/hive-workflow"><img src="https://agentmods.dev/badge/skills/dip497/hivemind/hive-workflow.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.03019 |
| Opus 5 | $0.00000 | $0.01510 |
| Sonnet 5 | $0.00000 | $0.00604 |
| Haiku 4.5 | $0.00000 | $0.00302 |
Grade A, and why
hive-workflow 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 233 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Multi-agent workflows on the hivemind canvas
You are an agent in a hivemind tile. You can spawn sibling agents as visible tiles and orchestrate them. Workers are real tiles the user watches — children of you, depth-capped (max 3 deep) and rate-limited. Two layers:
mcp__hive__hive_workflow— one blocking call for the common shapes. Use this first. It spawns the fleet, drives it, and returns aggregated replies.- Raw
mcp__hive__*(hive_spawn_agent/hive_send/hive_send_keys/hive_read/hive_connect/hive_approve/hive_list_tiles/hive_report) — when control flow is dynamic and no fixed shape fits.
All of these no-op with "app not running" if hivemind isn't up — safe to try.
Auto-report is the default. A spawned worker (and every hive_workflow
worker) delivers its reply straight into YOUR session when it finishes a turn —
you see a [hive] from <tileId>: … message. So the normal pattern is
fire-and-forget: spawn, keep working, collect the reports as they arrive. Only
reach for hive_read when you must BLOCK inline for the next reply. To check who
is still busy without blocking, poll hive_list_tiles.
When to use which
| You need… | Use |
|---|---|
| Same task over a list, in parallel | hive_workflow({ shape: "fanout" }) |
| Fan out + synthesize the results | hive_workflow({ shape: "mapreduce" }) |
| A → B → C, each consuming the last | hive_workflow({ shape: "pipeline" }) |
| Loop until a condition / unknown count | raw spawn + hive_read loop |
| A judge panel, voting, conditional branches | raw spawn + hive_read |
The tool: hive_workflow
fanout — N workers in parallel
One worker per items[i]. prompt is a template; {item} is filled per worker.
Blocks until all finish, returns each reply.
hive_workflow({
shape: "fanout",
items: ["src/auth.ts", "src/pay.ts", "src/api.ts"],
prompt: "Review {item} for security bugs. List findings as file:line — one line each.",
max_concurrent: 6
})
// → { shape:"fanout", items:[ {item, tileId, status:"turn"|"timeout"|"error", text}, … ] }
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.
- yesterday Changed affb95161ffc
- 5d ago First seen · 233 lines · 0 tokens per session scan A 284f8fcb29f8
hive-workflow is a skill published in the GitHub repository dip497/hivemind (6 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,019 tokens. 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-08-31.
Other skills, from other repositories
doubt-driven-review
In-flight adversarial check on a non-trivial decision BEFORE it stands — distinct from post-hoc review of a finished diff. Use on "stress-test this decision", "are we sure about this", "verify before commit", "poke holes in this", when working in unfamiliar code, or before an irreversible step (migration, prod deploy…
release-cut
Cut a new pi-agent-dashboard release: promote ## [Unreleased] in CHANGELOG.md, bump every workspace package.json per SemVer, commit, tag v , and push — triggering the Release workflow that publishes every non-private workspace, builds the Electron artifacts, and creates a GitHub Release. Use on "cut a release"…
faq-mine
Mine docs/faq.md from README.md, docs/.md, and the pi-hermes memory stores. Dispatches @fast subagents per source, dedupes against the existing FAQ, and merges entries in caveman style. Use when asked to "build / regenerate / extend the FAQ", "mine docs into FAQ", "mine hermes memory into FAQ", "surface runtime…
performance-optimization
Measure-first performance work. Use on triggers like "it's slow", "profile this", "optimize perf", "fix the bottleneck", "improve load time / Core Web Vitals", or when a measured regression needs fixing. Enforces measure-before-optimize. Fills a perf gap not covered by existing project skills. Not a build/ship…
project-init
Scaffold an unconfigured directory into a configured pi project. Interactive, profile-driven: previews the planned writes, then writes AGENTS.md, .pi/settings.json and prompt files — optionally also a knowledge base, an openspec/ scaffold, and user-global /.pi/agent/settings.json. Use on a bare directory, or when the…
plan-proposal
Develop-side planning orchestrator for an OpenSpec change: artifact creation → doubt-driven-review → scenario-design → fold of automated scenarios into tasks.md, then STOPS at the git-worktree boundary. Main interactive session only; never a subagent. Triggers: "plan this change", "draft the proposal and plan"…