build-error-resolver

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

Part of the agent-toolkit-agents plugin — 18 agents 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/ulises-jeremias/agent-toolkit/build-error-resolver
Clone the repo
git clone --depth 1 https://github.com/ulises-jeremias/agent-toolkit

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.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.svg" alt="Measured on agentmods" 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. 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.00062 $0.01090
Opus 5 $0.00031 $0.00545
Sonnet 5 $0.00012 $0.00218
Haiku 4.5 $0.00006 $0.00109

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

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. 4d 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 (16 stars, last pushed today), licensed MIT. It adds 62 tokens to every session and 1,090 once invoked, about $0.0003 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-30.

Related

Other agents, from other repositories

accessibility-reviewer

Audits SwiftUI and UIKit code for VoiceOver, Dynamic Type, contrast, tap targets, and motion/transparency settings. Read-only — reports findings with file:line and the specific fix. Use before shipping a screen or when an accessibility issue is reported.

Nagarjuna2997/ios-agent-skill · 57 tokens

foundation-models

Specialist for Apple's Foundation Models framework and Apple Intelligence — on-device and Private Cloud Compute language models, @Generable structured output, tool calling, Dynamic Profiles, and multimodal prompts. Use when building, reviewing, or debugging any on-device LLM feature. Enforces availability gating and…

Nagarjuna2997/ios-agent-skill · 64 tokens

project-manager

Project manager for CrawlForge MCP Server development. Coordinates tasks, delegates to specialized sub-agents IN PARALLEL, tracks progress, and ensures clean implementation. Use PROACTIVELY for any multi-step project coordination.

mysleekdesigns/crawlforge-mcp · 46 tokens

security-auditor

Security specialist for CrawlForge MCP Server. Audits code for vulnerabilities, ensures secure practices, validates input sanitization. Use PROACTIVELY before deployments and after major changes.

mysleekdesigns/crawlforge-mcp · 40 tokens

debug-integracao

Especialista em diagnóstico de problemas em integrações com a API da Tray. Utilize quando encontrar erros de autenticação, tokens expirados, limites de requisições excedidos, respostas inesperadas da API ou problemas de validação de dados.

tray-tecnologia/tray-api-ai-plugin · 52 tokens

threnody-low

Threnody low-tier host subagent for boilerplate and small edits.

timjensgrossinger/threnody · 18 tokens