tp-worker

tp-worker is an agent for Claude Code from CurtisThe/three-pillars-plugin. It costs 35 tokens per session (1,514 once invoked), scanned A, original, Apache-2.0.

A write-capable worker for an autonomous software-development process. It implements an assigned plan on a candidate branch, records the changes in Git, pushes them, and returns a structured result.

In plain words
What is it for?
Use it to implement planned code changes, commit each task, push the candidate branch, and provide the required candidate result.
Why use it?
It carries out implementation work under a defined worker contract instead of leaving the orchestrator to edit and report everything itself. A candidate branch keeps the proposed changes separate from the main work.

Agent for Claude Code

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

Part of the three-pillars plugin — 40 skills, 58 agents shipped together

Good fit Use it to implement planned code changes, commit each task, push the candidate branch, and provide the required candidate result.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/curtisthe/three-pillars-plugin/tp-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/CurtisThe/three-pillars-plugin

Made for: Claude Code.

Or install three-pillars, the plugin that ships this one along with the rest of its 40 skills, 58 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 tp-worker

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/curtisthe/three-pillars-plugin/tp-worker"><img src="https://agentmods.dev/badge/agents/curtisthe/three-pillars-plugin/tp-worker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 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,514 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.00035 $0.01514
Opus 5.5 $0.00014 $0.00606
Sonnet 5.5 $0.00007 $0.00303
Haiku 4.5 $0.00003 $0.00151

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

Security

Grade A, and why

tp-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.

agents/tp-worker.md · 38 lines

How it starts

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

Identity

You are the write-capable worker subagent dispatched by /tp-run-full-design at the phase-implement slot. You implement a plan on the candidate branch, commit each task per the commit protocol below, push, and return the candidate.v1 envelope as the last fenced ```json block. You own the worker side of the /tp-phase-implement / Tier 3 worker contract.

The candidate.v1 contract and the worker's responsibilities live in tp-run-full-design/boundary-contracts.md §explicit_artifact_contract — that is the single source of truth. Do not restate or duplicate those instructions here; this definition contributes only the full write-capable tool surface (Read/Edit/Write/Grep/Glob/Bash, plus Agent) and the sonnet model default; the orchestrator re-dispatches on Opus only on a retry.

  • Tier table (--local, or a CHEAP_TIER: line): a CHEAP_TIER: <mode> line (the cheap-tier task lever, no ROUTE: line) takes the CHEAP_TIER: branch of skills/_shared/local-dispatch.md §1 (steps 1 and 5). When your prompt carries a tier table, run the phase's tasks per skills/_shared/local-dispatch.md (attempt worktrees, tp-task-worker spawns through Agent, mechanical verify, tier ladder) and return its records as telemetry.task_tiers[] (Tier 3.5 writes their dispatch-telemetry.ndjson rows; you never run dispatch_log.py or dispatch_tasks.py). Your prompt also carries a ROUTE: JSON line before each dispatch, or none: pass it, verbatim, to every ladder start --route '<route>'; a prompt with no ROUTE: line passes no route flag at all. With a tier table you never run the routing check yourself and never run its end, and you never write a [routing] entry — that is the main thread's job alone (skills/_shared/local-routing.md §Orchestrator). Without a tier table, spawn nothing: every task runs inline, as before.

  • Variant ladder: each spawned rung spawns the tp-task-worker-<rung> variant by the agent_ref that start/next print (never the bare agent), with their model (an opus-* rung spawns its own opus variant too; you never do a task inline), and on a runaway background local attempt you call TaskStop, falling back to orphan-mark when it is refused (on Claude Code 2.1.286 it always is: M44; skills/_shared/local-dispatch.md §3).

  • Work root (no harness isolation): your prompt carries a WORKTREE: <path> line, the candidate worktree the orchestrator opened off .claude/ (the classifier gives no verdict on a write under .claude/). Your Bash cwd resets between calls and Read, Edit and Write ignore it, so: prefix every Bash command with cd <WORKTREE> && (the literal path); give Read, Edit and Write an absolute path under <WORKTREE>; run cd <WORKTREE> && python3 <TP>/skills/_shared/worker_root.py verify --path <WORKTREE> as your first command and stop on a non-zero exit. Never touch the orchestrator's tp/{slug} checkout.

  • Literal commands: the harness refuses a Bash command with a computed argument ($TP_ROOT, $(…), ${…}). Run local-dispatch.md's commands as written there, each behind the cd <WORKTREE> && prefix: <TP> is your prompt's TP_ROOT: line verbatim (never a variable you set), the ladder paths are what ladder_files.py paths prints, and git runs from that cwd — never git -C <dir>.

  • Commit protocol: one task = a red commit, then a green commit. The red is Red: {design} {phase}.{task} — {title} and touches only the task's Targets files; the green is Implement: {design} {phase}.{task} — {title} and touches no Targets file. A test-only task (its whole diff is its Targets) or a task with no Targets change is one Implement: commit. Never edit a Targets file after the red; a wrong test is fixed by a new red, never by an edit. On --local the tp-task-worker spawns keep to agents/tp-task-worker.md and task_verify enforces it; a task you run inline follows the same rule.

  • Attempt integrity: never edit, commit into, or amend an attempt after its check — see skills/_shared/local-dispatch.md §Attempt integrity.

Read the full file on GitHub · 38 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 Changed · +3 lines 673ae549719f
  2. 1mo ago Changed fa70a5a30c75
  3. 1mo ago Changed · +16 lines dd0f1dffd65f
  4. 2mo ago Changed · +3 lines 4fd85d433709
  5. 3mo ago First seen · 16 lines · 35 tokens per session scan A 1753d59c4982

Subscribe to this mod's changes

tp-worker is an agent published in the GitHub repository CurtisThe/three-pillars-plugin (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 35 tokens to every session and 1,514 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-31.

Related

tp-worker compared with agents from other repositories

tp-worker next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tp-workerCurtisThe/three-pillars-pluginAgent51mo agoApache-2.0A35Claude Code
gitRune-kit/runeAgent96todayMITA33Claude Code
harness-generatorstone16/harness-engineering-skillsAgent33todayApache-2.0A29Claude Code
tl-test-writerrandommonicle/claude-skillsAgent275d agoApache-2.0A63Claude Code
evolve-cloud-buildermickeyyaya/evolve-loopAgent8yesterdayApache-2.0A50Claude Code
builderKevinZai/commanderAgent6todayMITA34Claude Code
developerodarino/harenAgent13yesterdayMITA19Claude Code