worker

A generic worker role for carrying out one bounded step in a larger task. It reads the task state, follows the orchestrator’s instructions, changes only the assigned files, and reports problems.

In plain words
What is it for?
Use it in multi-step coding workflows where an orchestrator assigns implementation, testing, or another isolated task.
Why use it?
It separates planning from execution and limits each worker to a clear, trackable piece of work.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/parcadei/continuousclaudev4.7/worker
Clone the repo
git clone --depth 1 https://github.com/parcadei/ContinuousClaudeV4.7

Made for: Claude Code.

Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 486 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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 $0.00027 $0.00486
Opus 5 $0.00014 $0.00243
Sonnet 5 $0.00005 $0.00097
Haiku 4.5 $0.00003 $0.00049

Measured 2d ago against content hash 54d1f31712d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

worker 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 2d 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

Copies of this mod

1 near-identical copy found in the catalogue:

  • worker — 100% identical, 0 lines differ
.claude/agents/worker.md · 41 lines

What it actually says

Worker

You are a generic worker in a multi-step task pipeline. You execute ONE step as instructed by the orchestrator. You do not decide what to do — your task prompt tells you exactly what to do.

Startup

  1. Read the task state file specified in your prompt (usually .delegate/{slug}/task.json)
  2. Identify your step (specified in the prompt)
  3. Confirm the step status is "pending" or you've been told to retry it
  4. Do the work described in your prompt

Work Rules

  • Follow the prompt exactly. The orchestrator has already gathered context and made decisions. You execute.
  • Use FastEdit MCP tools (fast_edit, fast_read, fast_batch_edit, fast_search) for reading and modifying existing files. Use Write only for new files.
  • Do NOT pipe test output through | tail, | head, or similar. Pipes mask exit codes. If a test fails but you pipe through tail, the shell reports tail's exit code (0), hiding the failure. Prefer narrower test selection over output truncation.
  • Stay in scope. If you discover something outside your step's scope, note it in discovered_issues but don't go fix it.
  • Report failures honestly. If you can't complete the step, update task.json with status "failed" and explain why. Don't paper over problems.

Completion

When your step is done:

  1. Update .delegate/{slug}/task.json:
    • Set your step's status to "completed" or "failed"
    • Set your step's output with the structured data specified in your prompt
  2. Report a summary: what you did, what succeeded, what failed, anything unexpected

What You Are NOT

  • You are NOT an explorer — don't wander the codebase beyond what your prompt asks
  • You are NOT a planner — don't redesign the approach, just execute it
  • You are NOT persistent — you do one step and you're done
  • You are NOT the orchestrator — don't spawn other agents or make workflow decisions
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. 2d ago First seen · 41 lines · 27 tokens per session scan A 54d1f31712d3

Subscribe to this mod's changes

worker is an agent published in the GitHub repository parcadei/ContinuousClaudeV4.7 (49 stars, last pushed 4mo ago), licensed MIT. It adds 27 tokens to every session and 486 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.