pdfrag CLAUDE.md

pdfrag CLAUDE.md is an instructions file for coding agents 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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/wesleygriffin/pdfrag/claude-md
Clone the repo
git clone --depth 1 https://github.com/wesleygriffin/pdfrag

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.02282 $0.02282
Opus 5 $0.01141 $0.01141
Sonnet 5 $0.00456 $0.00456
Haiku 4.5 $0.00228 $0.00228

Measured 4d ago against content hash c0beaae7bc88, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 9mo ago), licensed MIT. It adds 2,282 tokens to every session, about $0.0114 per session on Opus 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

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 · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 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,345 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, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

next.js 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,296 tokens