claude-code-builder CLAUDE.md

claude-code-builder CLAUDE.md is an instructions file for coding agents from krzemienski/claude-code-builder. It costs 1,452 tokens per session, scanned A, original, MIT.

Repository instructions for Claude Code Builder, a Python command-line tool that turns software specifications into applications through staged development work.

In plain words
What is it for?
Use them when modifying Claude Code Builder, including installing dependencies, running the CLI, checking status or logs, and completing development phases.
Why use it?
They give coding agents the project’s required workflow, commands, and rules for using its connected tools during development.

Instructions file

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 instructions/krzemienski/claude-code-builder/claude-md
Clone the repo
git clone --depth 1 https://github.com/krzemienski/claude-code-builder

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 claude-code-builder CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/krzemienski/claude-code-builder/claude-md.svg)](https://agentmods.dev/instructions/krzemienski/claude-code-builder/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/krzemienski/claude-code-builder/claude-md"><img src="https://agentmods.dev/badge/instructions/krzemienski/claude-code-builder/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,452 This file is loaded in full into every session.
When invoked 1,452 The same file β€” it is already loaded in full.
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.01452 $0.01452
Opus 5 $0.00726 $0.00726
Sonnet 5 $0.00290 $0.00290
Haiku 4.5 $0.00145 $0.00145

Measured 4d ago against content hash ea3643b0cd94, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

claude-code-builder CLAUDE.md 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.

CLAUDE.md Β· 213 lines

How it starts

The opening of the file, as written. The whole thing β€” 213 lines β€” stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

Claude Code Builder (CCB) is an AI-powered Python CLI tool that automates the complete software development lifecycle. It transforms project specifications into production-ready applications through intelligent task decomposition, custom AI instruction generation, and systematic phase-based execution.

🚨 CRITICAL: MCP Server Usage is MANDATORY

Every operation MUST use the appropriate MCP server:

  • context7: Before implementing ANY library or framework
  • memory: After completing each task/module
  • sequential-thinking: For complex problem decomposition
  • filesystem: For ALL file operations (NEVER use Python's open())
  • git: For version control after each phase

Key Development Commands

# Install dependencies
poetry install

# Run the CLI
poetry run claude-code-builder --help
poetry run claude-code-builder init spec.md --output-dir ./project
poetry run claude-code-builder resume ./project
poetry run claude-code-builder status ./project
poetry run claude-code-builder logs ./project --tail

# Development tools
poetry run ruff check .
poetry run ruff format .
poetry run mypy src/claude_code_builder/
poetry run black .

# Build and test
poetry build
pip install dist/*.whl
claude-code-builder --version

# Functional testing (NO UNIT TESTS)
python validate_build.py ./test_output

Architecture Overview

Multi-Agent System

src/claude_code_builder/
β”œβ”€β”€ agents/
β”‚   β”œβ”€β”€ spec_analyzer.py      # Analyzes specifications
β”‚   β”œβ”€β”€ task_generator.py     # Creates task breakdowns
β”‚   β”œβ”€β”€ instruction_builder.py # Generates AI instructions
β”‚   β”œβ”€β”€ acceptance_generator.py # Creates test criteria
β”‚   β”œβ”€β”€ documentation_agent.py  # Generates docs
β”‚   └── executor.py           # Claude Code SDK execution
β”œβ”€β”€ core/
β”‚   β”œβ”€β”€ models.py            # Pydantic v2 models
β”‚   β”œβ”€β”€ logging_system.py    # Multi-stream logging
β”‚   β”œβ”€β”€ context_manager.py   # 150K+ token handling
β”‚   β”œβ”€β”€ mcp_orchestrator.py  # MCP enforcement
β”‚   β”œβ”€β”€ output_manager.py    # Project directories
β”‚   └── project_manager.py   # State management
β”œβ”€β”€ builders/
β”‚   β”œβ”€β”€ claude_md_builder.py
β”‚   β”œβ”€β”€ command_builder.py
β”‚   └── documentation_builder.py
β”œβ”€β”€ testing/
β”‚   β”œβ”€β”€ acceptance_runner.py  # Real-world tests only
β”‚   └── production_validator.py
└── cli/
    └── main.py              # Click CLI entry

Read the full file on GitHub Β· 213 lines

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 Β· 213 lines Β· 1,452 tokens per session scan A ea3643b0cd94

Subscribe to this mod's changes

claude-code-builder CLAUDE.md is an instructions file published in the GitHub repository krzemienski/claude-code-builder (24 stars, last pushed 9mo ago), licensed MIT. It adds 1,452 tokens to every session, about $0.0073 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-30.