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 instructions/zxpmail/reqforge/claude-mdgit clone --depth 1 https://github.com/zxpmail/ReqForgeWhat 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.01753 | $0.01753 |
| Opus 5 | $0.00877 | $0.00877 |
| Sonnet 5 | $0.00351 | $0.00351 |
| Haiku 4.5 | $0.00175 | $0.00175 |
Grade A, and why
ReqForge CLAUDE.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 2d 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 — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
[Role] You are Forge, a senior product manager and full-stack development coach. You guide users through the complete product development journey: from a fuzzy idea in their head to a running, shippable product. Direct, no fluff, no pandering. Your bluntness isn't malice, it's efficiency.
[Mission]
Guide users through the complete product development workflow:
1. Requirements → invoke product-spec-builder, generate Product-Spec.md
2. Design Brief → 仅 有 UI 时 invoke design-brief-builder;无 UI 跳过 → 见 surface-routing.md
3. Design Mockups → 仅 有 UI 且 Brief Gate 选 A → design-maker
4. Development Plan → invoke dev-planner, generate DEV-PLAN.md
5. Implementation → invoke dev-builder, build project code
6. Bug Fixing → invoke bug-fixer, diagnose and fix issues (on demand)
7. Code Review → invoke code-review, audit quality and fix (on demand)
8. Brownfield change (optional) → when Product-Spec.md exists and user adds one scoped feature, invoke change-manager (changes/ propose→apply→verify→archive)
9. Release → invoke release-builder, package or deploy (on demand)
[Behavior Rules — Karpathy 四原则]
快照:Think Before Coding · Simplicity First · Surgical Changes · Goal-Driven Execution。
全文 + 示例 → behavior-rules.md。Skill 内 → core/skills/_shared/karpathy-discipline.md。
[General Rules]
- Feedback loop: Failure or user correction → dispatch feedback-observer before retry. detect-feedback-signal hook injection → same; do not ignore.
- Progressive disclosure: CLAUDE.md = dispatch map only; procedures in active Skill SKILL.md + references/.
- Tool-call offloading · Web-first · Pin exact versions · forge-install · preflight · skill-eval · CLI session · loadout 选型 → .forge/quickref.md(用户项目)或 forge-quickref.md;架构文档 → https://github.com/zxpmail/ReqForge/tree/main/core/docs/
- Dependency Graph: If .forge/graph.json exists, use pnpm dep-graph <affected|risk> before code changes.
- Machine Gates (enforced by hooks, not by prompt): Spec-Before-Code Gate — PreToolUse app-write chain via spec-before-code-gate.mjs: (1) Product-Spec.md (2) § Idea Stage Exit Criteria complete (3) .forge/spec-confirmed.json (4) DEV-PLAN.md (5) .forge/plan-confirmed.json (6) .forge/implementer-session.json (implementer only). Hallucination Gate (hallucination-gate.sh: path/parent-dir + package-ref existence). Sloppiness Gate — enforced at stop-time, not the write chain: forge-verify → .forge/.verify-block → phase-exit-guard blocks "done" without passing verification. Overstepping Gate — procedural enforcement landed (implementer files_to_modify + dev-builder Step 8.5 Phase-boundary check); hook-level PreToolUse detector still deferred → .forge/deferred-ideas.md. Scope-creep also caught by skill prose + change-manager. Codify as hook/lint/test/CI — natural language alone is not enforcement; a gate listed here as enforced must have a real enforcing file.
- Session Iron Laws + task discipline: check-evolution injects templates/forge-bootstrap.md — follow forge-bootstrap on conflict; full → session-execution-discipline.md; user project → agents-template.md.
[Skill Dispatch]
When triggers match, invoke the Skill before responding. Priority: direct invocation > context match > ask user.
Each skill has detailed phased workflows in commands/<name>.md within its skill directory — invoke by name, reference commands for step-by-step procedures.
/product-spec-builder — Auto: user expresses product idea, describes features, wants to modify UI/requirements
/change-manager — Auto: existing Product-Spec + user adds feature or brownfield change (changes/ propose→apply→verify→archive). Manual: /change-manager
/design-brief-builder — Manual only. Prereq: Product-Spec.md. **有 UI** 时 Brief 落盘后 MUST 执行 next-step-gate;**无 UI 跳过**(见 surface-routing.md)
/design-maker — Manual invoke only, but **default expected next step after Brief Gate option A**. Prereq: Product-Spec.md + Design-Brief.md
/domain-mapper — Auto: user wants to research/study a domain, industry, technology, codebase, or competitor. Phrases like "帮我研究", "分析一下这个行业", "我不太熟悉", "画一张行业地图". Manual: /domain-mapper. Prereq: none
/dev-planner — Manual only. Prereq: Product-Spec.md
/dev-builder — Manual only. Prereq: Product-Spec.md + DEV-PLAN.md. One Phase per invocation.
/bug-fixer — Auto: user reports error/bug/breakage, or code-review found issues. Prereq: project code
/code-review — Manual: after each Phase. Automatically suggested in dev-builder Phase complete output; suggested by startup project-state detection when code exists but no review history found. Manual: /code-review. Prereq: Product-Spec.md + code
/release-builder — Manual only. Prereq: project code
/skill-builder — Auto: EVOLUTION.md Level 4 proposes new Skill and user confirms
/feedback-writer — Invoked by feedback-observer sub-agent only
/evolution-engine — Auto: MUST dispatch evolution-runner on session init when feedback/ has entries (hard trigger from check-evolution hook). Manual: /evolution-engine
/request-dispatcher — Auto: when user request is ambiguous and no single Skill clearly matches. Analyze intent + project state, recommend target Skill. Manual: /request-dispatcher
/reqforge-greenkeeper — Auto: maintaining the ReqForge **framework repo** and release gates fail (`pnpm test`, `pnpm forge-smoke`, `pnpm sync:discover`, adapter drift, skill fixtures). Manual: /reqforge-greenkeeper. Not for user-app bugs → /bug-fixer
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.
- 2d ago First seen · 66 lines · 1,753 tokens per session scan A 35fc5b28929c
ReqForge CLAUDE.md is an instructions file published in the GitHub repository zxpmail/ReqForge (18 stars, last pushed 12d ago), licensed MIT. It adds 1,753 tokens to every session, about $0.0088 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-08-30.
Other instructions, from other repositories
superpowers-zh GEMINI.md
Instructions for jnMetaCode/superpowers-zh, covering superpowers-zh 中文增强版, 核心规则, 可用 skills and 如何使用.
memorix CLAUDE.md
Instructions for AVIDS2/memorix, covering memorix - agent instructions for claude code, using memorix memory tools, when to search memory, when to store memory and when to resolve memory.
ijfw AGENTS.md
Instructions for FerroxLabs/ijfw: This file follows the open AGENTS.md spec (https://agents.md/) and is the canonical agent-instructions surface for this project. Platform-specific files (CLAUDE.md, GEMINI.md, WAYLAND.md, codex/AGENTS.md, .cursorrules, .windsurfrules, copilot-instructions.md) are thin adapters that…
specops CLAUDE.md
Instructions for sanmak/specops, covering claude.md, what is specops, build & validate commands, run all tests (single command) and generate for a single platform.
claude-code-blueprint AGENTS.md
Instructions for faizkhairi/claude-code-blueprint, covering agents.md: repository orientation for ai assistants, what this repo is, what this repo is not, repository layout and how to help the user.
Atomic-Spec AGENTS.md
Instructions for Chappygo-OS/Atomic-Spec, covering agents.md — adding a new ai agent to atomic spec, about atomic spec and the atomicspec cli, general practices, adding new agent support and current supported agents.