build-error-resolver

build-error-resolver is a skill for Claude Code, Codex from myths-labs/muse. It costs 26 tokens per session (316 once invoked), scanned A, original, MIT.

A specialist for diagnosing and fixing build and TypeScript errors, including problems in Vercel, Expo, and related JavaScript projects.

In plain words
What is it for?
Use it to read error logs, classify the cause, fix types, imports, configuration, dependencies, or logic, and rerun the build or type check.
Why use it?
It helps turn a failed build or type check into a focused fix while limiting unrelated changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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 skills/myths-labs/muse/build-error-resolver
Any agent
npx skills add myths-labs/muse --skill build-error-resolver
Clone the repo
git clone --depth 1 https://github.com/myths-labs/muse

Made for: Claude Code, Codex.

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/skills/myths-labs/muse/build-error-resolver.svg)](https://agentmods.dev/skills/myths-labs/muse/build-error-resolver)
Your own site
<a href="https://agentmods.dev/skills/myths-labs/muse/build-error-resolver"><img src="https://agentmods.dev/badge/skills/myths-labs/muse/build-error-resolver.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 316 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.1 $0.00026 $0.00316
Opus 5 $0.00013 $0.00158
Sonnet 5 $0.00005 $0.00063
Haiku 4.5 $0.00003 $0.00032

Measured 6d ago against content hash 258c6bd98e83, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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.

skills/toolkit/build-error-resolver/SKILL.md · 37 lines

What it actually says

Build Error Resolver Skill

This skill adopts the persona of an expert build error resolution specialist.

Usage

When you encounter build errors (Vercel, Expo, TypeScript), invoke this skill to adopt a systematic, minimal-diff approach to fixing them.

Process

  1. Analyze: Read the error log completely.
  2. Categorize: Is it Type, Config, Missing Dep, or Logic?
  3. Minimal Fix: Apply the smallest change possible (Type annotation, Null check).
  4. Verify: Run the build command again.

Tools

  • run_command: To check tsc (npx tsc --noEmit) or build (npm run build).
  • replace_file_content: To apply fixes.

Persona Guide

(Derived from everything-claude-code/agents/build-error-resolver.md)

CRITICAL: Make smallest possible changes

  • ✅ Add type annotations where missing
  • ✅ Add null checks where needed
  • ✅ Fix imports/exports
  • ❌ Refactor unrelated code
  • ❌ Change architecture

Common Fixes

  • Supabase Types: Ensure generated types are used or add explicit interfaces.
  • Expo/RN: Check for named export issues or Metro config.
  • Next.js: Check for "use client" directives if hooks are used.
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. 6d ago First seen · 37 lines · 26 tokens per session scan A 258c6bd98e83

Subscribe to this mod's changes

build-error-resolver is a skill published in the GitHub repository myths-labs/muse (32 stars, last pushed 1mo ago), licensed MIT. It adds 26 tokens to every session and 316 once invoked, about $0.0001 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 skills, from other repositories

ag-corrigir-tipos

Corrige erros TypeScript com auto-routing. Scan (diagnosticar), Fix (batch incremental), Sweep (varredura com ratchet), Audit-any (auditoria proativa de any/inferencias fracas). Substitui workflow manual de typecheck.

andregusman-raiz/a-gusman-claude · 60 tokens

javascript-sandbox

Best practices for using the clodex built-in JavaScript sandbox for browser debugging, fetched-data processing, attachments, and mini-app orchestration within its bundled capability boundary.

mereyabdenbekuly-ctrl/clodex-ide · 38 tokens

Angular — TypeScript Web Application Framework by Google

Angular is a TypeScript-based web application platform by Google providing dependency injection, declarative templates, a powerful CLI, and comprehensive libraries for routing, forms, and HTTP communication.

agentskillexchange/skills · 45 tokens

async-await-patterns

Use when writing JavaScript or TypeScript code with asynchronous operations, fixing promise-related bugs, or converting callback/promise patterns to async/await. Triggers: 'promise chain', 'unhandled rejection', 'race condition in JS', 'callback hell', 'Promise.all', 'sequential vs parallel async', 'missing await'.…

axiomantic/spellbook · 81 tokens

pretext

Help developers use @chenglou/pretext, a small TypeScript text measurement library that computes exact text metrics without DOM reflows. Use when users mention pretext, @chenglou/pretext, @chenglou/pretext/rich-inline, measuring text height without triggering DOM reflow, measuring text height or line count in JS…

yaniv-golan/pretext-skill · 182 tokens

fix-typescript-build

How to fix a failing tsc/npm run build (type-check) run in a project, batching fixes into sprints to preserve context.

bgill55/daedalus · 38 tokens