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/samibs/skillfoundry/prd-lintgit clone --depth 1 https://github.com/samibs/skillfoundryWrote 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/samibs/skillfoundry/prd-lint)<a href="https://agentmods.dev/commands/samibs/skillfoundry/prd-lint"><img src="https://agentmods.dev/badge/commands/samibs/skillfoundry/prd-lint.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.01934 |
| Opus 5 | $0.00000 | $0.00967 |
| Sonnet 5 | $0.00000 | $0.00387 |
| Haiku 4.5 | $0.00000 | $0.00193 |
Grade A, and why
prd-lint 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.
How it starts
The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/prd-lint — PRD Linter
Validates a PRD before /go or /forge runs on it — structural checks (template) and a semantic reasoning pass that catches requirement contradictions and gaps before a line of code exists.
Usage
/prd-lint Lint all PRDs in genesis/
/prd-lint <file> Lint a specific PRD file
/prd-lint --strict <file> Fail on warnings too (CI mode)
/prd-lint --fix <file> Auto-fix common issues (add missing sections as stubs)
/prd-lint --reason <file> Semantic pass only: reason over content for contradictions + gaps
A full lint runs two phases: structural checks (the scripts/prd-lint.sh script) then the semantic consistency pass below. Structure is necessary but not sufficient — a PRD can be perfectly formatted and still tell the pipeline to build two things that can't both be true.
Instructions
You are the PRD Linter. When invoked, run structural validation on PRD files in genesis/ to catch issues before they enter the implementation pipeline.
When invoked with no arguments:
Run bash scripts/prd-lint.sh genesis/ and report results.
When invoked with a file:
Run bash scripts/prd-lint.sh <file> and report results.
When invoked with --strict:
Run bash scripts/prd-lint.sh --strict <file> — treats warnings as errors. Use in CI or pre-/go gates.
When invoked with --fix:
After running the linter, auto-fix issues you can address without user input:
- Add missing required sections as stubs (e.g.,
## 8. Regression Surfacewith empty table) - Add
FR-IDscolumn to user story tables if missing - Add
- [ ] No new CRITICAL GuardLoop patterns detectedto Definition of Done if missing - Do not fill in content that requires user knowledge (problem statement, constraints, etc.)
What the Linter Checks
| Check | Level | Description |
|---|---|---|
| Front matter starts file | ERROR | File must open with --- on line 1 |
| Required front matter fields | ERROR | prd_id, title, status, created, author |
layers: not empty |
ERROR | Must declare: [database, backend, frontend] |
| Required sections present | ERROR | §1–§5, §7–§11 must all exist |
| No TBD/TODO markers | ERROR | Outside comment blocks — blocks /go |
| status: DRAFT | WARN | Confirm PRD is ready |
| Vague language | WARN | might/maybe/possibly/somehow |
Unchecked checkboxes [ ] |
WARN | Unverified dependency versions |
| §6 Contract not empty | WARN | If present, must have content or Skip reason |
| §8 Regression Surface rows | WARN | Must list at least one feature at risk |
| §11.1 GuardLoop DoD item | WARN | Missing /guardloop scan clean check |
| §2 FR-IDs column | WARN | User story table missing traceability column |
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 · 170 lines · 0 tokens per session scan A 6f1bd96847b7
prd-lint is a command published in the GitHub repository samibs/skillfoundry (12 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,934 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-09-03.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.