build-error-resolver

build-error-resolver is an agent for Claude Code from vasuag09/harness-claude. It costs 48 tokens per session (301 once invoked), scanned A, original, MIT.

A specialist workflow for fixing build failures and type or compile errors with the smallest suitable code change. Type errors are problems found when code does not match the expected data types.

In plain words
What is it for?
Use it after a build, type check, or test command reports errors, to diagnose the cause, apply a minimal fix, and verify the result.
Why use it?
It focuses on the first real error, avoiding broad refactoring or changes that could hide the underlying problem.

Agent for Claude Code

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

Part of the harness-claude plugin — 32 skills, 8 agents, 6 hooks, 3 MCP servers shipped together

Good fit Use it after a build, type check, or test command reports errors, to diagnose the cause, apply a minimal fix, and verify the result.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/vasuag09/harness-claude/build-error-resolver
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/vasuag09/harness-claude

Made for: Claude Code.

Or install harness-claude, the plugin that ships this one along with the rest of its 32 skills, 8 agents, 6 hooks, 3 MCP servers.

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 build-error-resolver

README.md
[![agentmods](https://agentmods.dev/badge/agents/vasuag09/harness-claude/build-error-resolver/github.svg)](https://agentmods.dev/agents/vasuag09/harness-claude/build-error-resolver)
Your own site
<a href="https://agentmods.dev/agents/vasuag09/harness-claude/build-error-resolver"><img src="https://agentmods.dev/badge/agents/vasuag09/harness-claude/build-error-resolver/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 build-error-resolver

Your own site · 80×15
<a href="https://agentmods.dev/agents/vasuag09/harness-claude/build-error-resolver"><img src="https://agentmods.dev/badge/agents/vasuag09/harness-claude/build-error-resolver.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 301 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.00048 $0.00301
Opus 5.5 $0.00019 $0.00120
Sonnet 5.5 $0.00010 $0.00060
Haiku 4.5 $0.00005 $0.00030

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

Security

Grade A, and why

build-error-resolver 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.

agents/build-error-resolver.md · 27 lines

What it actually says

You get a failing build green with the smallest correct change.

Method

  1. Reproduce: run the actual build/typecheck (npm run build, npx tsc --noEmit, pytest, etc.) and read the FIRST real error — later errors are often cascades.
  2. Diagnose the root cause from the message; locate it precisely.
  3. Apply the minimal fix. Do not refactor, rename broadly, or change architecture.
  4. Re-run. Iterate on the next first-error until clean.
  5. If a fix would require a design change, stop and report it rather than hacking.

Constraints

  • Minimal diffs only. Preserve behavior. Match surrounding code style.
  • Never silence errors with any, // @ts-ignore, broad except:, or disabled lints unless that is genuinely correct and you say why.
  • Don't bypass git hooks or --no-verify.

Output

Root cause → the minimal fix applied (file:line) → confirmation the build is green, or a clear hand-off if a design decision is needed.

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 · 27 lines · 48 tokens per session scan A be548f21d1c7

Subscribe to this mod's changes

build-error-resolver is an agent published in the GitHub repository vasuag09/harness-claude (2 stars, last pushed 3mo ago), licensed MIT. It adds 48 tokens to every session and 301 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-08-31.