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 commands/mturac/everything-openai-codex/plan-prdgit clone --depth 1 https://github.com/mturac/everything-openai-codexWrote 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/commands/mturac/everything-openai-codex/plan-prd)<a href="https://agentmods.dev/commands/mturac/everything-openai-codex/plan-prd"><img src="https://agentmods.dev/badge/commands/mturac/everything-openai-codex/plan-prd.svg" alt="Measured on agentmods" 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 | $0.00018 | $0.01329 |
| Opus 5 | $0.00009 | $0.00665 |
| Sonnet 5 | $0.00004 | $0.00266 |
| Haiku 4.5 | $0.00002 | $0.00133 |
Grade A, and why
plan-prd 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- plan-prd — 95% identical, 60 lines differ
How it starts
The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PRD Command
Produces a Product Requirements Document — the requirements-phase artifact of the SDLC. Captures what must be true for success and why, and stops before how. Implementation decomposition is delegated to /plan.
Input: $ARGUMENTS
Scope of this command
| This command does | This command does NOT do |
|---|---|
| Frame the problem and users | Design the architecture |
| Capture success criteria and scope | Pick files or write patterns |
| List open questions and risks | Enumerate implementation tasks |
Write .codex/prds/{name}.prd.md |
Produce an implementation plan — that's /plan |
If you find yourself writing implementation detail, stop and cut it. It belongs in /plan.
Anti-fluff rule: When information is missing, write TBD — needs validation via {method}. Never invent plausible-sounding requirements.
Workflow
Four phases. Each phase is a single gate — ask the questions, wait for the user, then move on. No nested loops, no parallel research ceremony.
Phase 1 — FRAME
If $ARGUMENTS is empty, ask:
What do you want to build? One or two sentences.
If provided, restate in one sentence and ask:
I understand: {restated}. Correct, or should I adjust?
Then ask the framing questions in a single set:
- Who has this problem? (specific role or segment)
- What is the observable pain? (describe behavior, not assumed needs)
- Why can't they solve it with what exists today?
- Why now? — what changed that makes this worth doing?
Wait for the user. Do not proceed without answers (or explicit "skip").
Phase 2 — GROUND
Ask for evidence. This is the shortest phase and the most load-bearing:
What evidence do you have that this problem is real and worth solving? (user quotes, support tickets, metrics, observed behavior, failed workarounds — anything concrete)
If the user has none, record the PRD's Evidence section as Assumption — needs validation via {user research | analytics | prototype}. This keeps the PRD honest.
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 · 161 lines · 18 tokens per session scan A f053b2ddf732
plan-prd is a command published in the GitHub repository mturac/everything-openai-codex (89 stars, last pushed 11d ago), licensed MIT. It adds 18 tokens to every session and 1,329 once invoked, about $0.0001 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-09-03.
Other commands, from other repositories
update-faq
could you please update DESIGNFAQ & DXFAQ based on the changes we are trying to achieve.
feature
Orchestrate a complete feature through discovery, spec, implementation, and review.
research
Research a technical or product question.
selfloop
Start or control a persistent SIPS loop whose only objective is improving SIPS and the agent operating it through measured, verified iterations.
dev-planner
Generate or update DEV-PLAN.md with phased development plan from Product-Spec.md.
patterns
Show the full agentpatterns report — success rate, approach→outcome correlation, top patterns.