build-error-resolver

build-error-resolver is an agent for coding agents 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

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

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.

agentmods
npx agentmods add agents/vasuag09/harness-claude/build-error-resolver
Clone the repo
git clone --depth 1 https://github.com/vasuag09/harness-claude

Or install harness-claude, the plugin that ships this one along with the rest of its 34 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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00048 $0.00301
Opus 5 $0.00024 $0.00151
Sonnet 5 $0.00010 $0.00060
Haiku 4.5 $0.00005 $0.00030

Measured 4d ago against content hash be548f21d1c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 1mo ago), licensed MIT. It adds 48 tokens to every session and 301 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

code-reviewer

Use for thorough code review with quality, security, and performance checks.

FlorianBruniaux/claude-code-plugins · 17 tokens

adr-writer

Architecture Decision Record generator agent — read-only. Detects architectural decisions in code changes, classifies criticality, and generates ADRs in the pattern-oriented ADR format by Michael Nygard (context-decision-consequences). Never modifies code. Use after significant changes or when a decision needs…

FlorianBruniaux/claude-code-plugins · 64 tokens

integration-reviewer

Runtime integration validator — read-only. Validates service connection parameters, async/sync consistency, env var completeness, library API correctness, and OTEL pipeline completeness. Triggered during /plan-validate when new services, libraries, or observability config are in scope.

FlorianBruniaux/claude-code-plugins · 57 tokens

report-template

Monthly evaluation template for scoring analytics agent performance and accuracy.

FlorianBruniaux/claude-code-plugins · 10 tokens

loop-monitor

Autonomous loop monitor — detects stalls, token runaway, and infinite loops in long-running unattended Claude sessions. Use alongside a watchdog process when running autonomous pipelines.

FlorianBruniaux/claude-code-plugins · 34 tokens

architecture-reviewer

Architecture and design review agent — read-only. Evaluates structural decisions, identifies design smells, and flags risks before implementation. Never modifies code. Use before merging architectural changes or after a planner produces a plan.

FlorianBruniaux/claude-code-plugins · 45 tokens