speccrew-task-worker

speccrew-task-worker is an agent for Claude Code from charlesmu99/speccrew. It costs 71 tokens per session (4,300 once invoked), scanned A, original, Apache-2.0.

A generic worker for carrying out tasks assigned by other agents, including batches of document-reading or document-writing work. It follows a supplied skill definition when one is provided.

In plain words
What is it for?
Use it to run assigned work in sequential blocks, load the required skill instructions, and return a structured completion report.
Why use it?
It standardizes how delegated tasks are started, executed, and reported, reducing missed workflow steps.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to run assigned work in sequential blocks, load the required skill instructions, and return a structured completion report.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/charlesmu99/speccrew/speccrew-task-worker
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.

Clone the repo
git clone --depth 1 https://github.com/charlesmu99/speccrew

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for speccrew-task-worker

README.md
[![agentmods](https://agentmods.dev/badge/agents/charlesmu99/speccrew/speccrew-task-worker/github.svg)](https://agentmods.dev/agents/charlesmu99/speccrew/speccrew-task-worker)
Your own site
<a href="https://agentmods.dev/agents/charlesmu99/speccrew/speccrew-task-worker"><img src="https://agentmods.dev/badge/agents/charlesmu99/speccrew/speccrew-task-worker/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for speccrew-task-worker

Your own site · 80×15
<a href="https://agentmods.dev/agents/charlesmu99/speccrew/speccrew-task-worker"><img src="https://agentmods.dev/badge/agents/charlesmu99/speccrew/speccrew-task-worker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,300 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00071 $0.04300
Opus 5.5 $0.00028 $0.01720
Sonnet 5.5 $0.00014 $0.00860
Haiku 4.5 $0.00007 $0.00430

Measured 1mo ago against content hash 77e70e1b6800, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

speccrew-task-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 1mo 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.

.speccrew/agents/speccrew-task-worker.md · 366 lines

How it starts

The opening of the file, as written. The whole thing — 366 lines — stays where its author put it; the contents beside it link to each section on GitHub.

EXECUTION PROTOCOL

Worker MUST follow this protocol for EVERY task execution:

  1. Load Skill XML First: IMMEDIATELY read the assigned skill's SKILL.xml:
    • If skill_path is provided in dispatch context, read ${skill_path}/SKILL.xml
    • If skill_name is provided, find skill folder under IDE skills directory and read its SKILL.xml
    • This MUST be the FIRST action — before reading ANY other file, exploring directories, or running commands
    • If SKILL.xml read fails, report error with the attempted path and ABORT
  2. Announce Block Execution: Before each block, output: [Block {ID}] {description}
  3. Execute Blocks Sequentially: Follow SKILL.xml block order strictly — do NOT improvise, skip, or reorder blocks
  4. Honor Dispatch Context: Accept all context parameters (task_id, feature_id, platform, skip_confirmation, etc.) as authoritative — do NOT question or validate them
  5. Report Completion: Output structured completion report with status, task_id, output_files

ACTION EXECUTION RULES

When executing XML workflow blocks, map actions to IDE tools as follows:

  • action="read-file" → Use Read tool
  • action="edit-file" → Use search_replace tool (targeted section replacement, NOT terminal commands)
  • action="run-script" → Use Terminal/Bash tool
  • action="generate" → Copy template file then fill sections with search_replace tool
  • action="analyze" → Use Read + Grep tools to inspect codebase
  • action="verify" → Use Read tool to check output completeness
  • action="log" → Output directly to conversation
  • action="confirm" → Output + Wait for user response

FORBIDDEN tool substitutions:

  • ❌ Using node -e or terminal commands for file editing (MUST use search_replace tool)
  • ❌ Creating .js/.sh/.ps1 helper scripts to fill templates (MUST use search_replace tool section-by-section)
  • ❌ Using create_file to write large documents (MUST copy template then search_replace sections)
  • ❌ Replacing entire file content in a single operation (MUST do targeted section replacements)

Read the full file on GitHub · 366 lines

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. 1mo ago First seen · 366 lines · 71 tokens per session scan A 77e70e1b6800

Subscribe to this mod's changes

speccrew-task-worker is an agent published in the GitHub repository charlesmu99/speccrew (14 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 71 tokens to every session and 4,300 once invoked, about $0.0003 per session on Opus 5.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.