foundry: Instructions file for Claude Code

CLAUDE.md

foundry CLAUDE.md is an instructions file for Claude Code from incubrain/foundry. It costs 843 tokens per session, scanned A, original, MIT.

A set of Claude Code instructions for incubrain/foundry. It covers context-mode routing, blocked commands, and restrictions on network access methods.

In plain words
What is it for?
Use it when working in the foundry repository and needing its routing, command, or web-access rules.
Why use it?
It tells the coding agent which project rules to follow and which commands or network methods it must not use.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; names the TodoWrite tool; mentions Claude Code.

This is incubrain/foundry's own configuration. It tells Claude Code how to work on foundry 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 foundry configures →

Reuse

Borrowing it

Nothing to install: this file belongs to incubrain/foundry. 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/incubrain/foundry/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/incubrain/foundry

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 foundry CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/incubrain/foundry/claude-md/github.svg)](https://agentmods.dev/instructions/incubrain/foundry/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/incubrain/foundry/claude-md"><img src="https://agentmods.dev/badge/instructions/incubrain/foundry/claude-md/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 foundry CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/incubrain/foundry/claude-md"><img src="https://agentmods.dev/badge/instructions/incubrain/foundry/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 843 This file is loaded in full into every session.
When invoked 843 The same file — it is already loaded in full.
Security scan A 0 findings. 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.00843 $0.00843
Opus 5.5 $0.00337 $0.00337
Sonnet 5.5 $0.00169 $0.00169
Haiku 4.5 $0.00084 $0.00084

Measured 14d ago against content hash 3396162061d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

foundry 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 14d 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 · 76 lines

How it starts

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

CLAUDE.md

Guidance for Claude Code in this repository. Reference detail — architecture, file locations and workflows — lives in CONTEXT.md. Canonical terms are in GLOSSARY.md.

Project

Foundry (@incubrain/foundry) is a Nuxt 4 validation layer for technical founders — captures signal (email, presales, bookings) to prove demand before building product. See GLOSSARY.md for domain terms and CONTEXT.md for architecture, file locations, and day-to-day workflow (verdaccio cross-repo testing, module guides, visual testing).

Critical rules

  1. Never add features that don't capture signal. If it doesn't help founders validate faster, reject it.
  2. Never build custom when VueUse/library exists. Priority: VueUse → library → custom (last resort). Check composables.vueuse.org first.
  3. Validation ≠ Product. Email sequences, auth, payment processing, gated content are product features — out of scope.
  4. Complexity budget: max 50 lines per layer component (reusable); example-app components can run longer but extract composables at ~150 lines. Max 5 props, max 2 abstraction layers, max 3 nesting levels.
  5. Content in YAML/Markdown, not hardcoded. Customers edit content files, not code.
  6. Ship first, optimize later. Ship working → measure → optimize what data proves necessary.

Before building: does VueUse solve this? does an existing component handle it? is this a real (not imagined) problem? will it capture signal faster? If all four are "no," don't build it.

Issue tracking — beads (bd)

Beads Issue Tracker

This project uses bd (beads) for issue tracking. Run bd prime to see full workflow context and commands.

Quick Reference

bd ready              # Find available work
bd show <id>          # View issue details
bd update <id> --claim  # Claim work
bd close <id>         # Complete work

Rules

  • Use bd for ALL task tracking — do NOT use TodoWrite, TaskCreate, or markdown TODO lists
  • Run bd prime for detailed command reference and session close protocol
  • Use bd remember for persistent knowledge — do NOT use MEMORY.md files

Read the full file on GitHub · 76 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. 14d ago Changed · -17 lines · -258 tokens per session 3396162061d7
  2. 2mo ago Changed · -19 lines · -257 tokens per session 7eacccc564a3
  3. 2mo ago First seen · 112 lines · 1,358 tokens per session scan A b8af2b09ea2c

Subscribe to this mod's changes

foundry CLAUDE.md is an instructions file published in the GitHub repository incubrain/foundry (79 stars, last pushed 11d ago), licensed MIT. It adds 843 tokens to every session, about $0.0034 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-08-30.

Related

foundry CLAUDE.md compared with instructions from other repositories

foundry CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
foundry CLAUDE.mdincubrain/foundryInstructions file7911d agoMITA843Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode