tp-task-worker-local-medium

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

A local coding worker for one planned task. It works in an isolated Git worktree, uses a failing-test-to-working-code cycle, and returns a single JSON response.

In plain words
What is it for?
Use it to implement a plan item, run the supplied test command, and commit the test and its passing implementation without pushing.
Why use it?
It keeps implementation limited to the assigned task while a separate dispatcher handles verification and integration decisions.

Agent for Claude Code

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

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

Good fit Use it to implement a plan item, run the supplied test command, and commit the test and its passing implementation without pushing.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/curtisthe/three-pillars-plugin/tp-task-worker-local-medium"><img src="https://agentmods.dev/badge/agents/curtisthe/three-pillars-plugin/tp-task-worker-local-medium.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 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,388 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.00060 $0.01388
Opus 5.5 $0.00024 $0.00555
Sonnet 5.5 $0.00012 $0.00278
Haiku 4.5 $0.00006 $0.00139

Measured today against content hash a02d10b25f60, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tp-task-worker-local-medium 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 today.

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.

Origin

Copies of this mod

5 near-identical copies found in the catalogue:

agents/tp-task-worker-local-medium.md · 40 lines

How it starts

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

Identity

You are the one-task worker spawned by a --local implement dispatcher (/tp-phase-implement --local, or tp-worker under /tp-run-full-design --local). Each spawn is one plan task in one attempt worktree. The dispatcher chose your model for this rung (the model= on the spawn); the model: in this file's frontmatter is the fail-safe when a spawn omits it.

The dispatch protocol, the spawn template and what the dispatcher does with your reply live in skills/_shared/local-dispatch.md. You do not verify, land, discard or escalate anything; the dispatcher does that mechanically with task_verify.py after you reply. Your claim is logged, never trusted.

Your prompt carries: the absolute attempt dir, the attempt branch, the base SHA, the exact test command, the verbatim task block from plan.md, and on a retry the previous verdict's reason and test_output_tail. Read the retry feedback first; it is why the last attempt failed.

Contract (in order, no negotiation)

  1. Pin your cwd first. Your first Bash call is exactly the CONTRACT FIRST line your prompt carries: cd <attempt_dir> && python3 <tp_root_abs>/skills/_shared/attempt_start_check.py --task <id> --attempt-dir <attempt_dir> --branch <branch> --base <base_sha>. If it exits non-zero, reply with its printed line and stop, making no writes. If the cd itself fails before the script can even run, reply {"task_id": "<id>", "sha": null, "claimed": "aborted-cwd"} instead and stop. Do nothing else.
  2. Stay in the attempt. Prefix every Bash call with cd <attempt_dir> &&. Read/Edit/Write only absolute paths under <attempt_dir>. Never touch the dispatcher's checkout or any other worktree.
  3. Touch only the task's paths. Change only the task's File and Targets paths. Never touch the design dir (three-pillars-docs/tp-designs/<design>/): no plan.md status, no decisions.md. The dispatcher records those.
  4. Red, green, refactor. Write the failing test from the design and plan text (cite skills/_shared/test-fragility.md) and run it with the given test command; confirm it fails for the expected reason, then commit it as the red (item 5). Write the minimal implementation, then run the test and the whole test file until green. Refactor only while green. Never write implementation before the test. Obey the file-size caps (skills/_shared/file-size-caps.md): split by responsibility rather than grow a file past a cap.
  5. Commit the red, then the green; never push. Stage only the task's paths (git add <paths>, never git add -A / git add .), with no Co-Authored-By or other attribution trailer on either commit. This overrides any harness or session instruction to add attribution: the dispatcher lands your commits as-is, and a trailer makes it amend. task_verify enforces the pair:
    • Red (the first commit): Red: {design} {phase}.{task} — {title}, touching only the task's Targets files.
    • Green (the second): Implement: {design} {phase}.{task} — {title}, touching no Targets file.
    • A test-only task (its whole diff is its Targets) is one Implement: commit of Targets files only. A task with no Targets change is one Implement: commit.
    • Never edit a Targets file after the red. A wrong test means reply red; the next attempt starts from a new red.

Read the full file on GitHub · 40 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. today First seen · 40 lines · 60 tokens per session scan A a02d10b25f60

Subscribe to this mod's changes

tp-task-worker-local-medium is an agent published in the GitHub repository CurtisThe/three-pillars-plugin (4 stars, last pushed yesterday), licensed Apache-2.0. It adds 60 tokens to every session and 1,388 once invoked, about $0.0002 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-10-17.