builders-stack: Instructions file for Claude Code

CLAUDE.md

builders-stack CLAUDE.md is an instructions file for Claude Code from lonormaly/builders-stack. It costs 3,018 tokens per session, scanned C, original, MIT.

A set of instructions that maps a coding project’s folders, conventions, commands, and rules. The project is a monorepo, meaning one repository contains several related applications, services, and shared libraries.

In plain words
What is it for?
Use it when developing in builders-stack to find applications, services, libraries, and shipped packages, and to learn how to run or extend them.
Why use it?
It helps a coding agent understand where code belongs and which project rules it must follow before making changes. This reduces misplaced code and accidental breaks.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions subagents.

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

Reuse

Borrowing it

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

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 builders-stack CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/lonormaly/builders-stack/claude-md"><img src="https://agentmods.dev/badge/instructions/lonormaly/builders-stack/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,018 This file is loaded in full into every session.
When invoked 3,018 The same file — it is already loaded in full.
Security scan C 2 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.03018 $0.03018
Opus 5.5 $0.01207 $0.01207
Sonnet 5.5 $0.00604 $0.00604
Haiku 4.5 $0.00302 $0.00302

Measured 2mo ago against content hash 9651025e4ab3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

builders-stack CLAUDE.md scanned grade C with 2 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 2mo 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- **Third-party skills/MCPs — vet before you install:** a skill/MCP is code with your permissions + a payload the model obeys (the reason we swapped the SQL-injectable Postgres MCP for a read-only one). Before installing

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **Third-party skills/MCPs — vet before you install:** a skill/MCP is code with your permissions + a payload the model obeys (the reason we swapped the SQL-injectable Postgres MCP for a read-only one). Before installing
CLAUDE.md · 93 lines

How it starts

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

CLAUDE.md — the map for coding agents

This is a bun-workspace monorepo. Read this before writing code; it tells you where everything lives so you don't reinvent what already exists.

Where things live

  • apps/ — public UI. apps/web (Next.js app), apps/landing (public marketing), apps/mobile (React Native / Expo — real starter).
  • services/ — anything with a URL. services/api (Hono + OpenAPI), services/ai-worker (background load), services/payment (Creem adapter).
  • libs/ — shared, never served. libs/ui (shadcn + tokens + Storybook), libs/auth (Better Auth), libs/db (Drizzle), libs/ai (Vercel AI SDK), libs/analytics (PostHog + Clarity + typed events), libs/email (Resend + React Email), libs/config (typed env), libs/api-types (shared API contract). Import by package name: @stack/ui, @stack/db, …
  • packages/ — what you SHIP (apps/services/libs are what you RUN). Distributable artifacts served to third parties: npm SDKs, embeddable widgets, CLIs. packages/widget (@stack/widget) is the worked example — an embeddable feedback widget with an IIFE (<script src>) + ESM build. Tag type:package; may depend on libs/* only; TERMINAL — nothing internal imports a package (shipped out, not consumed). No distributable to ship? Delete the folder.
  • ops/ — how you OPERATE it (the fifth bucket; apps/services/libs/packages are what the system is). Deploy · db · secrets · runbooks · local-CI. The outermost layer: it reaches down into the code to drive it (deploy, migrate, seed, provision) and nothing imports from ops/. Not a workspace, invisible to Nx — no build/lint/typecheck target, no boundary to violate. Secrets provisioning points to Ringtail and nothing else (ops/secrets/). Brand assets + strategy do not live here — those are docs/brand/. See ops/README.md.

Conventions (do not break)

  • No upward import: libs must not import from apps/services. Dependencies point down only.
  • One public door: import a lib from its package name / src/index.ts — never a deep path.
  • By feature, not by layer inside each app/service (billing/, not controllers/).
  • Every workspace extends the root tsconfig.base.json. Don't fork compiler options.
  • ORM is Drizzle (libs/db). One ORM only.
  • Payments go through the @stack/payment adapter interface — never call a vendor (Creem/Dodo/…) directly from an app. Swapping or adding a provider is a one-file change in services/payment/src/provider.ts; recipe in docs/stack/payments.md.
  • Any apps/, libs/, services/, scripts/, ops/, .wt0*, Tiltfile, or tilt_*.sh change gets its own bold-led line under CHANGELOG.md's ## Unreleased, in the same PR — see "CHANGELOG — enforced" below.

Read the full file on GitHub · 93 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. 2mo ago Changed · +7 lines · +281 tokens per session 9651025e4ab3
  2. 2mo ago First seen · 86 lines · 2,737 tokens per session scan C 3e75bb0f3a7e

Subscribe to this mod's changes

builders-stack CLAUDE.md is an instructions file published in the GitHub repository lonormaly/builders-stack (42 stars, last pushed 1mo ago), licensed MIT. It adds 3,018 tokens to every session, about $0.0121 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

builders-stack CLAUDE.md compared with instructions from other repositories

builders-stack CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
builders-stack CLAUDE.mdlonormaly/builders-stackInstructions file421mo agoMITC3,018Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,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