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 skills add mercurialsolo/claudectl --skill hivegit clone --depth 1 https://github.com/mercurialsolo/claudectlWrote 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/mercurialsolo/claudectl/hive)<a href="https://agentmods.dev/skills/mercurialsolo/claudectl/hive"><img src="https://agentmods.dev/badge/skills/mercurialsolo/claudectl/hive/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.
<a href="https://agentmods.dev/skills/mercurialsolo/claudectl/hive"><img src="https://agentmods.dev/badge/skills/mercurialsolo/claudectl/hive.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00095 | $0.01802 |
| Opus 5.5 | $0.00038 | $0.00721 |
| Sonnet 5.5 | $0.00019 | $0.00360 |
| Haiku 4.5 | $0.00010 | $0.00180 |
Grade A, and why
Hive 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 29d 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.
How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
claudectl Hive
claudectl links machines in two layers. Keep them apart when you explain or act:
- Relay connects machines: encrypted TCP links made by pairing. It carries work and state:
relay fleet(every session on every machine),relay delegate,relay send-session. - Hive is the knowledge shared over those links: distilled approve/deny preferences, insights, and skills the user chose to share. Peers gossip it and weight it by trust; local knowledge wins a conflict.
The hive needs the relay. The relay does not need the hive. An unnamed hive is simply everyone this machine has paired with; naming it gives it membership rules (a join policy) on top of pairing.
First, look
Run these before changing anything, and report what they say:
claudectl --version # both machines should run the same version
claudectl hive identity # "unnamed", or the hive's name and join policy
claudectl hive status # membership, units, gossip sync per peer
claudectl relay peers # paired machines: live / stale / never, last heard, address
Is a relay already listening? On macOS the background agent is io.claudectl.relay:
launchctl list | grep io.claudectl.relay
lsof -nP -iTCP -sTCP:LISTEN | grep claudectl
Start a hive (the host)
- Keep a relay running. Prefer the background agent over a foreground
relay serve, because it survives logout:claudectl relay install-agent - Name the hive.
askmakes every join wait for the owner's approval, which is the right default when anyone other than the owner will join:
Never pickclaudectl hive identity set --name <name> --description "<what it is for>" --join-policy ask--join-policy openon your own initiative. It lets any machine that sees the LAN broadcast join without approval. Only set it when the user asks for it by name. - Mint an invite and hand it to the user:
The invite carries the pairing secret. Give it to the user to pass on privately. Do not post it to a channel, issue, PR or any shared document.claudectl hive invite --words # link, relay code and word phrase claudectl hive invite --qr # QR of the link
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.
- 29d ago Changed 22258f08ddf9
- 1mo ago First seen · 113 lines · 95 tokens per session scan A ef8b06c388f7
Hive is a skill published in the GitHub repository mercurialsolo/claudectl (205 stars, last pushed 1mo ago), licensed MIT. It adds 95 tokens to every session and 1,802 once invoked, about $0.0004 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-10-23.
Hive compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Hivemercurialsolo/claudectl | Skill | 205 | 1mo ago | MIT | A | 95 | Claude Code |
| codew-release-qa-sweepHmbown/CodeWhale | Skill | 41k | 3d ago | MIT | A | 31 | Claude Code, Codex |
| gh-find-prsHmbown/CodeWhale | Skill | 41k | 3d ago | MIT | A | 27 | Claude Code, Codex |
| best-of-nHmbown/CodeWhale | Skill | 41k | 3d ago | MIT | A | 32 | Claude Code, Codex |
| contributor-onboardingHmbown/CodeWhale | Skill | 41k | 3d ago | MIT | A | 57 | Claude Code, Codex |
| fleet-managerHmbown/CodeWhale | Skill | 41k | 3d ago | MIT | A | 25 | Claude Code, Codex |
| handoffHmbown/CodeWhale | Skill | 41k | 3d ago | MIT | A | 70 | Claude Code, Codex |