team-delegate

team-delegate is a command for Claude Code from pedrol-cmd/brain-drin. It costs 14 tokens per session (749 once invoked), scanned A, a copy of team-delegate, MIT.

A team-workload dashboard for assigning tasks, messaging team members, and redistributing work when workloads are uneven.

In plain words
What is it for?
Use it to assign tasks, send team messages, inspect workload, and rebalance assignments.
Why use it?
It makes unassigned, blocked, and overloaded work visible so teams can respond before tasks stall.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Use it to assign tasks, send team messages, inspect workload, and rebalance assignments.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/pedrol-cmd/brain-drin/team-delegate
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.

Clone the repo
git clone --depth 1 https://github.com/pedrol-cmd/brain-drin

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 team-delegate

README.md
[![agentmods](https://agentmods.dev/badge/commands/pedrol-cmd/brain-drin/team-delegate/github.svg)](https://agentmods.dev/commands/pedrol-cmd/brain-drin/team-delegate)
Your own site
<a href="https://agentmods.dev/commands/pedrol-cmd/brain-drin/team-delegate"><img src="https://agentmods.dev/badge/commands/pedrol-cmd/brain-drin/team-delegate/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.

agentmods 80×15 button for team-delegate

Your own site · 80×15
<a href="https://agentmods.dev/commands/pedrol-cmd/brain-drin/team-delegate"><img src="https://agentmods.dev/badge/commands/pedrol-cmd/brain-drin/team-delegate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 749 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 100% copy Near-identical to another mod 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.00014 $0.00749
Opus 5.5 $0.00006 $0.00300
Sonnet 5.5 $0.00003 $0.00150
Haiku 4.5 $0.00001 $0.00075

Measured 1mo ago against content hash 42c2f327d06e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 1mo 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.

Origin

This is a copy

100% identical to team-delegate — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/team-delegate.md · 95 lines

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

  1. Parse $ARGUMENTS for 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
  2. Read team config from ~/.claude/teams/{team-name}/config.json using the Read tool

  3. Call TaskList to get current state

Action: Assign Task

If --assign flag is provided:

  1. Parse task ID and member name from task-id=member-name format
  2. Use TaskUpdate to set the task owner
  3. Use SendMessage with type: "message" to notify the member:
    • recipient: member name
    • content: "You've been assigned task #{id}: {subject}. {task description}"
  4. Confirm: "Task #{id} assigned to {member-name}"

Action: Send Message

If --message flag is provided:

  1. Parse member name and message content
  2. Use SendMessage with type: "message":
    • recipient: member name
    • content: the message content
  3. Confirm: "Message sent to {member-name}"

Action: Rebalance

If --rebalance flag is provided:

  1. 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
  2. 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
    
  3. Ask user for confirmation before executing rebalancing

  4. Execute approved moves with TaskUpdate and SendMessage

Read the full file on GitHub · 95 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. 1mo ago First seen · 95 lines · 14 tokens per session scan A 42c2f327d06e

Subscribe to this mod's changes

team-delegate is a command published in the GitHub repository pedrol-cmd/brain-drin (12 stars, last pushed 6mo ago), licensed MIT. It adds 14 tokens to every session and 749 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to team-delegate, differing in 0 lines, and is treated as a copy.