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.
npx agentmods add commands/versoxbt/claude-initial-setup/build-fixgit clone --depth 1 https://github.com/VersoXBT/claude-initial-setupWrote 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.
[](https://agentmods.dev/commands/versoxbt/claude-initial-setup/build-fix)<a href="https://agentmods.dev/commands/versoxbt/claude-initial-setup/build-fix"><img src="https://agentmods.dev/badge/commands/versoxbt/claude-initial-setup/build-fix.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00009 | $0.00458 |
| Opus 5 | $0.00005 | $0.00229 |
| Sonnet 5 | $0.00002 | $0.00092 |
| Haiku 4.5 | $0.00001 | $0.00046 |
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.
What it actually says
Build Fix
Systematically resolve build errors by fixing them one at a time and verifying after each fix.
Steps
-
Run the project build command:
- Detect the build system (npm, pnpm, yarn, cargo, go, make, etc.).
- Run the appropriate build command and capture all output.
npm run build 2>&1 tsc --noEmit -
Parse the build errors:
- Extract each error with its file path, line number, and message.
- Group errors by file to understand the scope.
- Identify the total count of errors.
-
Prioritize the errors:
- Fix type errors and import errors first — they often cascade.
- Fix errors in dependency order (utilities before components that use them).
- Start with the first error in the output, as later errors may be caused by earlier ones.
-
Fix one error at a time:
- Read the affected file to understand context.
- Apply the minimal fix needed.
- Do not refactor or improve unrelated code during this process.
-
Re-run the build after each fix:
- Verify the fixed error is resolved.
- Check that no new errors were introduced.
- If new errors appear that were not in the original output, revert the last change and try a different approach.
-
Repeat steps 4-5 until the build passes cleanly.
-
Run the test suite after the build succeeds:
- Ensure no tests are broken by the fixes.
- If tests fail, fix them before considering the task complete.
If a Fix Introduces New Errors
- Revert the change immediately.
- Re-read the error message and surrounding code more carefully.
- Consider whether the error is a symptom of a deeper issue.
- Try an alternative approach.
If the Build Has Too Many Errors (50+)
- Check if a major dependency or configuration change caused the cascade.
- Review recent commits for large-scale changes.
- Consider reverting the problematic commit and reapplying changes incrementally.
Output
A clean build with zero errors and all tests passing.
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.
- 4d ago First seen · 62 lines · 9 tokens per session scan A 2848767197a6
build-fix is a command published in the GitHub repository VersoXBT/claude-initial-setup (4 stars, last pushed 3mo ago), licensed MIT. It adds 9 tokens to every session and 458 once invoked, about $0.0000 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.
Other commands, from other repositories
psql-query
Run ad-hoc PostgreSQL analytics queries against dev/test database.
git
The pre-finish status: branch, hygiene findings, message checks, workflow lint, template state.
init
Install the formatters this repository needs, with every command visible before it runs.
setup
Fetch Kobiton credentials from the authenticated MCP server and write them to /.kobiton/.credentials.
discuss
5-phase requirements-elicitation interview that produces an EARS-validated context/ .md.
Diagnose
Run a 20-point health check across the plugin install, project config, PM/notification reachability, docs freshness, board consistency, and git state. Read-only — never changes state. Reports each check as PASS/WARN/FAIL/SKIP with an actionable fix. Target under 15 seconds end-to-end. Use before demos, after a plugin…