hv-delegate

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

A command for assigning work to specialist agents according to their skills, availability, and workload. An agent is a software worker that can carry out a defined technical task.

In plain words
What is it for?
Use it to assign infrastructure, security, code review, data processing, monitoring, or deployment work, with optional required skills and priority.
Why use it?
It helps route complex work to a suitable specialist and lets you set how urgently the task should be handled.

Command for Claude Code

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.

agentmods
npx agentmods add commands/lancejames221b/agent-hivemind/hv-delegate
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-delegate

README.md
[![agentmods](https://agentmods.dev/badge/commands/lancejames221b/agent-hivemind/hv-delegate.svg)](https://agentmods.dev/commands/lancejames221b/agent-hivemind/hv-delegate)
Your own site
<a href="https://agentmods.dev/commands/lancejames221b/agent-hivemind/hv-delegate"><img src="https://agentmods.dev/badge/commands/lancejames221b/agent-hivemind/hv-delegate.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 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,951 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00012 $0.01951
Opus 5 $0.00006 $0.00975
Sonnet 5 $0.00002 $0.00390
Haiku 4.5 $0.00001 $0.00195

Measured 4d ago against content hash 1b9a63947ae1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

hv-delegate 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 4d 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-delegate.md · 217 lines

How it starts

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

hv-delegate - Smart Task Assignment

Purpose

Intelligently assign tasks to the most suitable agents in the hAIveMind collective based on expertise, availability, and current workload.

When to Use

  • Complex Infrastructure Tasks: Database optimization, server configuration, network troubleshooting
  • Security Analysis: Vulnerability assessments, incident response, penetration testing
  • Code Reviews: Pull request analysis, architecture decisions, performance optimization
  • Data Processing: ETL operations, scraping tasks, data validation
  • Monitoring Setup: Alert configuration, dashboard creation, metrics analysis
  • Deployment Operations: Service updates, rollbacks, configuration management

Syntax

hv-delegate "task description" [priority] [required_capabilities]

Parameters

  • task description (required): Clear, specific description of what needs to be done
  • priority (optional): Task urgency (defaults to medium)
    • critical: Immediate attention, blocks other work
    • high: Important, complete within hours
    • medium: Standard priority, complete within days
    • low: Nice-to-have, complete when available
  • required_capabilities (optional): Comma-separated list of required skills
    • elasticsearch_ops, database_ops, security_analysis
    • infrastructure_management, monitoring, development
    • scraping, data_processing, code_review

Agent Capability Matching

Infrastructure Specialists (lance-dev, elastic1-5)

  • Capabilities: infrastructure_management, elasticsearch_ops, cluster_management
  • Best For: Server configuration, elasticsearch tuning, cluster operations
  • Response Time: Usually < 30 minutes for critical issues

Database Specialists (mysql, mongodb, kafka)

  • Capabilities: database_ops, backup_restore, query_optimization
  • Best For: Database tuning, backup/restore, performance optimization
  • Response Time: Usually < 1 hour for database issues

Read the full file on GitHub · 217 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. 4d ago First seen · 217 lines · 0 tokens per session scan A 1b9a63947ae1

Subscribe to this mod's changes

hv-delegate is a command published in the GitHub repository lancejames221b/agent-hivemind (7 stars, last pushed 1mo ago), licensed MIT. It adds 12 tokens to every session and 1,951 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.