pulp: Instructions file for Claude Code

CLAUDE.md

pulp CLAUDE.md is an instructions file for Claude Code from Generous-Corp/pulp. It costs 39,453 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 39,453 This file is loaded in full into every session.
When invoked 39,453 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.39453 $0.39453
Opus 5.5 $0.15781 $0.15781
Sonnet 5.5 $0.07891 $0.07891
Haiku 4.5 $0.03945 $0.03945

Measured 3d ago against content hash 8fb56e7c275b, 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 3d 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,250 lines

How it starts

The opening of the file, as written. The whole thing — 2,250 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.

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,250 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. 3d ago Changed · +7 lines · +248 tokens per session 8fb56e7c275b
  2. 6d ago Changed · +2 lines · +63 tokens per session 1553e35f9221
  3. 8d ago Changed · +19 tokens per session 4c06ad837d92
  4. 9d ago Changed · +2 lines · +155 tokens per session 45ad02859aa6
  5. 12d ago Changed · +4 lines · +67 tokens per session 57d85bc45462
  6. 15d ago Changed · +3 lines · +311 tokens per session 5d3f5a9c576a
  7. 17d ago Changed · +11 lines · +228 tokens per session 07e036b65633
  8. 19d ago Changed · +18 lines · +568 tokens per session 04640624fb3a
  9. 20d ago Changed · +9 lines · +346 tokens per session c4d85d14a5f3
  10. 22d ago First seen · 2,194 lines · 37,448 tokens per session scan C 72b355c924d5

Subscribe to this mod's changes

pulp CLAUDE.md is an instructions file published in the GitHub repository Generous-Corp/pulp (22 stars, last pushed yesterday), licensed MIT. It adds 39,453 tokens to every session, about $0.1578 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

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,649 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,257 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,159 tokens