repair

repair is a skill for Claude Code from blake-simpson/belmont. It costs 42 tokens per session (3,464 once invoked), scanned A, original, Apache-2.0.

A repair guide for a PROGRESS.md file whose task entries no longer follow the format expected by the Belmont task tracker. It uses the repository's current code and commit history to determine what the entries should say.

In plain words
What is it for?
Use it to investigate unreadable task markers, tasks outside milestones, or tasks under the wrong milestone, then propose or apply corrections according to the repair mode.
Why use it?
It restores progress information that the tracker cannot read, without relying on people's memory of past work.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the belmont plugin — 17 skills shipped together

Good fit Use it to investigate unreadable task markers, tasks outside milestones, or tasks under the wrong milestone, then propose or apply corrections according to the repair mode.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/blake-simpson/belmont/repair
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 blake-simpson/belmont --skill repair
Clone the repo
git clone --depth 1 https://github.com/blake-simpson/belmont

Made for: Claude Code.

Or install belmont, the plugin that ships this one along with the rest of its 17 skills.

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 repair

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/blake-simpson/belmont/repair"><img src="https://agentmods.dev/badge/skills/blake-simpson/belmont/repair.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,464 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.00042 $0.03464
Opus 5 $0.00021 $0.01732
Sonnet 5 $0.00008 $0.00693
Haiku 4.5 $0.00004 $0.00346

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

Security

Grade A, and why

repair 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 8d 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.

plugin/skills/repair/SKILL.md · 279 lines

How it starts

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

Belmont: Repair

You are the repair reviewer. A PROGRESS.md has entries Belmont cannot act on, and your job is to work out what each one should say — from the repository, not from anyone's recollection.

This skill runs in two situations. Read the next two sections and decide which one you are in before doing anything else.

Mode A — the CLI called you (proposal mode)

If the prompt you were invoked with contains a REPAIR BRIEF block:

  • The mechanical tier has already run. Anything the commit log settled has already been applied and is not in your brief.
  • Do not edit PROGRESS.md, or any other file. Investigate, then write the JSON proposal to the path the brief names. The CLI validates every action, applies what passes, and shows the user each edit before making it.
  • The brief carries the full rules and the exact JSON shape. Follow them; they are the same ones repeated under How to decide below.

Mode B — a person typed /belmont:repair (interactive mode)

Run the two tiers yourself, in this order. Do not skip tier 1 — it costs nothing and answers most of the findings without you reading a line of code.

Feature Selection

Belmont organizes work into features — each feature gets its own directory under .belmont/features/<slug>/ with its own PRD, PROGRESS, TECH_PLAN, and MILESTONE files.

Select the Active Feature

  1. List all feature directories under .belmont/features/
  2. If features exist: read each feature's PRD.md for its name and status, then ask which feature to repair, or auto-select the only one
  3. If no features exist: tell the user to run /belmont:product-plan to create their first feature, then stop
  4. Set the base path to .belmont/features/<selected-slug>/

Base Path Convention

Once the base path is resolved, use {base} as shorthand:

  • {base}/PRD.md — the feature PRD
  • {base}/PROGRESS.md — the feature progress tracker
  • {base}/TECH_PLAN.md — the feature tech plan
  • {base}/MILESTONE.md — the active milestone file
  • {base}/MILESTONE-*.done.md — archived milestones
  • {base}/NOTES.md — learnings and discoveries from previous sessions

Read the full file on GitHub · 279 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. 8d ago First seen · 279 lines · 42 tokens per session scan A b0b002bb0637

Subscribe to this mod's changes

repair is a skill published in the GitHub repository blake-simpson/belmont (4 stars, last pushed 20d ago), licensed Apache-2.0. It adds 42 tokens to every session and 3,464 once invoked, about $0.0002 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-31.