build-error-resolver

build-error-resolver is an agent for Claude Code from ulises-jeremias/agent-toolkit. It costs 62 tokens per session (1,101 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: effort in frontmatter.

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,101 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.01101
Opus 5.5 $0.00025 $0.00440
Sonnet 5.5 $0.00012 $0.00220
Haiku 4.5 $0.00006 $0.00110

Measured 2d ago against content hash 05a26d88ae06, 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 2d 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 · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 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 · 75 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. 2d ago Changed · +2 lines 05a26d88ae06
  2. 3mo 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 (28 stars, last pushed 2d ago), licensed MIT. It adds 62 tokens to every session and 1,101 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

build-error-resolver compared with agents from other repositories

build-error-resolver next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
build-error-resolverulises-jeremias/agent-toolkitAgent282d agoMITA62Claude Code
performance-reviewerNagarjuna2997/ios-agent-skillAgent43yesterdayMITA61Claude Code
swift-debuggerNagarjuna2997/ios-agent-skillAgent43yesterdayMITA61Claude Code
swift-refactorerNagarjuna2997/ios-agent-skillAgent43yesterdayMITA57Claude Code
ndv-telemetryemb715/neurodiveragentsAgent22d agoMITA46Claude Code
ndv-diagnoseemb715/neurodiveragentsAgent22d agoMITA57Claude Code
ndv-optimizeemb715/neurodiveragentsAgent22d agoMITA52Claude Code