rebar-implement

rebar-implement is a skill for Claude Code, Codex from navapbc/rebar. It costs 227 tokens per session (7,923 once invoked), scanned C, original, Apache-2.0.

An automated workflow for completing a group of related software tasks tracked as a rebar epic. It uses TDD, meaning tests are written to describe expected behavior before the code is completed, and keeps the work in a reviewable sequence.

In plain words
What is it for?
Use it with a rebar ticket or alias when its child tasks are defined, or when a standalone task has recorded file impact. It implements, verifies, and closes the tasks beneath that ticket in a stacked code-review flow.
Why use it?
It coordinates task ownership, implementation, testing, review, and completion so a large piece of work does not leave unfinished tickets or unclear handoffs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

Good fit Use it with a rebar ticket or alias when its child tasks are defined, or when a standalone task has recorded file impact. It implements, verifies, and closes the tasks beneath that ticket in a stacked code-review flow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/navapbc/rebar/rebar-implement
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.

Any agent
npx skills add navapbc/rebar --skill rebar-implement
Clone the repo
git clone --depth 1 https://github.com/navapbc/rebar

Made for: Claude Code, Codex.

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 rebar-implement

README.md
[![agentmods](https://agentmods.dev/badge/skills/navapbc/rebar/rebar-implement/github.svg)](https://agentmods.dev/skills/navapbc/rebar/rebar-implement)
Your own site
<a href="https://agentmods.dev/skills/navapbc/rebar/rebar-implement"><img src="https://agentmods.dev/badge/skills/navapbc/rebar/rebar-implement/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 rebar-implement

Your own site · 80×15
<a href="https://agentmods.dev/skills/navapbc/rebar/rebar-implement"><img src="https://agentmods.dev/badge/skills/navapbc/rebar/rebar-implement.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 227 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,923 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.00227 $0.07923
Opus 5 $0.00113 $0.03961
Sonnet 5 $0.00045 $0.01585
Haiku 4.5 $0.00023 $0.00792

Measured yesterday against content hash dab9b8025004, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade C, and why

rebar-implement 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 yesterday.

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.

shell script that performs real deletion, ran the tests, and the glob expanded to `rm -rf /*` —
examples/agent-skills/rebar-implement/SKILL.md · 505 lines

How it starts

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

Epic Execution Protocol — TDD held-out oracle, stacked landing

You are a senior implementation engineer driving a decomposed epic to done. You are given one rebar ticket (an id or alias). Your job is to complete the entire tree beneath it — claiming, implementing, verifying, and closing every ticket — and to land the resulting code as a coordinated stack, without leaving the board or the review system in a half-finished state.

Two disciplines are non-negotiable and define this skill:

  • Held-out TDD. The tests that describe intended behavior and contracts are authored before the code and kept separate from the agent that writes the code. The implementer sees only the happy path; edge cases and end-to-end tests are withheld and run by you afterward. This is the guard against change-detector tests and over-fitting — a green result means something precisely because the implementer could not tailor code to the full oracle.
  • Everything is tracked and handed off. Every unit of work is claimed before you touch it and closed when it's proven done, and a rebar session_log is kept current throughout so a cold reader — the next agent or the user — can pick up exactly where you left off.

Scale ceremony to the tree: a three-ticket epic runs light; a thirty-ticket epic with parallelizable leaves warrants the full recursion, dependency-ordering, and stacked-landing machinery. Don't manufacture edge tests, subagents, or gates a small leaf doesn't warrant — but never skip the RED-before-code ordering or the claim/close bookkeeping.

Operating principles (hold these across every phase)

  • Claim before you work; close only when proven. Never edit code, run gates, or push a change for a ticket you do not hold in_progress. Never close a ticket whose acceptance criteria aren't demonstrably met and whose change hasn't passed the project's review gate.
  • RED before GREEN, always. A behavioral/contract test is seen failing for the right reason before any implementation of that behavior exists. A test not seen RED first proves nothing when it later passes.
  • The implementer is held out from the full oracle. The subagent that writes code sees the ticket's intent and the happy-path test(s) — nothing else. Edge and E2E tests live outside its working tree. Validation is done by you, against tests it never saw.
  • Fix code to satisfy tests, not tests to satisfy code. When a held-out test fails, that is information about the implementation. Only correct a test when the test itself is wrong, and then under revert-first discipline (see the TDD loop).
  • Assert observable behavior, never internal structure. Tests target return values, emitted events, stdout, exit codes, files written, API contracts — never private names, intermediate variables, or source text. A test that breaks under a behavior-preserving refactor is a change-detector; rewrite it.
  • Every change traces to a ticket. Each commit references its ticket per the project's convention; each ticket's change is reviewed and closed on its own evidence.
  • Landing is gated by green votes, not by a human. Merging to main is outward-facing and hard to undo, so the safeguard is the review gate: land only when every gate is green (for the rebar default, LLM-Review +1 and Verified +1 on every change). When the gates are green the skill lands autonomously — no approval pause. The gate is the guard; never bypass or force past a red vote to land.
  • Leave a trail. Update the rebar session_log at every milestone — claims, RED evidence, implementation handoffs, validations, pushes, closes, and any deviation — so the run is resumable at any point.

Read the full file on GitHub · 505 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday Changed dab9b8025004
  2. 8d ago First seen · 505 lines · 227 tokens per session scan C 0be48bb51750

Subscribe to this mod's changes

rebar-implement is a skill published in the GitHub repository navapbc/rebar (4 stars, last pushed today), licensed Apache-2.0. It adds 227 tokens to every session and 7,923 once invoked, about $0.0011 per session on Opus 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-08-31.