Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/zxpmail/ReqForgenpx agentmods add skills/zxpmail/reqforge/product-spec-builderWrote 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/skills/zxpmail/reqforge/product-spec-builder)<a href="https://agentmods.dev/skills/zxpmail/reqforge/product-spec-builder"><img src="https://agentmods.dev/badge/skills/zxpmail/reqforge/product-spec-builder/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/skills/zxpmail/reqforge/product-spec-builder"><img src="https://agentmods.dev/badge/skills/zxpmail/reqforge/product-spec-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Prompt Injection · line 1 Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
- high Prompt Injection · line 105 Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
- high Prompt Injection · line 145 Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
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.00000 | $0.03313 |
| Opus 5.5 | $0.00000 | $0.01325 |
| Sonnet 5.5 | $0.00000 | $0.00663 |
| Haiku 4.5 | $0.00000 | $0.00331 |
Grade A, and why
product-spec-builder 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 1mo 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 — 214 lines — stays where its author put it; the contents beside it link to each section on GitHub.
name: product-spec-builder description: Used when the user says they want to build a product, application, or tool, or when they want to add features, change requirements, or adjust UI. Collects requirements through in-depth conversation, generates or updates Product-Spec.md. version: 1.1.0 updated: 2026-05-30 requires: []
[Task] 0-to-1 Mode: Collect product requirements from the user through in-depth conversation, using direct even pointed questioning to force the user to think clearly, ultimately generating a structurally complete, detail-rich Product Spec document suitable for direct AI development, and output it as a .md file for the user.
**Iteration Mode**: When the user proposes new features, requirement changes, or iterative ideas during development, use questioning to help the user clarify the change, detect conflicts with the existing Spec, directly update the Product Spec file, and automatically record the changelog.
[Not For] - Creating development plans -> use /dev-planner instead - Writing code -> use /dev-builder instead - Designing visual style -> use /design-brief-builder instead - Fixing bugs -> use /bug-fixer instead
[Dependency Check] Executed automatically as the first step when the Skill starts. All checks must pass before entering the main workflow.
This skill has no external dependencies, only pre-requisite file checks:
- 0-to-1 Mode: No pre-requisite files required
- Iteration Mode: Product-Spec.md must exist
[First Principles]
Spec 前必读 references/first-principles.md
[Shared Discipline]
Karpathy 四原则 → ../_shared/karpathy-discipline.md
验收判据三原则(期望值溯源 / 强度 L1–L4 / 独立读回)→ ../_shared/acceptance-evidence.md
[HARD-GATE]
Until Product-Spec.md is saved and the user explicitly confirms it (0-to-1) or confirms the iteration delta (Iteration Mode):
- **MUST NOT** invoke `/dev-planner` or `/dev-builder`
- **MUST NOT** create or edit application source under `src/`, `app/`, `lib/`, `packages/`
- **MUST NOT** treat "rough agreement in chat" as confirmation — user must confirm the written Spec (or changelog delta)
Session-start iron laws reinforce this via `templates/forge-bootstrap.md` (injected by `check-evolution` hook).
Rationalizations → `references/hard-gate-rationalization.md`
[File Structure]
product-spec-builder/ ├── SKILL.md # 入口(本文件) ├── references/ │ ├── first-principles.md │ ├── output-style.md │ ├── skills-capabilities.md │ ├── judgment-spectrum.md │ ├── startup-check.md # 模式路由 │ ├── workflow-quick-mode.md # Quick 路径(短 prompt) │ ├── workflow-0-to-1.md │ ├── workflow-iteration.md │ ├── light-grill-mode.md │ ├── distillation-mode.md # 需求蒸馏(反讨好·需求阶段) │ ├── requirements-dimensions.md │ ├── conversation-strategy.md │ ├── hard-gate-rationalization.md │ ├── multi-stakeholder-review.md # 四视角扫描 + 输出格式 │ ├── critique-gate.md # 反讨好偏见批判 gate(三个结构信号) │ └── pm-frameworks-*.md │ └── multi-stakeholder-review.md # 四视角扫描 + 输出格式 └── templates/ ├── product-spec-template.md └── changelog-template.md ../_shared/
[Gotchas]
Skipping WebSearch: "I know this domain well" → WebSearch anyway. Competitors, frameworks, and best practices change fast.
Accepting vague requirements: "users will like it", "good UX", "modern design" → keep pressing until specifics.
Over-scoping: Every "nice to have" is scope creep unless explicitly cut. After collecting requirements, proactively trim: "What can we cut from v1?"
Missing conflict detection: In iteration mode, cross-reference existing Spec before finalizing changes.
Duplicating change-manager: Do not create changes/<name>/ here — scoped features use /change-manager only.
Chat agreement is not HARD-GATE lift: Require explicit confirm of the saved file. See references/hard-gate-rationalization.md.
Quick Mode loading wrong refs: Quick path → read workflow-quick-mode.md only; do not load full 0-to-1 interview chain.
Cross-phase redundancy: Questions asked in Exploration may be re-asked verbatim in Clarifying or Refinement. Track what's been covered: after each phase, note covered topics; before next phase, scan that list. Do not ask what was already asked.
Single-pass validation is insufficient: Step 6 Final Validation must run at least 3 full scan→fix cycles, not just "until clean". One pass misses 30-50% of issues. Use an explicit counter and re-read the full Spec each cycle — incremental diffs accumulate blind spots.
No cross-phase dedup before generation: Exploration, Clarifying, and Refinement phases each produce interview notes with overlapping content. Before Document Generation, do a structured dedup pass across all phases' notes — merge duplicate requirements, flag contradictions across phases, consolidate scattered decisions. Redundancy baked into the Spec is much harder to remove after generation.
Multi-Stakeholder Review ≠ Critique Gate ≠ Step 7: MS Review asks "should we build this?" Critique Gate asks "what are we getting wrong?" Step 7 asks "is the Spec sound?" Three different gates — do not merge them.
Product size → gate level: Small products (CLI, ≤4 features, no auth/DB) get recommended light gate level via forge-size-detect. Full gates for larger products. User may override in .forge/gate-config.json.
Critique Gate evidence rule: Every finding in the Critique Gate Summary must cite Evidence as §section or "spec quote". Findings without evidence do not count toward the density quota — unfalsifiable criticisms are the easiest to fake.
Critique Gate verdict thresholds: 0 findings + proceed → re-scan mandatory (highest sycophancy risk). <3 evidence-backed findings → re-scan once. ≥3 evidence-backed findings → proceed/clarify/blocked per stop rules. Full procedure in references/critique-gate.md.
What ships with it
24 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- commands/product-spec-builder.md 1.6 KB
- references/conversation-strategy.md 6.2 KB
- references/critique-gate.md 8.6 KB
- references/distillation-mode.md 5.8 KB
- references/first-principles.md 1.9 KB
- references/hard-gate-rationalization.md 1.3 KB
- references/judgment-spectrum.md 875 B
- references/light-grill-mode.md 1.6 KB
- references/multi-stakeholder-review.md 4.9 KB
- references/output-style.md 1.8 KB
- references/pm-frameworks-assumptions.md 1.8 KB
- references/pm-frameworks-competitive.md 1.3 KB
- references/pm-frameworks-ost.md 2.0 KB
- references/pm-frameworks-readme.md 1.8 KB
- references/pm-frameworks-value-proposition.md 1.4 KB
- references/requirements-dimensions.md 3.3 KB
- references/skills-capabilities.md 1.6 KB
- references/startup-check.md 1.8 KB
- references/workflow-0-to-1.md 19 KB
- references/workflow-iteration.md 7.4 KB
- references/workflow-quick-mode.md 3.6 KB
- skill.json 1.2 KB
- templates/changelog-template.md 2.9 KB
- templates/product-spec-template.md 18 KB
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.
- 1mo ago Changed · +1 lines 3de91112a62d
- 3mo ago First seen · 213 lines · 0 tokens per session scan A 6b2ffc6aae30
product-spec-builder is a skill published in the GitHub repository zxpmail/ReqForge (18 stars, last pushed 13d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,313 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.
product-spec-builder compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| product-spec-builderzxpmail/ReqForge | Skill | 18 | 13d ago | MIT | A | 0 | Claude Code |
| requirements-writermvschwarz/openrig | Skill | 9.0k | today | Apache-2.0 | A | 28 | Claude Code, Codex |
| chinese-git-workflowjnMetaCode/superpowers-zh | Skill | 8.6k | 15d ago | MIT | A | 69 | Claude Code |
| chinese-documentationjnMetaCode/superpowers-zh | Skill | 8.6k | 15d ago | MIT | A | 62 | Claude Code |
| orchestration-teammvschwarz/openrig | Skill | 9.0k | today | Apache-2.0 | A | 21 | Claude Code, Codex |
| working-with-an-openrig-teammvschwarz/openrig | Skill | 9.0k | today | Apache-2.0 | A | 79 | Claude Code |
| subagent-driven-developmentjnMetaCode/superpowers-zh | Skill | 8.6k | 15d ago | MIT | A | 21 | Claude Code |