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/lucasduys/forge/helpgit clone --depth 1 https://github.com/LucasDuys/forgeWhat 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.00004 | $0.00627 |
| Opus 5 | $0.00002 | $0.00313 |
| Sonnet 5 | $0.00001 | $0.00125 |
| Haiku 4.5 | $0.00000 | $0.00063 |
Grade A, and why
help 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 — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Forge Help
Display the following help text to the user:
Commands
/forge brainstorm [topic] — Turn an idea into concrete specs
--from-code— Generate specs from existing codebase--from-docs path/— Generate specs from PRDs, API docs, research files
/forge plan — Decompose specs into task frontiers
--filter <name>— Only plan a specific spec--depth quick|standard|thorough— Set task granularity
/forge execute — Run the autonomous implementation loop
--autonomy full|gated|supervised— Set pause behavior--max-iterations N— Safety cap on loop iterations--token-budget N— Max tokens to spend--depth quick|standard|thorough— Override task depth
/forge resume — Continue after context reset or interruption
/forge backprop "bug description" — Trace a bug back to a spec gap
--from-test path/— Trace from a failing test
/forge status — Show current progress and budget
/forge review-branch — Review an unmerged branch before merging
--base main— Base branch to diff against--spec path/— Spec file for acceptance criteria verification--depth quick|standard|thorough— Review depth--fix— Auto-fix critical issues--comment— Post results as GitHub PR comment
/forge setup-tools — Detect and install CLI tools that enhance Forge
/forge help — Show this help text
Quick Start
/forge brainstorm "build a REST API for task management"/forge plan/forge execute --autonomy gated
Configuration
Edit .forge/config.json to customize autonomy, depth, token budget, multi-repo setup, and circuit breaker thresholds.
Token Reduction Kill Switch
Set FORGE_TOKEN_OPT=0 to disable Wave 2 cache extensions and revert to the original 6-pattern, flat-120s-TTL behavior. All other Wave 2 additions (mtime keying, HEAD pinning, stats logging) also disable. Default is on.
The same FORGE_TOKEN_OPT=0 flag also disables the Wave 3 token-reduction surfaces: the broader output filter, the router's per-phase effort/max_tokens policy, and the first-run wizard banner. Wave 1 instrumentation extras (capture, usage_actual.* ledger keys) bypass too, leaving the v1-shape ledger. This is the single end-to-end rollback contract across all three waves; the wizard prints the same flag on first run.
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 · 56 lines · 4 tokens per session scan A 28fd9ed2b345
help is a command published in the GitHub repository LucasDuys/forge (55 stars, last pushed 1mo ago), licensed MIT. It adds 4 tokens to every session and 627 once invoked, about $0.0000 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 commands, from other repositories
discover
Run a full user research cycle — persona creation, empathy mapping, and journey mapping for a product or feature.
test-plan
Run the full usability study workflow — research questions, participant criteria, tasks, metrics, and facilitation guide.
eg-new-feature
Build a new feature using the elephant/goldfish workflow — design doc, goldfish design check, implement, review, validate.
eg-precommit-review
Run the pre-commit independent-reviewer loop on the current branch's pending changes.
eg-fix-bug
Fix a bug using the elephant/goldfish workflow — problem doc, goldfish diagnosis check, failing test, fix, review, validate.
verify-custom-rules
Verify custom rules for Safety Net.