build-fix

build-fix is a skill for Claude Code from vasuag09/harness-claude. It costs 45 tokens per session (291 once invoked), scanned A, original, MIT.

A workflow for fixing build failures and type or compile errors with the smallest correct code change.

In plain words
What is it for?
Use it after a build, type check, or lint check fails. It reproduces the failure, fixes the root cause, and checks that the project passes again.
Why use it?
It helps separate the first real error from follow-on errors and avoids hiding problems with ignored checks or disabled warnings.

Skill for Claude Code

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

Part of the harness-claude plugin — 32 skills, 8 agents, 6 hooks, 3 MCP servers shipped together

Good fit Use it after a build, type check, or lint check fails. It reproduces the failure, fixes the root cause, and checks that the project passes again.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vasuag09/harness-claude/build-fix
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.

Any agent
npx skills add vasuag09/harness-claude --skill build-fix
Clone the repo
git clone --depth 1 https://github.com/vasuag09/harness-claude

Made for: Claude Code.

Or install harness-claude, the plugin that ships this one along with the rest of its 32 skills, 8 agents, 6 hooks, 3 MCP servers.

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-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/vasuag09/harness-claude/build-fix/github.svg)](https://agentmods.dev/skills/vasuag09/harness-claude/build-fix)
Your own site
<a href="https://agentmods.dev/skills/vasuag09/harness-claude/build-fix"><img src="https://agentmods.dev/badge/skills/vasuag09/harness-claude/build-fix/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-fix

Your own site · 80×15
<a href="https://agentmods.dev/skills/vasuag09/harness-claude/build-fix"><img src="https://agentmods.dev/badge/skills/vasuag09/harness-claude/build-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 291 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.00045 $0.00291
Opus 5 $0.00023 $0.00146
Sonnet 5 $0.00009 $0.00058
Haiku 4.5 $0.00005 $0.00029

Measured 9d ago against content hash 6486e2819f68, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

build-fix 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 9d 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/build-fix/SKILL.md · 24 lines

What it actually says

/build-fix — get the build green

Goal: smallest correct change that makes the build/types pass. No refactoring.

Do this

  1. Delegate to harness-claude:build-error-resolver, or inline:
  2. Run the real build/typecheck to reproduce (npm run build, npx tsc --noEmit, pytest, ...). Read the first real error — the rest are often cascades.
  3. Fix the root cause with a minimal diff. Re-run. Repeat on the next first-error.
  4. Never silence with any / @ts-ignore / bare except: / disabled lints unless that is genuinely correct (and say why). Never use --no-verify.

Escalate

If the only real fix is a design change, stop and return to /harness-claude:architect or /harness-claude:plan rather than hacking around it.

Exit criterion

Build, types, and lint are clean. Resume /harness-claude:implement or proceed to /harness-claude:review.

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. 9d ago First seen · 24 lines · 45 tokens per session scan A 6486e2819f68

Subscribe to this mod's changes

build-fix is a skill published in the GitHub repository vasuag09/harness-claude (2 stars, last pushed 2mo ago), licensed MIT. It adds 45 tokens to every session and 291 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

check-cache-bugs

Audit Claude Code setup for cache bugs (CC#40524): sentinel, --resume/--continue, attribution header + ArkNill B3/B4/B5.

FlorianBruniaux/claude-code-plugins · 38 tokens

issue-triage

3-phase issue backlog management with audit, deep analysis, and validated triage actions. Use when triaging GitHub issues, sorting bug reports, cleaning up stale tickets, or detecting duplicate issues. Args: 'all' to analyze all, issue numbers to focus (e.g. '42 57'), 'en'/'fr' for language, no arg = audit only.

FlorianBruniaux/claude-code-plugins · 81 tokens

eval-rules

Audit .claude/rules/ files for structural correctness, glob validity, and real-world usefulness. Resolves each paths: pattern against actual project files, then asks the user whether each rule is still relevant and useful. Can update rules in-place based on answers. Use when setting up rules for the first time…

FlorianBruniaux/claude-code-plugins · 84 tokens

audit-codebase

Codebase health audit scoring 7 categories with progression plan.

FlorianBruniaux/claude-code-plugins · 15 tokens

pentest-forensics

Digital forensics — evidence acquisition, memory/disk imaging analysis, timeline reconstruction, IOC extraction advisory. Triggers on forensics, DFIR, Volatility, memory analysis, disk image, Autopsy, FTK, timeline, IOC extraction, evidence chain, log analysis.

fatihkan/badi · 60 tokens

pentest-malware

Malware analysis — triage, static analysis, dynamic sandbox, IOC extract, YARA signature writing advisory. Triggers on malware analiz, malware triage, sandbox, Cuckoo, IDA, Ghidra, dynamic analysis, IOC, YARA imza, packer, unpacker, reverse malware.

fatihkan/badi · 69 tokens