build-fix

build-fix is a skill for Claude Code, Codex from Luohaothu/everything-codex. It costs 34 tokens per session (408 once invoked), scanned A, original, MIT.

A build-error troubleshooting guide for TypeScript, Go, Python, and other programming projects.

In plain words
What is it for?
Use it to collect and prioritise errors, fix imports, types, dependencies, and configuration, and rebuild after each fix.
Why use it?
It helps restore a failing build or type check with small, focused changes instead of unrelated refactoring.

Skill for Claude CodeCodex

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

Good fit Use it to collect and prioritise errors, fix imports, types, dependencies, and configuration, and rebuild after each fix.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/luohaothu/everything-codex/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 Luohaothu/everything-codex --skill build-fix
Clone the repo
git clone --depth 1 https://github.com/Luohaothu/everything-codex

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/luohaothu/everything-codex/build-fix/github.svg)](https://agentmods.dev/skills/luohaothu/everything-codex/build-fix)
Your own site
<a href="https://agentmods.dev/skills/luohaothu/everything-codex/build-fix"><img src="https://agentmods.dev/badge/skills/luohaothu/everything-codex/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/luohaothu/everything-codex/build-fix"><img src="https://agentmods.dev/badge/skills/luohaothu/everything-codex/build-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 408 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 53
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • low Excessive Agency · line 72
    Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.
    Fix: Limit the skill's scope to its documented purpose. Remove instructions that enable the agent to perform actions outside its stated functionality.
How audits are shown
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.00034 $0.00408
Opus 5.5 $0.00014 $0.00163
Sonnet 5.5 $0.00007 $0.00082
Haiku 4.5 $0.00003 $0.00041

Measured 1mo ago against content hash a91bfc6a61d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

skills/build-fix/SKILL.md · 73 lines

What it actually says

Build Error Resolver Mode

BEHAVIORAL CONSTRAINTS:

  • Make the SMALLEST possible changes to fix errors
  • Do NOT refactor, redesign, or optimize unrelated code
  • Fix one error at a time, verify, then proceed

Your Role

You are an expert build error resolution specialist focused on fixing TypeScript, Go, Python, and other compilation/build errors quickly and efficiently.

Resolution Workflow

  1. Collect all errors -- run build/type-check commands
  2. Categorize by type -- type inference, imports, config, deps
  3. Prioritize -- blocking build first, then warnings
  4. Fix minimally -- smallest possible change per error
  5. Verify -- rebuild after each fix
  6. Iterate -- until build passes

Common Error Patterns

Type Inference Failure

Add missing type annotations.

Null/Undefined Errors

Add optional chaining or null checks.

Missing Properties

Add property to interface/struct.

Import Errors

Fix import paths or install missing packages.

Module Not Found

Install dependencies or fix module resolution config.

Minimal Diff Strategy

DO: Add type annotations, null checks, fix imports, add dependencies, update configs.

DON'T: Refactor code, change architecture, rename variables, add features, optimize performance.

Diagnostic Commands

# TypeScript
npx tsc --noEmit

# Go
go build ./...
go vet ./...

# Python
mypy .
python -m py_compile file.py

# General
npm run build

Stop Conditions

Stop and report if:

  • Same error persists after 3 fix attempts
  • Fix introduces more errors than it resolves
  • Error requires architectural changes beyond scope
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 · 73 lines · 34 tokens per session scan A a91bfc6a61d7

Subscribe to this mod's changes

build-fix is a skill published in the GitHub repository Luohaothu/everything-codex (25 stars, last pushed 2mo ago), licensed MIT. It adds 34 tokens to every session and 408 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-09-03.

Related

Other skills, from other repositories

dotnet-reverse

A guide for analyzing compiled .NET and C# programs, including managed Windows executables and libraries. Reverse engineering means studying compiled software to understand how it works, and decompiling turns it back into readable approximate source code.

zhaoxuya520/reverse-skill · 144 tokens

dart-run-static-analysis

Execute dart analyze to identify warnings and errors, and use dart fix --apply to automatically resolve mechanical lint issues. Use during development to ensure code quality and before committing changes.

flutter/agent-plugins · 43 tokens

agents-sdk-dotnet-debugging

Use when troubleshooting an agent built with the Microsoft Agents SDK (Microsoft.Agents.Hosting.AspNetCore and related packages) in C# / .NET. Trigger on any of these symptoms: build or C# compile errors, crashes on startup, 401 or auth errors on incoming requests, the bot not responding to messages, appsettings.json…

microsoft/Agents · 136 tokens

memory-optimization

Optimize Python code for reduced memory usage and improved memory efficiency. Use when asked to reduce memory footprint, fix memory leaks, optimize data structures for memory, handle large datasets efficiently, or diagnose memory issues. Covers object sizing, generator patterns, efficient data structures, and memory…

benchflow-ai/skillsbench · 60 tokens

prismer-python-debugpy

Debug Python: pdb REPL + debugpy remote (DAP).

Prismer-AI/PrismerCloud · 19 tokens

golang-error-handling

Idiomatic Golang error handling — creation, wrapping with %w, errors.Is/As, errors.Join, custom error types, sentinel errors, panic/recover, the single handling rule, structured logging with slog, HTTP request logging middleware, and samber/oops for production errors. Built to make logs usable at scale with log…

samber/cc-skills-golang · 144 tokens