agent-hivemind: Command for Claude Code

.claude/commands/hv-broadcast.md

hv-broadcast is a command for Claude Code from lancejames221b/agent-hivemind. It costs 11 tokens per session (1,384 once invoked), scanned A, original, MIT.

A command for sending an important technical finding to every agent in a shared group. Findings can cover security, infrastructure, incidents, deployments, monitoring, or operating procedures.

In plain words
What is it for?
Use it to share vulnerabilities, outages and their fixes, infrastructure changes, deployment updates, resource warnings, and operational practices with a severity level.
Why use it?
It makes sure other agents know about urgent changes, failures, risks, and useful lessons without each one having to discover them separately.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is lancejames221b/agent-hivemind's own configuration. It tells Claude Code how to work on agent-hivemind 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 agent-hivemind configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lancejames221b/agent-hivemind. 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/lancejames221b/agent-hivemind/master/.claude/commands/hv-broadcast.md
Clone the repo
git clone --depth 1 https://github.com/lancejames221b/agent-hivemind

Made for: Claude Code.

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 hv-broadcast

README.md
[![agentmods](https://agentmods.dev/badge/commands/lancejames221b/agent-hivemind/hv-broadcast.svg)](https://agentmods.dev/commands/lancejames221b/agent-hivemind/hv-broadcast)
Your own site
<a href="https://agentmods.dev/commands/lancejames221b/agent-hivemind/hv-broadcast"><img src="https://agentmods.dev/badge/commands/lancejames221b/agent-hivemind/hv-broadcast.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,384 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 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.00011 $0.01384
Opus 5 $0.00005 $0.00692
Sonnet 5 $0.00002 $0.00277
Haiku 4.5 $0.00001 $0.00138

Measured 7d ago against content hash e606f16fc1d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

hv-broadcast 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 7d 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.

.claude/commands/hv-broadcast.md · 161 lines

How it starts

The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.

hv-broadcast - Share Critical Findings

Purpose

Broadcast important discoveries, incidents, or findings to all agents in the hAIveMind collective for immediate awareness and coordinated response.

When to Use

  • Security Vulnerabilities: Found SQL injection, unauthorized access, or security breaches
  • Infrastructure Changes: Load balancer updates, service migrations, configuration changes
  • Incident Resolutions: Database deadlocks, service outages, performance issues resolved
  • Best Practices: Lessons learned, successful procedures, optimization techniques
  • Resource Alerts: High CPU usage, memory leaks, storage capacity warnings
  • Deployment Updates: New releases, rollbacks, service updates

Syntax

hv-broadcast "[message]" [category] [severity]

Parameters

  • message (required): Clear, actionable description of the finding
  • category (required): Type of finding
    • security: Security vulnerabilities, breaches, patches
    • infrastructure: Server changes, network updates, configuration
    • incident: Service outages, performance issues, failures
    • deployment: Releases, rollbacks, updates
    • monitoring: Alerts, metrics, threshold breaches
    • runbook: Procedures, scripts, operational updates
  • severity (optional): Urgency level (defaults to info)
    • critical: Immediate action required, system-wide impact
    • warning: Attention needed, potential impact
    • info: General awareness, no immediate action

Real-World Examples

Security Finding

hv-broadcast "SQL injection vulnerability found in auth service /login endpoint - patch deployed" security critical

Result: All security-focused agents immediately begin vulnerability assessment across similar endpoints

Infrastructure Update

hv-broadcast "Load balancer configuration updated with health check intervals changed to 30s" infrastructure info

Result: Monitoring agents adjust alerting thresholds, database agents expect different connection patterns

Read the full file on GitHub · 161 lines

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. 7d ago First seen · 161 lines · 11 tokens per session scan A e606f16fc1d8

Subscribe to this mod's changes

hv-broadcast is a command published in the GitHub repository lancejames221b/agent-hivemind (7 stars, last pushed 1mo ago), licensed MIT. It adds 11 tokens to every session and 1,384 once invoked, about $0.0001 per session on Opus 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-08-31.