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.
npx agentmods add instructions/promptdriven/pdd/claude-mdgit clone --depth 1 https://github.com/promptdriven/pddWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00390 | $0.00390 |
| Opus 5 | $0.00195 | $0.00195 |
| Sonnet 5 | $0.00078 | $0.00078 |
| Haiku 4.5 | $0.00039 | $0.00039 |
Grade A, and why
pdd 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 yesterday.
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.
What it actually says
Claude Code Notes
This repository contains the public PDD CLI. Keep changes focused on the open-source package and avoid adding private deployment or credential-backed workflow details.
Commands
- Install dependencies:
pip install -e ".[dev]"orpip install -e . - Run all tests:
pytest -vv tests/ - Run one test file:
pytest -vv tests/test_module_name.py - Test with coverage:
make coverage - Generate module:
make generate MODULE=module_name - Fix module:
make fix MODULE=module_name - Crash fix:
make crash MODULE=module_name - Regression tests:
make regression - Lint check:
make lintorpylint pdd/<module>.py
Model Selection
llm_model.csvhas aninteractive_onlycolumn. Rows markedTrue(e.g.github_copilot/*,chatgpt/*,lm_studio/*,ollama/*) require interactive human auth (device-flow OAuth or a ChatGPT subscription /codex logintoken) or a running local server and hang in non-interactive contexts (Cloud Run, CI, library import)._select_model_candidatesskips them in the automatic candidate cascade by default; setPDD_ALLOW_INTERACTIVE=1from a terminal to opt in. An explicitly configuredPDD_MODEL_DEFAULTis always honored.
Code Style
- Python 3.12+, four-space indentation, and PEP 8 conventions.
- Use type hints for public functions.
- Keep imports grouped as standard library, third-party, then local.
- Functions should have docstrings when behavior or side effects are not obvious.
- Add tests for user-visible behavior and shared helper changes.
- Pydantic v2 is used for structured validation.
- The CLI is implemented with Click.
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.
- yesterday First seen · 27 lines · 390 tokens per session scan A 5b858176bc82
pdd CLAUDE.md is an instructions file published in the GitHub repository promptdriven/pdd (854 stars, last pushed 7d ago), licensed MIT. It adds 390 tokens to every session, about $0.0019 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-30.
Other instructions, from other repositories
spec-kit 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.
cs CLAUDE.md
Instructions for boyter/cs, covering claude.md, project overview, build & test commands, architecture and query pipeline (pkg/search/).
CheatSheetSeries CLAUDE.md
Claude Code instructions for OWASP/CheatSheetSeries, covering claude.md and for maintainers.
dev-challenge CLAUDE.md
Instructions for micheltlutz/dev-challenge, covering claude.md, the one rule to internalise, slash commands, subagents and skills.
flow-like frontend.instructions.md
Instructions for Rheosoph/flow-like, covering project coding standards for typescript and react, typescript guidelines, react guidelines, ui framework and code quality.
Praxis CLAUDE.md
Instructions for BackToCimaCoppi/Praxis, covering praxis 贡献规范(ai 与人共同遵守), 1. skill 格式, 2. 文档格式, 3. 脱敏红线(开源仓硬约束,最高优先级) and 4. 新增 skill 自检清单(提 pr 前逐条打勾).