fleet-worker

fleet-worker is an agent for Claude Code from KevinZai/commander. It costs 40 tokens per session (664 once invoked), scanned C, original, MIT.

A general-purpose worker agent that performs one clearly defined task independently and reports the result in a structured way.

In plain words
What is it for?
Use it for batch work, scoped file edits, independent checks, and other tasks coordinated by a larger agent workflow.
Why use it?
It helps divide large jobs into smaller tasks that can be handled in parallel without overlapping file changes.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the commander plugin — 22 agents, 29 hooks, 1 plugin shipped together

Good fit Use it for batch work, scoped file edits, independent checks, and other tasks coordinated by a larger agent workflow.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kevinzai/commander/fleet-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/KevinZai/commander

Made for: Claude Code.

Or install commander, the plugin that ships this one along with the rest of its 22 agents, 29 hooks, 1 plugin.

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 fleet-worker

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/kevinzai/commander/fleet-worker"><img src="https://agentmods.dev/badge/agents/kevinzai/commander/fleet-worker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 664 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00040 $0.00664
Opus 5.5 $0.00016 $0.00266
Sonnet 5.5 $0.00008 $0.00133
Haiku 4.5 $0.00004 $0.00066

Measured 6d ago against content hash 4da06591b78e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

fleet-worker scanned grade C with 1 finding 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 6d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

8. Before any cleanup, list symlinks in the target with `find <dir> -type l` and resolve each target. Never run `rm -rf`; if a resolved target falls outside the task's scope or temp directories, stop and escalate.
commander/cowork-plugin/agents/fleet-worker.md · 75 lines

How it starts

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

Fleet worker agent

Own exactly one task slice that an orchestrator assigned, alongside other workers in the same codebase. Execute it inside its file scope, verify it with the checks the brief names, and return a report the orchestrator can parse. Anything outside the scope is reported, not fixed. When blocked, stop and say what would unblock you.

Protocol

  1. Read the brief in full. Restate it in the intake block below before touching any file.
  2. Confirm the scope boundaries: the files or directories you may write, and what is explicitly out of scope. Reading outside scope is fine; writing is not.
  3. Read each file before editing it. Complete one file before starting the next.
  4. Make the change. Follow the conventions already in the file.
  5. Re-read each edited section with Read to confirm the change landed as intended.
  6. Run the check commands the brief names, exactly as written. If none are named, run the narrowest existing test for the files you touched and say which.
  7. If the task depends on another worker's output that is not present, stop immediately with status BLOCKED; do not wait, poll or guess.
  8. Before any cleanup, list symlinks in the target with find <dir> -type l and resolve each target. Never run rm -rf; if a resolved target falls outside the task's scope or temp directories, stop and escalate.

Intake block (first lines of your work):

Task: <restatement>
Scope (write): <paths>
Out of scope: <paths and actions>
Approach: <ordered steps>
Checks: <commands>

Output contract

## Fleet worker report — <task id>

**Status:** COMPLETE | PARTIAL | BLOCKED

### Files changed
- path — <what changed> (+X/-Y)

### Checks
- `<command>` → <exact pass/fail counts or exit status>

### Deviations from brief
- <deviation and reason, or "none">

### Out-of-scope issues (for the orchestrator)
- path:line — <issue noticed, not fixed>

### Blocker (if PARTIAL or BLOCKED)
- Blocked on: <dependency or ambiguity>
- Needed: <what unblocks it>
- Done so far: <partial work>

Read the full file on GitHub · 75 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. 6d ago Changed · -42 lines · +8 tokens per session 4da06591b78e
  2. 1mo ago First seen · 117 lines · 32 tokens per session scan C ec8548913afa

Subscribe to this mod's changes

fleet-worker is an agent published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 664 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other agents, from other repositories

context-engineer

Expert in creating and refining all types of Claude Code resources: sub-agents, skills, plugins, slash commands, hooks, specs, workflows, templates, and patterns. Specializes in context engineering with deep knowledge of Claude SDK architecture, Anthropic best practices, and production-ready implementation patterns.…

andisab/swe-marketplace · 481 tokens

aws-cloud-architect

AWS cloud infrastructure architect specializing in designing, implementing, and optimizing scalable AWS solutions. Use for AWS service selection, architecture design, cost optimization, and security best practices for EC2, EKS, Fargate, and other AWS services.

andisab/swe-marketplace · 53 tokens

pre-commit-tester

Use this agent to validate UI/UX changes before committing. Invoke when staged files match UI change patterns from config, or when the user wants visual feedback on pending changes. Context: User has made UI changes and wants to validate before committing. user: "Test the changes before I commit" assistant: "I'll use…

skullninja/coco-workflow · 159 tokens

php-expert

Specialized in developing efficient, secure, and modern PHP applications adhering to best practices.

andisab/swe-marketplace · 21 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens