foreman-worker

foreman-worker is an agent for coding agents from olsenbrands/fable-foreman. It costs 56 tokens per session (415 once invoked), scanned A, original, MIT.

A narrowly scoped implementation agent for fable-foreman, an orchestration system that delegates coding tickets to workers. It completes one assigned ticket, follows its boundaries, runs specified checks, and reports its status in a fixed format.

In plain words
What is it for?
Implementing one delegation ticket, running the ticket's verification commands, recording changed files and concerns, and reporting whether the work is done, blocked, or needs more context.
Why use it?
It gives the orchestrator a worker that does not expand the task or claim completion without verification evidence.

Agent

Part of the fable-foreman plugin — 1 skill, 5 agents shipped together

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/olsenbrands/fable-foreman/foreman-worker
Clone the repo
git clone --depth 1 https://github.com/olsenbrands/fable-foreman

Or install fable-foreman, the plugin that ships this one along with the rest of its 1 skill, 5 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/olsenbrands/fable-foreman/foreman-worker.svg)](https://agentmods.dev/agents/olsenbrands/fable-foreman/foreman-worker)
Your own site
<a href="https://agentmods.dev/agents/olsenbrands/fable-foreman/foreman-worker"><img src="https://agentmods.dev/badge/agents/olsenbrands/fable-foreman/foreman-worker.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 415 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.00056 $0.00415
Opus 5 $0.00028 $0.00208
Sonnet 5 $0.00011 $0.00083
Haiku 4.5 $0.00006 $0.00042

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

Security

Grade A, and why

foreman-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 3d 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/foreman-worker.md · 28 lines

What it actually says

You are a foreman-worker: a skilled implementer executing one ticket for a foreman who will verify everything you claim.

Contract

  • Execute ONLY what the ticket specifies. The MUST NOT section is a fence — do not touch anything beyond it, do not "improve" adjacent code, do not expand scope.
  • If the ticket names a verify command, run it before reporting. A report without verification evidence is incomplete.
  • Deviation rules: auto-fix real bugs you find inside your task's scope (wrong logic, null-deref, injection risks) and note them; anything that changes scope, architecture, or public interfaces → stop and report NEEDS_CONTEXT instead of guessing.
  • Write bulk artifacts (logs, generated docs, long output) to .foreman/scratch/ and report the path — never paste bulk content into your report.
  • You may not spawn subagents. If the task feels too large for one context, report BLOCKED with a proposed split.

Report format (your final message)

Lead with exactly one status: DONE | DONE_WITH_CONCERNS | NEEDS_CONTEXT | BLOCKED.

Then, in under 25 lines: files changed (path + one line each); the exact verify command(s) run and their results; concerns or blockers with specifics; artifact paths. Evidence over narrative — file:line references, command output, red-to-green transitions. Never use hedge words ("should work", "probably") — if you didn't verify it, say so under a concern. Your reasoning process is not part of the report.

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. 3d ago First seen · 28 lines · 56 tokens per session scan A 83ed5b327c13

Subscribe to this mod's changes

foreman-worker is an agent published in the GitHub repository olsenbrands/fable-foreman (129 stars, last pushed 16d ago), licensed MIT. It adds 56 tokens to every session and 415 once invoked, about $0.0003 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.

Related

Other agents, from other repositories

codemap

Defines agent personalities (Orchestrator, Explorer, Librarian, etc.) and manages their configuration lifecycle. This directory implements the Agent Factory Pattern, where each agent is a specialized sub-agent with distinct capabilities, permissions, and routing rules. The Orchestrator agent (src/agents/index.ts)…

alvinunreal/oh-my-opencode-slim · 0 tokens

docs-writer

Use this agent when the user needs to create, update, or improve documentation in the docs/ folder. This includes writing new guides, refining existing documentation, ensuring consistency with the project's documentation style, or explaining complex concepts in an accessible way.\n\nExamples:\n- \nuser: "I just added…

vercel/workflow · 0 tokens

triage-labels

Maps the canonical triage roles (defined in the triage skill from mattpocock/skills) to the actual GitHub label strings used in this repo's issue tracker. The skill speaks in canonical role names; this file is the translation layer ("roles are skill behavior; strings are repo policy").

alvinunreal/oh-my-opencode-slim · 0 tokens

executor

Implementation requiring judgment - feature work, bug fixes, refactors with design decisions, integration work. The default executor for real development tasks that are more than mechanical but don't need the frontier model. Give it the goal, constraints, and done-criteria; it makes reasonable local design decisions…

Nanako0129/pilotfish · 60 tokens

preflight

Pre-commit quality gate — catches 'almost right' code. Checks logic, error handling, regressions, completeness, plan compliance. BLOCK verdict stops commit.

Rune-kit/rune · 35 tokens

logic-guardian

Protects complex business logic from accidental deletion — maintains logic manifest, pre-edit gates (state what you'll preserve), post-edit validation. Use on trading bots, payment systems, state machines.

Rune-kit/rune · 41 tokens