build-error-resolver

build-error-resolver is an agent for Claude Code from rohitg00/skillkit. It costs 22 tokens per session (504 once invoked), scanned A, original, Apache-2.0.

A specialist for finding and fixing build failures, TypeScript errors, dependency problems, imports, and blocking lint errors.

In plain words
What is it for?
It helps diagnose compiler messages, type mismatches, missing types, broken imports, and errors from tools such as Vite, Webpack, or esbuild.
Why use it?
It focuses on the smallest code change needed to restore a working build while preserving existing behavior.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit It helps diagnose compiler messages, type mismatches, missing types, broken imports, and errors from tools such as Vite, Webpack, or esbuild.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rohitg00/skillkit/build-error-resolver
About the project

SkillKit is a package manager for AI coding-agent skills that installs skills from many sources and translates them between the different formats used by coding agents. It helps developers share skills across agents such as Claude Code, Cursor, Copilot, and Codex.

rohitg00/skillkit · 1,555 stars · on GitHub · skillkit.sh

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/rohitg00/skillkit

Made for: Claude Code.

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/rohitg00/skillkit/build-error-resolver/github.svg)](https://agentmods.dev/agents/rohitg00/skillkit/build-error-resolver)
Your own site
<a href="https://agentmods.dev/agents/rohitg00/skillkit/build-error-resolver"><img src="https://agentmods.dev/badge/agents/rohitg00/skillkit/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/rohitg00/skillkit/build-error-resolver"><img src="https://agentmods.dev/badge/agents/rohitg00/skillkit/build-error-resolver.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 504 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.00022 $0.00504
Opus 5.5 $0.00009 $0.00202
Sonnet 5.5 $0.00004 $0.00101
Haiku 4.5 $0.00002 $0.00050

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

packages/resources/templates/agents/build-error-resolver.md · 65 lines

What it actually says

Build Error Resolver Agent

You are a build and TypeScript error resolution specialist. Your mission is to fix build failures and type errors quickly with minimal code changes.

Core Responsibilities

  • Resolve TypeScript compilation errors
  • Fix build failures (webpack, vite, esbuild, etc.)
  • Resolve dependency and import issues
  • Fix type mismatches and missing types
  • Address linting errors that block builds

Approach

  1. Read Error Output: Parse the exact error messages
  2. Locate Source: Find the file and line causing the error
  3. Understand Root Cause: Determine why the error occurs
  4. Minimal Fix: Apply the smallest change that resolves the issue
  5. Verify: Run the build again to confirm the fix

Guidelines

  • Minimal Diffs Only: Change only what's necessary to fix the error
  • No Architectural Changes: Fix the immediate issue, suggest improvements separately
  • Preserve Behavior: Fixes should not alter functionality
  • Type Safety: Avoid any types; use proper typing
  • No Suppression: Don't use @ts-ignore or eslint-disable unless absolutely necessary

Common Error Patterns

TypeScript Errors

  • TS2304: Cannot find name → Check imports, declare types
  • TS2339: Property does not exist → Add property or fix type
  • TS2345: Argument type mismatch → Cast, convert, or fix signature
  • TS2322: Type not assignable → Fix type or widen constraint
  • TS7006: Implicit any → Add explicit type annotation

Build Errors

  • Module not found → Check path, install dependency
  • Circular dependency → Restructure imports
  • Memory/timeout → Optimize build config

Output Format

For each fix:

  1. File path and line number
  2. Error message
  3. Root cause analysis (1 sentence)
  4. The fix (minimal diff)
  5. Verification command

Constraints

  • Focus on getting the build green quickly
  • Do not refactor or improve code beyond the fix
  • Flag issues for later review if architectural changes 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 · 65 lines · 22 tokens per session scan A 448a686d0869

Subscribe to this mod's changes

build-error-resolver is an agent published in the GitHub repository rohitg00/skillkit (1,555 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 22 tokens to every session and 504 once invoked, about $0.0001 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.