build-fix

build-fix is a command for Cursor from jy315189/everything-cursor. It costs 0 tokens per session (184 once invoked), scanned A, original, MIT.

A troubleshooting command for failed builds, code type errors, missing packages, and dependency conflicts. It examines the error, finds its underlying cause, applies a small fix, and checks the result.

In plain words
What is it for?
Use it when a project will not compile, TypeScript reports an error, a module is missing, packages conflict, or build configuration is broken.
Why use it?
It helps when an error message points to a symptom rather than the real problem, or when several packages or configuration settings interact.

Command for Cursor

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 commands/jy315189/everything-cursor/build-fix
Clone the repo
git clone --depth 1 https://github.com/jy315189/everything-cursor

Made for: Cursor.

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/commands/jy315189/everything-cursor/build-fix.svg)](https://agentmods.dev/commands/jy315189/everything-cursor/build-fix)
Your own site
<a href="https://agentmods.dev/commands/jy315189/everything-cursor/build-fix"><img src="https://agentmods.dev/badge/commands/jy315189/everything-cursor/build-fix.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 184 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.00000 $0.00184
Opus 5 $0.00000 $0.00092
Sonnet 5 $0.00000 $0.00037
Haiku 4.5 $0.00000 $0.00018

Measured 4d ago against content hash b0a3784bb00a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

.cursor/commands/build-fix.md · 34 lines

What it actually says

/build-fix — Fix Build Errors

Diagnose and fix build errors, type errors, and dependency issues.

When to Use

  • Build or compilation fails
  • TypeScript type errors you can't resolve
  • Dependency conflicts or missing modules
  • Configuration issues

Input

/build-fix [paste the error message, or describe the problem]

What Happens

  1. Reads the full error message and categorizes it
  2. Identifies the root cause (not just the symptom)
  3. Applies the minimal fix
  4. Verifies the build succeeds
  5. Documents how to prevent recurrence

Example

/build-fix
TS2339: Property 'user' does not exist on type 'Session'

Delegates to: @agents/build-error-resolver for systematic diagnosis

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 · 34 lines · 0 tokens per session scan A b0a3784bb00a

Subscribe to this mod's changes

build-fix is a command published in the GitHub repository jy315189/everything-cursor (2 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 184 tokens. 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.