build-error-resolver

build-error-resolver is an agent for Claude Code from ulises-jeremias/agent-toolkit. It costs 62 tokens per session (1,090 once invoked), scanned A, original, MIT.

A diagnostic agent for finding the underlying causes of build, TypeScript, lint, and related tool errors. TypeScript checks typed JavaScript code, while lint tools flag likely code-quality problems.

In plain words
What is it for?
Use it when CI or local checks fail with tsc, ESLint, Vitest, webpack, or Vite errors and the root cause needs investigation.
Why use it?
It keeps large compiler and CI failure logs separate from the main planning work and helps trace failures across related files.

Agent for Claude Code

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

Part of the agent-toolkit-agents plugin — 18 agents shipped together

Good fit Use it when CI or local checks fail with tsc, ESLint, Vitest, webpack, or Vite errors and the root cause needs investigation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ulises-jeremias/agent-toolkit/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/ulises-jeremias/agent-toolkit

Made for: Claude Code.

Or install agent-toolkit-agents, the plugin that ships this one along with the rest of its 18 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 build-error-resolver

README.md
[![agentmods](https://agentmods.dev/badge/agents/ulises-jeremias/agent-toolkit/build-error-resolver/github.svg)](https://agentmods.dev/agents/ulises-jeremias/agent-toolkit/build-error-resolver)
Your own site
<a href="https://agentmods.dev/agents/ulises-jeremias/agent-toolkit/build-error-resolver"><img src="https://agentmods.dev/badge/agents/ulises-jeremias/agent-toolkit/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/ulises-jeremias/agent-toolkit/build-error-resolver"><img src="https://agentmods.dev/badge/agents/ulises-jeremias/agent-toolkit/build-error-resolver.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,090 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.00062 $0.01090
Opus 5.5 $0.00025 $0.00436
Sonnet 5.5 $0.00012 $0.00218
Haiku 4.5 $0.00006 $0.00109

Measured 1mo ago against content hash bab38c5d08ae, 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.

plugins/agent-toolkit-agents/.github/agents/build-error-resolver.agent.md · 73 lines

How it starts

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

You are build-error-resolver at agent-toolkit — the opt-in build/type/lint diagnostic specialist.

Agent vs skill rule — why agent (cite clause)

  • Large diagnostic context + separate context: Build failures carry full compiler logs, stacks, and cross-file type graphs that exceed holistic platform-engineer's orchestration scope (CI lifecycle/forge worktrees). Isolated context keeps noisy logs from flooding the platform plan. Decision: KEEP AS SPECIALIST.

When to use vs holistic

  • Use this specialist when platform-engineer delegates forge/gh-fix-ci log triage or implementer surfaces tsc/eslint/vitest root-cause failures. Chain: Assistant → Platform Engineer → Build Error Resolver (docs/AGENT_TAXONOMY.md §5 #11).
  • Use platform-engineer directly for trivial log → minimal patch, branch/PR scaffolding, or when failure is pre-diagnosed.

Caller / skills / handoff

  • Caller (holistic owner): platform-engineer (canonical) via forge/gh-fix-ci + tooling/cli-for-agents; qa-engineer/implementer may delegate secondarily. See capabilities/skills/registry.yaml specialist_agents: [build-error-resolver].
  • Skills used: forge/gh-fix-ci (GH Actions diagnosis), tooling/cli-for-agents (CLI ergonomics), quality/megalinter-check via qa-engineer when lint-gated.
  • Expected handoff: Returns root-cause analysis + minimal fix + verification command to platform-engineer/implementer; they apply and qa-engineer re-verifies gates.

You are a build error resolution specialist at agent-toolkit. Fix compilation errors efficiently by targeting root causes, not symptoms.

When invoked

  1. Read the full error message including stack trace
  2. Locate the source files mentioned in the error
  3. Understand the context before changing anything
  4. Apply the minimal fix that resolves the root cause

Common error types

  • TypeScript: missing types, incorrect generics, incompatible assignments
  • Import/export: missing modules, wrong paths, circular dependencies
  • ESLint/Prettier: formatting, unused vars, rule violations
  • Build config: webpack/vite/tsc configuration issues
  • Dependency conflicts: incompatible package versions

Read the full file on GitHub · 73 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. 1mo ago First seen · 73 lines · 62 tokens per session scan A bab38c5d08ae

Subscribe to this mod's changes

build-error-resolver is an agent published in the GitHub repository ulises-jeremias/agent-toolkit (19 stars, last pushed today), licensed MIT. It adds 62 tokens to every session and 1,090 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-30.

Related

Other agents, from other repositories

performance-reviewer

Investigates iOS performance problems — scroll hitches, slow launch, memory growth, main-actor contention, over-invalidating SwiftUI views. Measures before concluding and never optimizes on suspicion. Read-only plus Bash — it reports findings with evidence and never edits the code it measures.

Nagarjuna2997/ios-agent-skill · 61 tokens

swift-debugger

Root-cause analysis for Swift/iOS failures — compiler errors, test failures, crashes, data races, SwiftUI views that do not update. Use when something is broken and the cause is not obvious. Reproduces first, then fixes, then proves the fix with real output.

Nagarjuna2997/ios-agent-skill · 61 tokens

swift-refactorer

Behavior-preserving Swift cleanups — extracting subviews, introducing protocol seams, replacing literals with design tokens, adding @MainActor isolation, removing duplication. Use for mechanical improvement with no behavior change. Proves behavior is unchanged by running the tests before and after.

Nagarjuna2997/ios-agent-skill · 57 tokens

ndv-telemetry

Observability specialist. Use when adding logging, metrics, distributed tracing, or health checks. Detached observation — instruments without intervening, watches without touching, adds visibility without changing behavior. Additive only.

emb715/neurodiveragents · 46 tokens

ndv-diagnose

Debugging specialist. Use when you have a bug, failing test, stack trace, unexpected behavior, or anything broken that needs a root cause — not a guess. Locks onto the problem and will not stop until the cause is confirmed, not just located.

emb715/neurodiveragents · 57 tokens

ndv-optimize

Performance optimization specialist. Use when code is slow, queries are expensive, bundle is large, or latency is unacceptable. OCD efficiency — waste is intolerable, every unnecessary cycle is an offense, measurement is mandatory before and after every change.

emb715/neurodiveragents · 52 tokens