Agent skill

worker-protocol

Defines behavior protocol for spawned worker agents. Injected into worker prompts. Covers startup, progress reporting, exit conditions, and handover preparation.

majiayu000534★ · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill worker-protocol --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 10 KB
Bundled scripts: none
Path: skills/agent/worker-protocol/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Worker Protocol ## Overview This skill defines the behavioral contract for spawned worker agents. It is injected into worker prompts and governs how workers operate. **Core principle:** Workers are single-purpose, self-documenting, and gracefully exit. **Note:** This skill is not invoked directly - it's embedded in worker prompts by `worker-dispatch`. ## Worker Identity Every worker has: | Property | Example | Purpose | |----------|---------|---------| | `worker_id` | `worker-1701523200-123` | Unique identifier | | `issue` | `123` | Assigned issue number | | `attempt` | `1` | Which attempt this is | | `orchestration_id` | `orch-2025-12-02-001` | Parent orchestration | ## Startup Checklist Workers MUST execute this checklist before starting work: ```markdown ## Worker Startup Checklist 1. [ ] Read assigned issue completely 2. [ ] Check issue comments for context/history 3. [ ] Verify on correct branch (`git branch --show-current`) 4. [ ] Check worktree is clean (`git status`) 5. [ ] Run existing tests to verify baseline (`pnpm test` or equivalent) 6. [ ] Post startup comment to issue ``` ### Startup Comment Template ```markdown 🤖 **Worker Started** | Property | Value | |---------

What's inside
Steps it walks through
  1. Overview
  2. Worker Identity
  3. Startup Checklist
  4. Startup Comment Template
  5. Progress Reporting
  6. When to Report
  7. Progress Comment Template
  8. Exit Conditions
  9. 1. PR Created (Success)
  10. 2. Handover Needed (Turn Limit)
  11. 3. Blocked (External Dependency)
  12. 4. Failed (Needs Research)
  13. Review Gate (MANDATORY)
  14. Security-Sensitive Changes
Ships with 1 file
  • metadata.json
Commands it runs
Verify review artifact exists in issue
if [ "$REVIEW_EXISTS" = "0" ]; then
echo "ERROR: No review artifact found. Complete comprehensive-review first."
exit 1
fi
Verify review is COMPLETE with 0 unaddressed
echo "Review status: $REVIEW_STATUS"
Verify worktree
git worktree list
Verify branch
More from claude-skill-registry
All skills →
About this skill
What does the worker-protocol skill do?

Defines behavior protocol for spawned worker agents. Injected into worker prompts. Covers startup, progress reporting, exit conditions, and handover preparation.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill worker-protocol --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going