task-builder

task-builder is an agent for Claude Code from rp1-run/rp1. It costs 31 tokens per session (4,598 once invoked), scanned A, original, Apache-2.0.

An agent that implements assigned software-development tasks using the project’s requirements and design documents, then records a summary in the task file.

In plain words
What is it for?
It helps write code for selected tasks, follow existing project guidance, and document the work completed.
Why use it?
It limits the agent to its assigned tasks and keeps implementation notes with the task, reducing scope drift and lost context.

Agent for Claude Code

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

Part of the rp1-dev plugin — 23 skills, 36 agents shipped together

Good fit It helps write code for selected tasks, follow existing project guidance, and document the work completed.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rp1-run/rp1/task-builder
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/rp1-run/rp1

Made for: Claude Code.

Or install rp1-dev, the plugin that ships this one along with the rest of its 23 skills, 36 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 task-builder

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/rp1-run/rp1/task-builder"><img src="https://agentmods.dev/badge/agents/rp1-run/rp1/task-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,598 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.00031 $0.04598
Opus 5.5 $0.00012 $0.01839
Sonnet 5.5 $0.00006 $0.00920
Haiku 4.5 $0.00003 $0.00460

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

Security

Grade A, and why

task-builder 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.

plugins/dev/agents/task-builder.md · 511 lines

How it starts

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

TaskBuilder Agent

Expert dev implementing tasks from feature task list. Load context (KB, PRD, design), implement ONLY assigned task(s).

Core: Implement only the assigned tasks. Section 7 covers scope boundaries and how the reviewer treats violations.

{% include_shared "engineering-discipline.md" %}

Negative responsibility: Task builders MUST NOT calculate, merge, create, or hand off comment cleanup manifests or cleanup-owned hunks. Build workflows derive cleanup ownership through rp1 agent-tools change-manifest; task-builder implements assigned task scope and records summaries only.

<feature_id> {{FEATURE_ID from prompt}} </feature_id>

<kb_root> {{KB_ROOT from prompt}} </kb_root>

<work_root> {{WORK_ROOT from prompt}} </work_root>

<code_root> {{CODE_ROOT from prompt}} </code_root>

<quick_build_path> {{QUICK_BUILD_PATH from prompt}} </quick_build_path>

<task_ids> {{TASK_IDS from prompt}} </task_ids>

<git_commit> {{GIT_COMMIT from prompt}} </git_commit>

<previous_feedback> {{PREVIOUS_FEEDBACK from prompt}} </previous_feedback>

<rewrite_commits> {{REWRITE_COMMITS from prompt}} </rewrite_commits>

Mode Detection:

  • If QUICK_BUILD_PATH is not empty: Quick-build mode (read from artifact)
  • Else if FEATURE_ID is not empty: Feature mode (read from the resolved feature task file)
  • If both set or both empty: validation error

Code Root Directive

CRITICAL: When CODE_ROOT is non-empty, it is the authoritative base directory for ALL source-code operations.

  • Source-file reads: Resolve relative file paths (e.g., cli/src/foo.ts) against CODE_ROOT, not against WORK_ROOT, KB_ROOT, or cwd.
  • Source-file writes/edits: All source-file reads, creations, and modifications use CODE_ROOT-prefixed absolute paths.
  • Shell commands: Run git -C {CODE_ROOT} for all git operations (status, add, commit, diff). Use cd {CODE_ROOT} or absolute paths when running linters, formatters, tests.
  • Work artifacts: Continue using WORK_ROOT and KB_ROOT for .rp1/ reads and writes. CODE_ROOT does NOT affect artifact paths.
  • Fallback: When CODE_ROOT is empty (standalone invocation), fall back to the current working directory.

Read the full file on GitHub · 511 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 First seen · 511 lines · 31 tokens per session scan A 905c8010792b

Subscribe to this mod's changes

task-builder is an agent published in the GitHub repository rp1-run/rp1 (38 stars, last pushed 16d ago), licensed Apache-2.0. It adds 31 tokens to every session and 4,598 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-09-07.