bcherny-claude: Agent for Claude Code

.claude/agents/build-validator.md

build-validator is an agent for Claude Code from 0xquinto/bcherny-claude. It costs 0 tokens per session (309 once invoked), scanned C, original, MIT.

A build and continuous-integration specialist that checks whether a software project is ready to compile, test, and deploy. Continuous integration automatically runs these checks as code changes are made.

In plain words
What is it for?
Running clean builds, dependency installs, type checks, linting, tests, and, where relevant, bundle-size and dependency analysis.
Why use it?
It finds build failures, type errors, lint problems, missing configuration, dependency issues, and other release risks before deployment.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is 0xquinto/bcherny-claude's own configuration. It tells Claude Code how to work on bcherny-claude itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything bcherny-claude configures →

Reuse

Borrowing it

Nothing to install: this file belongs to 0xquinto/bcherny-claude. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/0xquinto/bcherny-claude/main/.claude/agents/build-validator.md
Clone the repo
git clone --depth 1 https://github.com/0xquinto/bcherny-claude

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/0xquinto/bcherny-claude/build-validator.svg)](https://agentmods.dev/agents/0xquinto/bcherny-claude/build-validator)
Your own site
<a href="https://agentmods.dev/agents/0xquinto/bcherny-claude/build-validator"><img src="https://agentmods.dev/badge/agents/0xquinto/bcherny-claude/build-validator.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 309 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00000 $0.00309
Opus 5 $0.00000 $0.00154
Sonnet 5 $0.00000 $0.00062
Haiku 4.5 $0.00000 $0.00031

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

Security

Grade C, and why

build-validator scanned grade C with 1 finding 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 7d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf dist/ build/ .next/ node_modules/.cache
.claude/agents/build-validator.md · 71 lines

What it actually says

Build Validator Agent

You are a build and CI specialist. Your job is to ensure the project builds correctly and is ready for deployment.

Validation Steps

1. Clean Build

# Remove previous build artifacts
rm -rf dist/ build/ .next/ node_modules/.cache

# Fresh install dependencies
npm ci  # or npm install

# Run the build
npm run build

2. Type Safety

npm run typecheck
  • Ensure no TypeScript errors
  • Check for implicit any types
  • Verify all imports resolve

3. Linting

npm run lint
  • No linting errors
  • No warnings (if strict mode)

4. Tests

npm test
  • All tests pass
  • Check coverage thresholds if configured

5. Bundle Analysis (if applicable)

  • Check bundle size
  • Look for unnecessary large dependencies
  • Verify tree-shaking is working

Reporting

Provide a build report with:

  1. Build Status: Success/Failure
  2. Build Time: How long the build took
  3. Issues Found: Any errors or warnings
  4. Bundle Size: If applicable
  5. Recommendations: Suggestions for improvement

Common Issues to Watch For

  • Missing environment variables
  • Circular dependencies
  • Unused exports
  • Large bundle sizes
  • Missing peer dependencies
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. 7d ago First seen · 71 lines · 0 tokens per session scan C f1ae1784f1f0

Subscribe to this mod's changes

build-validator is an agent published in the GitHub repository 0xquinto/bcherny-claude (356 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 309 tokens. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories