subagent-protocol

Coordinates multi-agent dispatch, status reporting, and two-stage review workflows.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/toderian/project_template --skill subagent-protocol-toderian
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subagent-protocol
Source: https://github.com/toderian/project_template/tree/main/plugins/agents-core/skills/subagent-protocol
Command: npx skills add https://github.com/toderian/project_template --skill subagent-protocol-toderian

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Multi-agent work fails when subagents return vague results, parents lose track of state, or reviews trust self-reports. This Skill defines a shared protocol so dispatched subagents report structured statuses, parents route escalations consistently, and reviews verify implementation against specs before judging quality. ## Core Features & Use Cases - Status vocabulary and report format: Every subagent ends with DONE, DONE_WITH_CONCERNS, NEEDS_CONTEXT, or BLOCKED plus a structured report block, so parents can route escalation deterministically. - Dispatch briefing format: Self-contained prompts with task description, acceptance criteria, scope fence, personality role card, context files, and model hints. - Two-stage review and fix loop: Spec compliance is verified before code quality, with a capped three-round fix loop and recorded rulings for unresolved findings. - Use Case: You dispatch an implementer subagent to build a feature slice, then send the diff to a fresh-eyes reviewer subagent that verifies each acceptance criterion against the actual code before you merge. ## Quick Start Ask the agent to dispatch a subagent for a well-scoped task using the subagent protocol, with a self-contained brief and a structured status report.

Frequently Asked Questions about subagent-protocol

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I dispatch a subagent for a coding task?

Build a self-contained briefing prompt with a task description, testable acceptance criteria, a scope fence of allowed files, a personality role card, an explicit list of context files to read, and a model hint. Never assume the subagent inherits parent session context.

When should I use multiple agents instead of one?

Dispatch subagents only when the task splits into independent subproblems, specialized roles materially improve reliability, context would overflow one session, or parallelism justifies coordination cost. Tightly coupled work should stay single-agent with sequential role emulation.

What statuses should a subagent report when finished?

Subagents end with DONE, DONE_WITH_CONCERNS, NEEDS_CONTEXT, or BLOCKED, plus a structured report block with summary, concerns, blocking items, and files changed. Specialized agents may add domain verdicts but must keep the shared top-level status line.

How do I review subagent implementation output?

Review in two stages: first verify spec compliance against the brief's acceptance criteria, then assess code quality. Reviewers should read the actual diff rather than trusting the implementer's self-report, and a spec failure sends work back before quality review.

What happens when a subagent gets blocked or fails review?

For BLOCKED, the parent triages by adding context, splitting the task, or escalating. For failed reviews, run at most three fix rounds with the verbatim findings list, then adjudicate remaining findings with a recorded ruling instead of re-dispatching identical prompts.

Which model should I use for different subagent tasks?

Use the fastest model class for exploration and file lookup, fast models for mechanical implementation with a detailed plan, default class for multi-file integration, and the strongest class for architecture, complex review, or a third fix round after two failures.