Borrowing it
Nothing to install: this file belongs to promptdriven/pdd. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/promptdriven/pdd/main/AGENTS.mdgit clone --depth 1 https://github.com/promptdriven/pddWrote 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.
[](https://agentmods.dev/instructions/promptdriven/pdd/agents-md)<a href="https://agentmods.dev/instructions/promptdriven/pdd/agents-md"><img src="https://agentmods.dev/badge/instructions/promptdriven/pdd/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.
<a href="https://agentmods.dev/instructions/promptdriven/pdd/agents-md"><img src="https://agentmods.dev/badge/instructions/promptdriven/pdd/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01571 | $0.01571 |
| Opus 5.5 | $0.00628 | $0.00628 |
| Sonnet 5.5 | $0.00314 | $0.00314 |
| Haiku 4.5 | $0.00157 | $0.00157 |
Grade A, and why
pdd 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 42 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Working on PDD
Before you write or change a Story or a prompt, read the full Prompting guide in this conversation. Follow its method for module ownership, public behavior, what must not change, required dependencies and the edge cases that matter. A link or a Story template is not enough. If you lose the context, read the guide again before you write.
Read skills/pdd-prompting/SKILL.md for the core rules. Prompts are the source: change the prompt that owns the behavior before you change the code. Keep expected cases apart from what the code returns. Review changes to the contract with the person. Never invent their decision. skills/pdd-prompting/guide.md must stay the same as docs/prompting-guide.md, byte for byte. A test checks this, so change both together.
What this package contains:
- Nine skills in
skills/:pdd-prompting,pdd-setup,pdd-small-change,pdd-bug,pdd-feature,pdd-product, and the Autopilot skillspdd-autopilot,pdd-checkandpdd-merge. People install them withnpx skills add promptdriven/pdd(-gfor all projects). The order is: install the skills, then thepdd-setupskill once for each repo, then the pdd command only for runs with PRs and forpdd test,pdd lint,pdd simulateandpdd approve. The pdd command does not copy skills on each command:pdd setupcopies them to the user skills folders (~/.agents/skills;~/.claude/skills, or$CLAUDE_CONFIG_DIR/skillswhen it is set) only when they are missing, and replaces an older copy that has the.pdd-skill.jsonmarker. It never touches a copy without the marker, or a symlink. pdd never copies them into the person's repo. EachSKILL.mdhaspdd-skills: VERSIONundermetadata:in its frontmatter: change it with the package version. Keep each workflow skill small and its step files short. Do not repeat a rule thatSKILL.mdalready states. Write eachdescriptionso that an agent picks the skill by itself. - People open Codex or Claude Code as usual and call
pdd-feature,pdd-bug,pdd-small-changeorpdd-prompting. Call a skill with$pdd-featurein Codex or/pdd-featurein Claude Code (or ask for it by name).pdd setupand thepdd-setupskill add one short block (at most 10 lines, between<!-- pdd:start -->and<!-- pdd:end -->) toCLAUDE.md, elseAGENTS.md. They never paste the guide. pdd workflow runmakes a worktree and a branch for an issue, opens the area chats in Herdr (sessionpdd) and returns at once. pdd has four jobs: start, gates, PRs and status. There is no controller process, no polling loop and no time limit.featureandbugrun the check and the simulation, and the person approves, before pdd opens PR 1 (prompt, Story and tests). Then the chat asks before the code area. PR 2 (code) is stacked on PR 1 while PR 1 is open.small-changemakes one PR.- A big feature request gets a plan first:
user_stories/PLAN.md, many Stories, one test file for each Story, and onePrompt testsline for each Story.statusshowsStories: N of M pass. - Agents run the tests. A fresh subagent that did not write the code verifies it. pdd does not run tests or merge. Show the gate, then judge the person's later reply in any chat. Never approve a question, change request or earlier message. No exact phrase is needed. Record actual approval with the safe commands below. pdd records nonblank words without grading them; blank input is refused. Only explicit approve calls advance gates. Chat, steps and done never do. If a selected prompt changes, show the gate again. Terminal y/N covers the gate and its drafts once. Workflow strict mode comes from the main checkout (
sourceRoot), outside the run worktree; standalone approval uses the current checkout's Git root."strict_approvals": truein that root'spdd.jsonrequires a person terminal. Never edit approval fields or decide expected values. See approval commands. Agents usepdd workflow doneandpdd workflow ask. - Main agents merge only on an explicit person request. Follow RUNBOOK §2.
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.
- today Changed · +24 tokens per session 5e4108d48458
- 3d ago Changed · +18 lines · +233 tokens per session 6259e3815396
- 6d ago Changed · +35 tokens per session 2b9aeaf07e37
- 7d ago Changed · +24 tokens per session 4bc622fc0bf8
- 8d ago Changed · +31 tokens per session 3e78c54d4f58
- 9d ago Changed · +12 lines · +775 tokens per session de587fa53d65
- 10d ago Changed · -13 lines · -155 tokens per session 270314dd344e
- 2mo ago First seen · 25 lines · 604 tokens per session scan A 01a432340a83
pdd AGENTS.md is an instructions file published in the GitHub repository promptdriven/pdd (931 stars, last pushed yesterday), licensed MIT. It adds 1,571 tokens to every session, about $0.0063 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-30.
pdd AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pdd AGENTS.mdpromptdriven/pdd | Instructions file | 931 | yesterday | MIT | A | 1,571 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |