pulp: Instructions file for Claude Code

AGENTS.md

pulp AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from Generous-Corp/pulp. It costs 1,653 tokens per session, scanned A, original, MIT.

Repository-specific instructions for the Pulp project. They tell coding agents which files and checks to read before changing worktrees, build settings, continuous integration, or release automation.

In plain words
What is it for?
Use them before modifying the repository, especially its worktree state, fleet or continuous-integration settings, merge queue, runners, caching, or release automation.
Why use it?
They reduce the risk of repeating rejected decisions or editing an obsolete worktree. They also make agents check the project's recorded rules before changing sensitive build and release configuration.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: SessionStart hook event, but also the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

This is Generous-Corp/pulp's own configuration. It tells Claude Code, Codex and OpenCode 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/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Generous-Corp/pulp

Made for: Claude Code, Codex, OpenCode.

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 AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/generous-corp/pulp/agents-md/github.svg)](https://agentmods.dev/instructions/generous-corp/pulp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/generous-corp/pulp/agents-md"><img src="https://agentmods.dev/badge/instructions/generous-corp/pulp/agents-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 AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/generous-corp/pulp/agents-md"><img src="https://agentmods.dev/badge/instructions/generous-corp/pulp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,653 This file is loaded in full into every session.
When invoked 1,653 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.01653 $0.01653
Opus 5.5 $0.00661 $0.00661
Sonnet 5.5 $0.00331 $0.00331
Haiku 4.5 $0.00165 $0.00165

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

Security

Grade A, and why

pulp AGENTS.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 13d 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.

AGENTS.md · 101 lines

How it starts

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

AGENTS.md

Read docs/dev/code-rules.md first: the one-page card of design, style, real-time safety and test rules. Then read CLAUDE.md before making any changes.

Before changing files, run tools/scripts/worktree_lineage.sh show --path .. If the worktree is superseded, merged, or archived, follow its recorded successor/disposition instead of resuming it. If no status is recorded, classify the worktree before editing.

A review subagent runs read-only and returns a patch; an agent edits only worktrees it created. Set PULP_AGENT_OWNER to your lane label so the pre-push ownership guard can refuse edits made in another agent's active worktree.

Choosing a UI stack

The default UI is Vellum on Skia/Dawn. RmlUi (an opt-in Vellum component) and a bring-your-own native surface are alternatives for stated reasons only, never an agent's own pick. Read CLAUDE.md "Choosing a UI stack" and the rmlui skill before writing or choosing an editor's UI technology.

Decisions contract (read before touching fleet/CI config)

Settled build-system, CI, and release-automation decisions are recorded in .agents/contract.toml — a schema-versioned, layered (generic default layer + pulp overlay), agent-neutral file. Each decision was bought with an incident; several were re-proposed by past agents and cost a planning cycle each. Before proposing or writing a change to CI/fleet config (the merge queue, Namespace/paid runners, auto-rebase or --adopt-head, bump-at-merge, ccache depend-mode, squash auto-merge, static runner names, the Debug macOS lane, warm build dirs), read the relevant rows:

python3 tools/scripts/decisions_contract.py --mode list                          # all rows
python3 tools/scripts/decisions_contract.py --mode surface --base origin/main    # rows your diff touches
python3 tools/scripts/decisions_contract.py --mode validate                      # schema-check the file

Reversing a decision requires first proving its motivating incident class can no longer occur (Step Zero). The read surface and the SessionStart/PostToolUse hooks (hooks/scripts/decisions-contract-*.sh, wired for both Codex via .codex/hooks.json and Claude via the plugin) are advisory context only — the authoritative block is this CLI's validate gate plus CI required checks.

Read the full file on GitHub · 101 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. 13d ago Changed · +4 lines · +54 tokens per session a8dec8d3a3c7
  2. 25d ago Changed · +7 lines · +85 tokens per session 49c214dbc9a7
  3. 27d ago Changed · +1 lines · +35 tokens per session 89cdef5472e9
  4. 1mo ago Changed · -1 lines · +1 tokens per session cd9af2d95b2b
  5. 1mo ago Changed · -14 lines · -47 tokens per session e1f9d75b7dd2
  6. 1mo ago Changed · +46 lines · +717 tokens per session eaed031ecf20
  7. 1mo ago Changed · +4 tokens per session 453ea5003dd8
  8. 1mo ago Changed · +11 lines · +171 tokens per session 4dc8d988d59c
  9. 3mo ago First seen · 47 lines · 633 tokens per session scan A 4a7639ebbe64

Subscribe to this mod's changes

pulp AGENTS.md is an instructions file published in the GitHub repository Generous-Corp/pulp (25 stars, last pushed yesterday), licensed MIT. It adds 1,653 tokens to every session, about $0.0066 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-09-04.

Related

pulp AGENTS.md compared with instructions from other repositories

pulp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pulp AGENTS.mdGenerous-Corp/pulpInstructions file25yesterdayMITA1,653Claude Code, Codex, OpenCode
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