Borrowing it
Nothing to install: this file belongs to Generous-Corp/pulp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Generous-Corp/pulp/main/CLAUDE.mdgit clone --depth 1 https://github.com/Generous-Corp/pulpWrote 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/instructions/generous-corp/pulp/claude-md)<a href="https://agentmods.dev/instructions/generous-corp/pulp/claude-md"><img src="https://agentmods.dev/badge/instructions/generous-corp/pulp/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.
<a href="https://agentmods.dev/instructions/generous-corp/pulp/claude-md"><img src="https://agentmods.dev/badge/instructions/generous-corp/pulp/claude-md.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.41551 | $0.41551 |
| Opus 5.5 | $0.16620 | $0.16620 |
| Sonnet 5.5 | $0.08310 | $0.08310 |
| Haiku 4.5 | $0.04155 | $0.04155 |
Grade C, and why
pulp CLAUDE.md 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 2d 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 build-cov # this worktree only; never sweep while other lanes build How it starts
The opening of the file, as written. The whole thing — 2,310 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. Start with docs/dev/code-rules.md, the one-page rules card; this file covers the rest.
What Is This
Pulp is a cross-platform audio plugin and application framework. MIT-licensed. C++20 core, Swift on Apple, JS-scripted GPU UIs via Dawn/Skia/QuickJS. See VISION.md for the full picture.
Build & Test Commands
Build type — Release is the default
Always build Release unless you're actively investigating a bug. A
Debug build of a JS-scripted GPU UI is dramatically slower than its
Release equivalent (no -O3, no NDEBUG, asserts live, no inlining of
canvas / Skia / Yoga / QuickJS) — slow enough that a UX-perceived
regression in a Debug build is almost always the build type, not the
code. A fresh pulp build/dev/loop configure pins -G Ninja (when on
PATH), -DCMAKE_BUILD_TYPE=${PULP_BUILD_TYPE:-Release}, and, in the source
checkout, -DPULP_BUILD_EXAMPLES=OFF unless --examples (pulp design turns
them on); an EXISTING dir keeps its generator and non-empty cached build type.
Rules of thumb:
- Default:
pulp build, orcmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release. - Focused by default in a source checkout:
pulp build/dev/loop/testbuild and run only what the working diff affects (pulp affected --jsonshows it) behind a loudFOCUSED: building 3/1708 targets …line.--allrestores everything,--targetwins,PULP_BUILD_FOCUS=0disables, and it widens toall(saying why) for an empty diff, a build-system change, an unmapped C/C++ file, or >40% of the graph. Focused green is not landing green — pre-push and Shipyard buildall; rules:docs/reference/cli.md#affected. - Flip to Debug only when: stepping in a debugger, capturing fresh
runtime::log_infotraces, repro'ing a sanitizer hit, or runningvalidate-build.sh; restore Release when the investigation ends. - Reconfigure gotcha: shipyard / pre-push / rebase paths can silently reset a
cache to Debug, and
pulp buildkeeps a non-empty cached type; pass-DCMAKE_BUILD_TYPE=Release(orPULP_BUILD_TYPE=Release pulp build). - Verify before reporting a build is Release: BOTH
grep '^CMAKE_BUILD_TYPE' build/CMakeCache.txt(printsRelease) ANDgrep '^CXX_FLAGS ' build/<dir>/CMakeFiles/<target>.dir/flags.make(contains-O3 -DNDEBUG) must check out; the cache field alone is necessary-but-not-sufficient — it has been wrong by itself. - A struct-layout change must compile EVERYWHERE before shipping: when a
change alters the field layout of a struct that is brace-initialized
positionally (adding/removing a field, swapping a
boolfor anenum), run a FULLpulp build --all— not just the named feature/parity targets — in the background (it exceeds a short foreground budget). It is the longest build anyone runs, so it most needs a governed share of the machine, not every core:pulp build(ortools/ci/governed-build.sh cmake --build build) does that; a rawcmake --build … -j$(sysctl -n hw.ncpu)does not. Stray positional inits in unrelated test files fail closed at compile time, so they are safe, but only a full build surfaces them; building a subset pushes the discovery to CI. A uniform macOS/Linux/Windows failure is the tell for a real compile miss, versus the macOS-only stale-build-dir ODR thepulp-runner-opsskill handles.
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.
- 2d ago Changed · +2 lines · +391 tokens per session 61eb450d0744
- 4d ago Changed · -1 lines · +46 tokens per session 09f86bb850b3
- 12d ago Changed · +1 lines · +41 tokens per session 14ed8174821c
- 20d ago Changed · +4 lines · +108 tokens per session 9eb120f53518
- 21d ago Changed · +1 lines · +38 tokens per session 0588cb72cdda
- 23d ago Changed · +4 tokens per session 875d344eb170
- 24d ago Changed 6768be2d56f8
- 25d ago Changed · +31 lines · +498 tokens per session a0ba15ac8a6f
- 27d ago Changed · +29 tokens per session 6f0adf0047d1
- 28d ago First seen · 2,272 lines · 40,396 tokens per session scan C 09a08f385eef
pulp CLAUDE.md is an instructions file published in the GitHub repository Generous-Corp/pulp (25 stars, last pushed yesterday), licensed MIT. It adds 41,551 tokens to every session, about $0.1662 per session on Opus 5.5. 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-09-04.
pulp CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pulp CLAUDE.mdGenerous-Corp/pulp | Instructions file | 25 | yesterday | MIT | C | 41,551 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,303 | GitHub Copilot |
| deno copilot-instructions.mddenoland/deno | Instructions file | 109k | yesterday | MIT | A | 3,077 | GitHub Copilot |