Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
wshobson avatar

Team Communication Protocols

  • 7.3k installs
  • 38.3k repo stars
  • Updated July 22, 2026
  • wshobson/agents

Structured protocols for agent team communication including message types (message, broadcast, shutdown_request), plan approval workflows, shutdown sequences, and anti-patterns to avoid in multi-agent coordination.

About

Defines structured communication protocols for agent teams using message, broadcast, and shutdown_request types. Developers use this when establishing communication norms for newly spawned teams, coordinating integration handoffs between parallel implementers, or managing graceful team shutdown after task completion. Includes plan approval workflows where teammates create plans in read-only mode then request lead review via ExitPlanMode, and troubleshooting patterns for deadlocks, rejected shutdowns, and broadcast overuse. Key workflows cover message type selection (direct vs broadcast), teammate discovery via config.json, and anti-patterns like broadcasting routine updates or micromanaging via messages.

  • Message type selection: direct message for coordination, broadcast only for critical shared changes, shutdown_request fo
  • Plan approval workflow: teammate explores read-only, calls ExitPlanMode, lead approves or rejects with feedback via plan
  • Shutdown protocol: lead sends shutdown_request to each teammate, handles rejections by waiting for task completion, then
  • Teammate discovery via ~/.claude/teams/{team-name}/config.json using name field, never agentId or role names
  • Anti-patterns documented: broadcasting routine updates wastes N messages per broadcast, not communicating at integration

Team Communication Protocols by the numbers

  • 7,316 all-time installs (skills.sh)
  • +165 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #111 of 16,659 AI & Agent Building skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

team-communication-protocols capabilities & compatibility

Capabilities
message type selection · plan approval workflow · shutdown protocol · teammate discovery · anti pattern detection · deadlock resolution
Use cases
orchestration · planning
Pricing
Free
From the docs

What team-communication-protocols says it does

Each broadcast sends N separate messages (one per teammate), consuming API resources proportional to team size.
SKILL.md
npx skills add https://github.com/wshobson/agents --skill team-communication-protocols

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs7.3k
repo stars38.3k
Security audit3 / 3 scanners passed
Last updatedJuly 22, 2026
Repositorywshobson/agents

What it does

Coordinate message types, plan approvals, and shutdown sequences between agent teammates in multi-agent systems.

Who is it for?

Establishing communication norms for newly spawned agent teams, coordinating integration handoffs between parallel implementers, managing plan approval workflows, orchestrating graceful team shutdown.

Skip if: Single-agent workflows, human-to-agent communication, real-time chat systems, cross-team communication outside the Agent Teams framework.

When should I use this skill?

Spawning a new team, choosing between message types, implementing plan approval, coordinating integration points, debugging why teammates are not coordinating, initiating team shutdown.

What you get

Agent teammates communicate effectively using appropriate message types, follow plan approval workflows, shut down gracefully, and avoid anti-patterns that waste resources or cause coordination failures.

  • Task assignment messages
  • Integration notifications
  • Blocker reports

By the numbers

  • 3 message types: message, broadcast, shutdown_request
  • broadcasts send N messages (one per teammate)
  • 11 documented anti-patterns

Files

SKILL.mdMarkdownGitHub ↗

Team Communication Protocols

Protocols for effective communication between agent teammates, including message type selection, plan approval workflows, shutdown procedures, and common anti-patterns to avoid.

When to Use This Skill

  • Establishing communication norms for a new team
  • Choosing between message types (message, broadcast, shutdown_request)
  • Handling plan approval workflows
  • Managing graceful team shutdown
  • Discovering teammate identities and capabilities

Message Type Selection

message (Direct Message) — Default Choice

Send to a single specific teammate:

{
  "type": "message",
  "recipient": "implementer-1",
  "content": "Your API endpoint is ready. You can now build the frontend form.",
  "summary": "API endpoint ready for frontend"
}

Use for: Task updates, coordination, questions, integration notifications.

broadcast — Use Sparingly

Send to ALL teammates simultaneously:

{
  "type": "broadcast",
  "content": "Critical: shared types file has been updated. Pull latest before continuing.",
  "summary": "Shared types updated"
}

Use ONLY for: Critical blockers affecting everyone, major changes to shared resources.

Why sparingly?: Each broadcast sends N separate messages (one per teammate), consuming API resources proportional to team size.

shutdown_request — Graceful Termination

Request a teammate to shut down:

{
  "type": "shutdown_request",
  "recipient": "reviewer-1",
  "content": "Review complete, shutting down team."
}

The teammate responds with shutdown_response (approve or reject with reason).

Communication Anti-Patterns

Anti-PatternProblemBetter Approach
Broadcasting routine updatesWastes resources, noiseDirect message to affected teammate
Sending JSON status messagesNot designed for structured dataUse TaskUpdate to update task status
Not communicating at integration pointsTeammates build against stale interfacesMessage when your interface is ready
Micromanaging via messagesOverwhelms teammates, slows workCheck in at milestones, not every step
Using UUIDs instead of namesHard to read, error-proneAlways use teammate names
Ignoring idle teammatesWasted capacityAssign new work or shut down

Plan Approval Workflow

When a teammate is spawned with plan_mode_required:

1. Teammate creates a plan using read-only exploration tools 2. Teammate calls ExitPlanMode which sends a plan_approval_request to the lead 3. Lead reviews the plan 4. Lead responds with plan_approval_response:

Approve:

{
  "type": "plan_approval_response",
  "request_id": "abc-123",
  "recipient": "implementer-1",
  "approve": true
}

Reject with feedback:

{
  "type": "plan_approval_response",
  "request_id": "abc-123",
  "recipient": "implementer-1",
  "approve": false,
  "content": "Please add error handling for the API calls"
}

Shutdown Protocol

Graceful Shutdown Sequence

1. Lead sends shutdown_request to each teammate 2. Teammate receives request as a JSON message with type: "shutdown_request" 3. Teammate responds with shutdown_response:

  • approve: true — Teammate saves state and exits
  • approve: false + reason — Teammate continues working

4. Lead handles rejections — Wait for teammate to finish, then retry 5. After all teammates shut down — Call TeamDelete to remove team resources

Handling Rejections

If a teammate rejects shutdown:

  • Check their reason (usually "still working on task")
  • Wait for their current task to complete
  • Retry shutdown request
  • If urgent, user can force shutdown

Teammate Discovery

Find team members by reading the config file:

Location: ~/.claude/teams/{team-name}/config.json

Structure:

{
  "members": [
    {
      "name": "security-reviewer",
      "agentId": "uuid-here",
      "agentType": "team-reviewer"
    },
    {
      "name": "perf-reviewer",
      "agentId": "uuid-here",
      "agentType": "team-reviewer"
    }
  ]
}

Always use `name` for messaging and task assignment. Never use agentId, role names, or unsuffixed aliases directly. If a teammate was spawned as team-lead-2, send to team-lead-2, not team-lead.

Troubleshooting

A teammate is not responding to messages. Check the teammate's task status. If it is idle, it may have completed its task and is waiting to be assigned new work or shut down. If it is still active, it may be mid-execution and will process messages once the current operation finishes.

A teammate says it cannot see SendMessage. Check the teammate agent's tools: frontmatter. Agent Teams communication tools such as SendMessage, TaskList, TaskGet, and TaskUpdate must be listed explicitly when an agent uses a restricted tool allowlist.

The lead is sending broadcasts for every status update. This is a common anti-pattern. Broadcasts are expensive — each one sends N messages. Use direct messages (type: "message") for point-to-point updates. Reserve broadcasts for critical shared-resource changes like an updated interface contract.

A teammate rejected a shutdown request unexpectedly. The teammate is still working. Check the rejection reason in the shutdown_response content field, wait for the work to finish, then retry. Never force-terminate a teammate that has unsaved work.

A plan_approval_request arrived but the request_id is missing. The teammate called ExitPlanMode without the required request context. Have the teammate re-enter plan mode, complete exploration, and call ExitPlanMode again. The request_id is generated automatically by the plan mode system.

Two teammates are waiting on each other and neither is making progress. This is a deadlock: both are blocked waiting for the other to finish first. The lead should send a direct message to one teammate with a stub or partial result so it can unblock and proceed.

Related Skills

  • team-composition-patterns — Select agent types and team size before establishing communication norms
  • parallel-feature-development — Use communication protocols to coordinate integration handoffs between parallel implementers

Related skills

How it compares

Agent-to-agent coordination templates; use team-composition-patterns to pick reviewer versus implementer roles first.

FAQ

When should I use broadcast instead of direct message?

Use broadcast ONLY for critical blockers affecting everyone or major changes to shared resources. Broadcasts send N separate messages (one per teammate), consuming API resources proportional to team size. For routine updates, use direct message to affected teammate.

How does the plan approval workflow work?

Teammate creates plan using read-only tools, calls ExitPlanMode which sends plan_approval_request to lead, lead reviews and responds with plan_approval_response (approve: true or approve: false with feedback), teammate proceeds or revises based on response.

What if a teammate rejects a shutdown request?

Check the rejection reason in shutdown_response content field (usually still working on task), wait for their current task to complete, then retry shutdown request. Never force-terminate a teammate with unsaved work.

Is Team Communication Protocols safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.