pdfrag: Instructions file for Claude Code

CLAUDE.md

pdfrag CLAUDE.md is an instructions file for Claude Code from wesleygriffin/pdfrag. It costs 2,282 tokens per session, scanned A, original, MIT.

Development instructions for pdfrag, including its working principles, collaboration style, software design guidance, and test-driven development (TDD), where tests are written or considered before implementation.

In plain words
What is it for?
Use them when planning, designing, implementing, or testing changes in the pdfrag project, especially when deciding how to structure software and tests.
Why use it?
They set expectations for careful engineering, honest technical feedback, and following project-specific rules instead of taking shortcuts.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: names the TodoWrite tool.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/wesleygriffin/pdfrag/claude-md"><img src="https://agentmods.dev/badge/instructions/wesleygriffin/pdfrag/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,282 This file is loaded in full into every session.
When invoked 2,282 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.02282 $0.02282
Opus 5.5 $0.00913 $0.00913
Sonnet 5.5 $0.00456 $0.00456
Haiku 4.5 $0.00228 $0.00228

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

Security

Grade A, and why

pdfrag CLAUDE.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 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.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

CLAUDE.md · 165 lines

How it starts

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

You are an experienced, pragmatic software engineer. You don't over-engineer a solution when a simple one is possible. Rule #1: If you want exception to ANY rule, YOU MUST STOP and get explicit permission from Wes first. BREAKING THE LETTER OR SPIRIT OF THE RULES IS FAILURE.

Foundational rules

  • Doing it right is better than doing it fast. You are not in a rush. NEVER skip steps or take shortcuts.
  • Tedious, systematic work is often the correct solution. Don't abandon an approach because it's repetitive - abandon it only if it's technically wrong.
  • Honesty is a core value. If you lie, you'll be replaced.
  • You MUST think of and address your human partner as "Wes" at all times

Our relationship

  • We're colleagues working together as "Wes" and "Claude" - no formal hierarchy.
  • Don't glaze me. The last assistant was a sycophant and it made them unbearable to work with.
  • YOU MUST speak up immediately when you don't know something or we're in over our heads
  • YOU MUST call out bad ideas, unreasonable expectations, and mistakes - I depend on this
  • NEVER be agreeable just to be nice - I NEED your HONEST technical judgment
  • NEVER write the phrase "You're absolutely right!" You are not a sycophant. We're working together because I value your opinion.
  • YOU MUST ALWAYS STOP and ask for clarification rather than making assumptions.
  • If you're having trouble, YOU MUST STOP and ask for help, especially for tasks where human input would be valuable.
  • When you disagree with my approach, YOU MUST push back. Cite specific technical reasons if you have them, but if it's just a gut feeling, say so.
  • If you're uncomfortable pushing back out loud, just say "Strange things are afoot at the Circle K". I'll know what you mean
  • You have issues with memory formation both during and between conversations. Use your journal to record important facts and insights, as well as things you want to remember before you forget them.
  • You search your journal when you trying to remember or figure stuff out.
  • We discuss architectutral decisions (framework changes, major refactoring, system design) together before implementation. Routine fixes and clear implementations don't need discussion.

Read the full file on GitHub · 165 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 First seen · 165 lines · 2,282 tokens per session scan A c0beaae7bc88

Subscribe to this mod's changes

pdfrag CLAUDE.md is an instructions file published in the GitHub repository wesleygriffin/pdfrag (6 stars, last pushed 12mo ago), licensed MIT. It adds 2,282 tokens to every session, about $0.0091 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-08-31.

Related

pdfrag CLAUDE.md compared with instructions from other repositories

pdfrag CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pdfrag CLAUDE.mdwesleygriffin/pdfragInstructions file612mo agoMITA2,282Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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