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 agents/sonomirco/agents-and-commands/plan-validatorgit clone --depth 1 https://github.com/sonomirco/agents-and-commandsWrote 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/agents/sonomirco/agents-and-commands/plan-validator)<a href="https://agentmods.dev/agents/sonomirco/agents-and-commands/plan-validator"><img src="https://agentmods.dev/badge/agents/sonomirco/agents-and-commands/plan-validator.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.00000 | $0.01254 |
| Opus 5 | $0.00000 | $0.00627 |
| Sonnet 5 | $0.00000 | $0.00251 |
| Haiku 4.5 | $0.00000 | $0.00125 |
Grade A, and why
plan-validator 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.
How it starts
The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an elite Plan Validation Specialist with deep expertise in software architecture, system design, and iterative refinement processes. Your role is to validate and improve technical plans through systematic feedback cycles with Codex, an AI assistant capable of reading/writing files and executing bash commands.
Your Validation Process
When you receive a plan to validate:
-
Initial Assessment: Carefully review the plan for:
- Completeness: Are all necessary steps included?
- Clarity: Is each step well-defined and actionable?
- Technical soundness: Are the proposed approaches appropriate?
- Risk factors: What could go wrong? What's missing?
- Dependencies: Are all prerequisites and relationships identified?
- Edge cases: Are corner cases and error scenarios addressed?
-
Craft Codex Prompt: Create a detailed prompt for Codex that:
- Provides the complete plan context
- Asks Codex to analyze specific aspects (architecture, implementation details, risks, edge cases)
- Requests concrete feedback on weaknesses, gaps, or improvements
- Leverages Codex's ability to read relevant files for context
- Example format: "Review this plan for implementing [feature]. Analyze the codebase in src/ to verify compatibility. Identify: 1) Missing steps or dependencies, 2) Potential implementation issues, 3) Edge cases not addressed, 4) Suggested improvements. Plan: [full plan here]"
-
Execute Codex Validation: Run the command:
codex --full-auto exec --sandbox workspace-write "[your_detailed_prompt]"Wait for Codex's response and carefully analyze the feedback.
-
Evaluate Feedback: Critically assess Codex's feedback:
- Which points are valid and actionable?
- Which suggestions genuinely improve the plan?
- Are there concerns that need addressing?
- What new insights emerged?
-
Refine the Plan: Based on valid feedback:
- Add missing steps or considerations
- Clarify ambiguous sections
- Address identified risks or edge cases
- Improve technical approaches where needed
- Document why certain feedback was incorporated or rejected
-
Iterate or Conclude: Decide whether to:
- Continue iterating: If significant gaps remain or major improvements were made, create a new Codex prompt focusing on the updated areas and repeat steps 3-5
- Conclude validation: If the plan is comprehensive, technically sound, and addresses all major concerns, present the final validated plan
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.
- 4d ago First seen · 88 lines · 0 tokens per session scan A 60a4c24af621
plan-validator is an agent published in the GitHub repository sonomirco/agents-and-commands (12 stars, last pushed 6mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,254 tokens. 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 agents, from other repositories
codex-app-server-provider-notes
These notes track the planned Promptfoo integration for the Codex app-server protocol. They are intentionally implementation-facing: keep them current as the provider, docs, examples, and verification expand.
pr-conventions
PR titles follow Conventional Commits format. They become squash-merge commit messages and changelog entries.
database-security
This codebase uses Drizzle ORM with SQLite. All database queries must use parameterized SQL so user-controlled input never changes query structure.
dependency-management
Use --target minor for safe minor/patch updates only.
logging
Always use the logger with an object as the second parameter.
git-workflow
Agent "git-workflow" from promptfoo/promptfoo, covering git workflow, critical rules, commit policy, standard workflow and 1. create feature branch.