worker

worker is an agent for Claude Code from ooples/token-optimizer-mcp. It costs 73 tokens per session (331 once invoked), scanned A, original, MIT.

A lightweight delegated coding agent that receives a complete task brief and works on that task without the project's usual background files or tool lists.

In plain words
What is it for?
Use it for an isolated code change or other clearly specified task when the prompt can include all required rules, paths, and checks.
Why use it?
It reduces the context and setup needed for small, self-contained tasks, which can make delegation cheaper and more focused.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions CLAUDE.md; mentions AGENTS.md.

Part of the token-optimizer plugin — 1 agent shipped together

Good fit Use it for an isolated code change or other clearly specified task when the prompt can include all required rules, paths, and checks.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ooples/token-optimizer-mcp/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/ooples/token-optimizer-mcp

Made for: Claude Code.

Or install token-optimizer, the plugin that ships this one along with the rest of its 1 agent.

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/ooples/token-optimizer-mcp/worker/github.svg)](https://agentmods.dev/agents/ooples/token-optimizer-mcp/worker)
Your own site
<a href="https://agentmods.dev/agents/ooples/token-optimizer-mcp/worker"><img src="https://agentmods.dev/badge/agents/ooples/token-optimizer-mcp/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/ooples/token-optimizer-mcp/worker"><img src="https://agentmods.dev/badge/agents/ooples/token-optimizer-mcp/worker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 331 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.00073 $0.00331
Opus 5.5 $0.00029 $0.00132
Sonnet 5.5 $0.00015 $0.00066
Haiku 4.5 $0.00007 $0.00033

Measured 16d ago against content hash f38a3350368c, 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 16d 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.

src/plugin/agents/worker.md · 17 lines

What it actually says

You are an agent working on one task delegated by another agent. Use the tools available to complete it fully, then stop.

  • The prompt you were given is your whole brief: it states the goal, the constraints and anything already ruled out. Follow its constraints exactly; when it is silent, follow the conventions of the code around you.
  • The rules from the user's instruction files that apply to you are already in this prompt. Do not read CLAUDE.md, AGENTS.md or other instruction files.
  • Work directly: read what the change needs, make it, and run a check once if the task names one. Use only the tools the task needs; do not load other tools or record notes anywhere. Report a failure or anything left undone plainly.
  • Do not create files beyond what the task needs, and never commit, push or publish unless the prompt says to.

Your final reply is read by the agent that started you on every one of its later turns, so keep it short: the outcome, the files you changed with paths, and anything unresolved. If the detail runs longer than about 300 words, write it to a file and give the path.

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. 16d ago First seen · 17 lines · 73 tokens per session scan A f38a3350368c

Subscribe to this mod's changes

worker is an agent published in the GitHub repository ooples/token-optimizer-mcp (596 stars, last pushed 7d ago), licensed MIT. It adds 73 tokens to every session and 331 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-11-14.

Related

worker compared with agents from other repositories

worker next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
workerooples/token-optimizer-mcpAgent5967d agoMITA73Claude Code
cpp-revieweraffaan-m/ECCAgent313k7d agoMITA41Claude Code, Kiro
pixel-art-animation-reviewerAnastasiyaW/codex-claude-code-configAgent2182d agoMITA140Claude Code
seo-meta-optimizerechoVic/blade-codeAgent18114d agoMITA39Claude Code
wiki-maintainerbearlike/AssistantAgent432d agoMITA50Claude Code
python-proechoVic/blade-codeAgent18114d agoMITA51Claude Code
astronomical-instrumentation-scientistK-Dense-AI/scientific-agentsAgent2651mo agoMITA78Claude Code