pulp: Instructions file for Claude Code

CLAUDE.md

pulp CLAUDE.md is an instructions file for Claude Code from Generous-Corp/pulp. It costs 41,551 tokens per session, scanned C, original, MIT.

Repository-specific instructions for building and testing Pulp, a cross-platform audio plugin and application framework. They describe its codebase, build settings, and commands.

In plain words
What is it for?
Use them when changing Pulp code, configuring its CMake build, or running its build and test commands.
Why use it?
They give the coding agent the project's expected build type and procedures instead of relying on generic assumptions.

Instructions file for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions CLAUDE.md.

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

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/Generous-Corp/pulp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Generous-Corp/pulp

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/generous-corp/pulp/claude-md/github.svg)](https://agentmods.dev/instructions/generous-corp/pulp/claude-md)
Your own site
<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.

agentmods 80×15 button for pulp CLAUDE.md

Your own site · 80×15
<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>
Per session 41,551 This file is loaded in full into every session.
When invoked 41,551 The same file — it is already loaded in full.
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.41551 $0.41551
Opus 5.5 $0.16620 $0.16620
Sonnet 5.5 $0.08310 $0.08310
Haiku 4.5 $0.04155 $0.04155

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

Security

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
CLAUDE.md · 2,310 lines

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, or cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release.
  • Focused by default in a source checkout: pulp build/dev/loop/test build and run only what the working diff affects (pulp affected --json shows it) behind a loud FOCUSED: building 3/1708 targets … line. --all restores everything, --target wins, PULP_BUILD_FOCUS=0 disables, and it widens to all (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 build all; rules: docs/reference/cli.md#affected.
  • Flip to Debug only when: stepping in a debugger, capturing fresh runtime::log_info traces, repro'ing a sanitizer hit, or running validate-build.sh; restore Release when the investigation ends.
  • Reconfigure gotcha: shipyard / pre-push / rebase paths can silently reset a cache to Debug, and pulp build keeps a non-empty cached type; pass -DCMAKE_BUILD_TYPE=Release (or PULP_BUILD_TYPE=Release pulp build).
  • Verify before reporting a build is Release: BOTH grep '^CMAKE_BUILD_TYPE' build/CMakeCache.txt (prints Release) AND grep '^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 bool for an enum), run a FULL pulp 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 (or tools/ci/governed-build.sh cmake --build build) does that; a raw cmake --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 the pulp-runner-ops skill handles.

Read the full file on GitHub · 2,310 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. 2d ago Changed · +2 lines · +391 tokens per session 61eb450d0744
  2. 4d ago Changed · -1 lines · +46 tokens per session 09f86bb850b3
  3. 12d ago Changed · +1 lines · +41 tokens per session 14ed8174821c
  4. 20d ago Changed · +4 lines · +108 tokens per session 9eb120f53518
  5. 21d ago Changed · +1 lines · +38 tokens per session 0588cb72cdda
  6. 23d ago Changed · +4 tokens per session 875d344eb170
  7. 24d ago Changed 6768be2d56f8
  8. 25d ago Changed · +31 lines · +498 tokens per session a0ba15ac8a6f
  9. 27d ago Changed · +29 tokens per session 6f0adf0047d1
  10. 28d ago First seen · 2,272 lines · 40,396 tokens per session scan C 09a08f385eef

Subscribe to this mod's changes

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.

Related

pulp CLAUDE.md compared with instructions from other repositories

pulp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pulp CLAUDE.mdGenerous-Corp/pulpInstructions file25yesterdayMITC41,551Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot