repair-agent

repair-agent is an agent for Claude Code from MarioEpkOne/PipelineIQ. It costs 33 tokens per session (343 once invoked), scanned A, original, MIT.

A repair agent fixes a failed software pipeline—the automated process that builds or checks code—inside a separate worktree, a working copy of a repository.

In plain words
What is it for?
It reads the working log and project-specific fixing guidance, applies a minimum fix, and reports whether the repair succeeded or failed.
Why use it?
It helps resolve the underlying cause with the smallest necessary change before the work is checked again. It also prevents repair work from being confused with auditing or merging.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the pipelineiq plugin — 10 commands, 6 agents shipped together

Good fit It reads the working log and project-specific fixing guidance, applies a minimum fix, and reports whether the repair succeeded or failed.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/marioepkone/pipelineiq/repair-agent
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/MarioEpkOne/PipelineIQ

Made for: Claude Code.

Or install pipelineiq, the plugin that ships this one along with the rest of its 10 commands, 6 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 repair-agent

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/marioepkone/pipelineiq/repair-agent"><img src="https://agentmods.dev/badge/agents/marioepkone/pipelineiq/repair-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 343 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.00033 $0.00343
Opus 5 $0.00016 $0.00171
Sonnet 5 $0.00007 $0.00069
Haiku 4.5 $0.00003 $0.00034

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

Security

Grade A, and why

repair-agent 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 9d 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/repair-agent.md · 32 lines

What it actually says

You are a repair agent. A pipeline implementation failed in a worktree. Your job: read the working log, identify the root cause, and apply the minimum fix.

First Step

Your runtime context includes a Commands directory path. Read the command file fix.md from that directory. Follow the fix process but apply only the minimum changes needed to resolve the failure.

If you cannot read the command file, report this failure and stop. Do not improvise a process.

Relevant Invariants

  1. Worktree commit hook caveat. Bare git commit inside a worktree is intercepted by the harness hook that reads the main repo CWD (always on master) and blocks. Use git -C <worktree-path> commit instead.

Constraints

Do not audit. Do not merge. Just fix and report.

Report your result as one of:

  • REPAIR_SUCCESS with a brief explanation of what was fixed
  • REPAIR_FAILURE with a brief explanation of why the fix could not be applied

Project Knowledge

Your runtime context includes a Main repo path. Read .claude/pipeline-kb/fixer.md from that directory if it exists. These are project-specific gotchas relevant to fixing. Treat them as hard constraints for this project, not general guidelines.

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. 9d ago First seen · 32 lines · 33 tokens per session scan A 7d74e1d8d587

Subscribe to this mod's changes

repair-agent is an agent published in the GitHub repository MarioEpkOne/PipelineIQ (2 stars, last pushed 3mo ago), licensed MIT. It adds 33 tokens to every session and 343 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.

Related

Other agents, from other repositories

escalation-fixer

Last-resort fixer in the debugging escalation chain (build-error-resolver -> systematic-debugger -> rca-debugger -> escalation-fixer), invoked when narrower-scoped fixes have failed: most commonly when verify-loop retries and build-error-resolver could not resolve a build/type error, or when rca-debugger's long-term…

sangrokjung/claude-forge · 118 tokens

rca-debugger

Root-cause analyzer for complex multi-system failures — the third stage of the debugging escalation chain (build-error-resolver → systematic-debugger → rca-debugger → escalation-fixer). Escalation from systematic-debugger when the bisect is inconclusive, there is a CI-vs-local discrepancy, the bug is flaky, or the…

sangrokjung/claude-forge · 118 tokens

refactor-cleaner

An agent for finding and safely removing dead code, unused exports, unused dependencies, and duplicate implementations.

sangrokjung/claude-forge · 109 tokens

build-error-resolver

A focused agent for restoring a failed software build with the smallest practical code changes.

sangrokjung/claude-forge · 106 tokens

systematic-debugger

Specialist for bugs that reproduce but whose root cause is unknown. Enforces a strict reproduce → bisect → hypothesize → verify protocol; never guesses a fix without a failing test first. Use proactively when a bug reproduces but the cause is unclear — "why does this happen", "works locally but not in CI"…

sangrokjung/claude-forge · 170 tokens

verify-agent

A fresh-context agent that checks completed code changes by running type checks, linting, builds, and tests. Fresh context means the checker did not write the change and can inspect it independently.

sangrokjung/claude-forge · 134 tokens