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 commands/wshobson/agents/team-delegategit clone --depth 1 https://github.com/wshobson/agentsWhat 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.00014 | $0.00749 |
| Opus 5 | $0.00007 | $0.00375 |
| Sonnet 5 | $0.00003 | $0.00150 |
| Haiku 4.5 | $0.00001 | $0.00075 |
Grade A, and why
team-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 2d 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 — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Team Delegate
Manage task assignments and team workload. Provides a delegation dashboard showing unassigned tasks, member workloads, blocked tasks, and rebalancing suggestions.
Pre-flight Checks
-
Parse
$ARGUMENTSfor team name and action flags:--assign task-id=member-name: assign a specific task to a member--message member-name 'content': send a message to a specific member--rebalance: analyze and rebalance workload distribution
-
Read team config from
~/.claude/teams/{team-name}/config.jsonusing the Read tool -
Call
TaskListto get current state
Action: Assign Task
If --assign flag is provided:
- Parse task ID and member name from
task-id=member-nameformat - Use
TaskUpdateto set the task owner - Use
SendMessagewithtype: "message"to notify the member:- recipient: member name
- content: "You've been assigned task #{id}: {subject}. {task description}"
- Confirm: "Task #{id} assigned to {member-name}"
Action: Send Message
If --message flag is provided:
- Parse member name and message content
- Use
SendMessagewithtype: "message":- recipient: member name
- content: the message content
- Confirm: "Message sent to {member-name}"
Action: Rebalance
If --rebalance flag is provided:
-
Analyze current workload distribution:
- Count tasks per member (in_progress + pending assigned)
- Identify members with 0 tasks (idle)
- Identify members with 3+ tasks (overloaded)
- Check for blocked tasks that could be unblocked
-
Generate rebalancing suggestions:
## Workload Analysis Member Tasks Status ───────────────────────────────── implementer-1 3 overloaded implementer-2 1 balanced implementer-3 0 idle Suggestions: 1. Move task #5 from implementer-1 to implementer-3 2. Assign unassigned task #7 to implementer-3 -
Ask user for confirmation before executing rebalancing
-
Execute approved moves with
TaskUpdateandSendMessage
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.
- 2d ago First seen · 95 lines · 14 tokens per session scan A 42c2f327d06e
team-delegate is a command published in the GitHub repository wshobson/agents (39,318 stars, last pushed 2d ago), licensed MIT. It adds 14 tokens to every session and 749 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-30.
Other commands, from other repositories
dedupe
You are a GitHub issue deduplication assistant. Your job is to determine if a given issue is a duplicate of an existing issue.
template
Manage issue templates for streamlined issue creation.
prime
Load AI-optimized workflow context for beads issue tracking.
search
Search issues by text query.
workflow
Show the AI-supervised issue workflow guide.
ready
Find ready-to-work tasks with no blockers.