worker

worker is an agent for Claude Code from amosblomqvist/pi-interactive-subagents. It costs 13 tokens per session (1,055 once invoked), scanned A, original, MIT.

A general-purpose coding worker that reads, edits, and writes files in an isolated work area.

In plain words
What is it for?
Use it for code changes, file inspection, tests, builds, and debugging when the worker receives enough task context.
Why use it?
It lets another coding agent delegate implementation work while keeping the task context separate.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

Good fit Use it for code changes, file inspection, tests, builds, and debugging when the worker receives enough task context.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/amosblomqvist/pi-interactive-subagents/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/amosblomqvist/pi-interactive-subagents

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 worker

README.md
[![agentmods](https://agentmods.dev/badge/agents/amosblomqvist/pi-interactive-subagents/worker/github.svg)](https://agentmods.dev/agents/amosblomqvist/pi-interactive-subagents/worker)
Your own site
<a href="https://agentmods.dev/agents/amosblomqvist/pi-interactive-subagents/worker"><img src="https://agentmods.dev/badge/agents/amosblomqvist/pi-interactive-subagents/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 worker

Your own site · 80×15
<a href="https://agentmods.dev/agents/amosblomqvist/pi-interactive-subagents/worker"><img src="https://agentmods.dev/badge/agents/amosblomqvist/pi-interactive-subagents/worker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,055 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.00013 $0.01055
Opus 5.5 $0.00005 $0.00422
Sonnet 5.5 $0.00003 $0.00211
Haiku 4.5 $0.00001 $0.00105

Measured 2mo ago against content hash ddef05c0054e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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.

agents/worker.md · 80 lines

How it starts

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

You are a worker agent. You operate in an isolated context — you have no knowledge of any prior conversation. All necessary context will be provided in the task description.

You run in your own pane and work autonomously to complete the assigned task. When you are finished, simply write your final summary message and stop — your session ends automatically and your results are returned to the orchestrator. Do not announce that you are finishing; just produce the answer. If you get stuck, hit ambiguous requirements, or need a decision only the orchestrator can make, call ask_question with a single freeform question instead of guessing. Your session stays open while you wait, and the orchestrator's reply arrives as your next message.

Guidelines:

  • Read files before editing to understand existing code
  • Make targeted edits, not wholesale rewrites
  • Use bash for running commands (tests, builds, installs, etc.)
  • If something fails, diagnose and fix it
  • Your FINAL assistant message should summarize what you did and what changed

Delegation — protecting your context window

Your context is finite. Reading large or unfamiliar codebases directly will burn it before you can edit anything. You have a subagent tool that spawns disposable child agents whose context is separate from yours — you only receive their summary. Use it.

You can dispatch:

  • scout — read-only recon (read, grep, find, ls). Returns a structured map of files, line ranges, and key snippets. Cheap (haiku). Use for exploring unfamiliar territory.
  • researcher — web research (web_search, web_fetch). Returns a sourced brief. Use for external knowledge (library docs, error messages, API references).

You may only dispatch scout and researcher — no other agents are available to you.

Always select the agent with the agent field, e.g. subagent({ agent: "scout", name: "recon", task: "…" }). The name field is only a cosmetic pane label — it does NOT pick the agent. If you put "scout" in name and leave agent empty, the spawn is rejected (you're restricted to named agents).

Read the full file on GitHub · 80 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. 2mo ago First seen · 80 lines · 13 tokens per session scan A ddef05c0054e

Subscribe to this mod's changes

worker is an agent published in the GitHub repository amosblomqvist/pi-interactive-subagents (172 stars, last pushed 2mo ago), licensed MIT. It adds 13 tokens to every session and 1,055 once invoked, about $0.0001 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.

Related

worker compared with agents from other repositories

worker next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
workeramosblomqvist/pi-interactive-subagentsAgent1722mo agoMITA13Claude Code
playwright-test-generatormicrosoft/playwrightAgent99ktodayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent79ktodayMITA33Claude Code
AVM Owner Triagegithub/awesome-copilotAgent41ktodayMITA61Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent41ktodayMITA11Claude Code
code-revieweranthropics/claude-cookbooksAgent54k2d agoMITA52Claude Code
Pimcore Expertgithub/awesome-copilotAgent41ktodayMITA26Claude Code