worker-protocol
Defines behavior protocol for spawned worker agents. Injected into worker prompts. Covers startup, progress reporting, exit conditions, and handover preparation.
Profile →npx skills add majiayu000/claude-skill-registry --skill worker-protocol --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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 | |---------
- Overview
- Worker Identity
- Startup Checklist
- Startup Comment Template
- Progress Reporting
- When to Report
- Progress Comment Template
- Exit Conditions
- 1. PR Created (Success)
- 2. Handover Needed (Turn Limit)
- 3. Blocked (External Dependency)
- 4. Failed (Needs Research)
- Review Gate (MANDATORY)
- Security-Sensitive Changes
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
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.