ForgeFlow / Reference
User Paths
Use this page when you know what outcome you want but not which Forgeflow command to start with. The detailed command reference is still Workflow Commands.
Install Or Update
For a new installation, follow Quick Start. The visual guide and PDF cover the complete first session.
For an existing Claude Code installation, use /update-forgeflow, restart the host, then run /forgeflow-version, /forgeflow-update-verify, and /forgeflow-health. Claude's --repair restores managed files; --rollback restores the previous managed snapshot.
For Codex, use $update-forgeflow and follow Codex First Run and Template Installer. Do not assume Claude's rollback or hook configuration applies to Codex.
The slash commands below are Claude Code entrypoints. Codex users should use the core skill equivalents or the corresponding runtime helpers in Workflow Commands. The longer evidence and pilot routes are optional adoption tools, not prerequisites for a first useful task.
Build A Bounded Change
- Use
/consult <task>or$consult <task>to agree on scope and validation. - Use
/implementor$implementto carry out the brief. - Use
/reviewor$forge-reviewand resolve confirmed findings. - Use
/shipor$shipfor a reviewable handoff. Request commit, push, or publication explicitly when desired.
The dashboard opens automatically on supported desktop sessions when dependencies are ready. Ember shows reported workflow activity; an idle robot or an empty review chart is not evidence that work failed.
Try Forgeflow For The First Time
- Run
/forgeflow-first-run-simulator --runtime claude-codefrom Claude Code, orscripts/forgeflow/render-first-run-simulator.js --runtime codex --jsonfrom a checkout, when you want a read-only first-run preflight. - Run
/forgeflow-first-run --runtime claude-codefrom Claude Code, orscripts/forgeflow/render-first-run-guide.js --runtime codexfrom a checkout. - After the first pass, record the public-safe outcome with
/forgeflow-first-run-resultso setup friction and the continue/fix/defer decision become local evidence. After multiple attempts, run/forgeflow-first-run-rollupfor aggregate friction trends. - Follow the install verification, project-orientation, project-map evolution, profile-readiness, insight-injection, and bounded-work-item steps.
- Run
/forgeflow-first-useful-winafter a few evidence records when you need a compact "what helped already" summary and the first-use path for install health, profile bootstrap, first task reporting, learning capture, and shareable summary. Add--runtime codexfor source-helper commands instead of Claude Code slash commands. - Run
/forgeflow-first-task-reportafter the first real work item has a next-work or review outcome. - Run
/forgeflow-first-task-adoption-loopwhen you need a direct repeat, fix, defer, or expand decision from the early evidence. - For a fuller adoption trial, run
/forgeflow-pilot --path new-user --runtime claude-code, orscripts/forgeflow/render-pilot-script.js --path new-user --runtime codex. - Keep the first task small enough to judge setup friction, guidance quality, review usefulness, and whether the next task starts with better project context.
Use the default maintainer path when a project owner is running a broader pilot across a real branch. Use the new-user path when the goal is to help one person decide whether Forgeflow is worth adopting.
Refresh Project Guidance
- Run
/forgeflow-trends --refresh. - Run
/forgeflow-insight-injectionafter context packets exist to see which insight blocks agents will receive. - Read the freshness, latest-insights, failure-digest, code-map, project-map evolution, and advisor sections.
- If the report still recommends a command, run that command before spawning review agents.
Use /forgeflow-learnings --project --check when you specifically need to inspect the project-learning quality gate.
Use /forgeflow-learning-action when you want Forgeflow to turn the weakest learning or telemetry source into one concrete capture/check command.
Verify Local Readiness
- Run
/forgeflow-smoke. - Read the health, trends refresh, report refresh, and code-map checks.
- Resolve actionable failures and stale or invalid required evidence. Missing optional history on a new install is informational; collect it through real work instead of inventing records.
Use /forgeflow-smoke --mode source from a Forgeflow checkout when you want source-tree release guards instead of downstream project readiness checks.
Use /dashboard when you want the same project-readiness signals in a local UI. The Project Readiness panel reads GET /api/readiness, shows project-health cards, optional evidence information, and copy-only next actions, and does not run commands or mutate local state.
Build Project Architecture Intelligence
- Run
/forgeflow-code-mapto generate static topology, hotspot, import-gap, section, and living-map signals. - Run
/forgeflow-project-modelto build the project operating model from topology, learnings, validation, review outcomes, and user profile signals. - Run
/forgeflow-architecture --write,/forgeflow-ownership --write, and/forgeflow-invocation-hints --writewhen you want local architecture, owner-surface, and runtime-entrypoint artifacts. - Run
/forgeflow-dogfood-refresh-planif dogfood evidence is incomplete. - Run
/forgeflow-dogfood-report --writeto decide whether the architecture-intelligence path should be kept, refined, or considered for narrow opt-in automation.
Investigate A Failed Command
- Keep the raw failing output available.
- Run
/forgeflow-failure-digestfor test, typecheck, lint, or log output that is safe to summarize. - Run
/forgeflow-trends --refreshso freshness and packet trust can see the latest digest. - If the digest says raw output is required, inspect the raw output before relying on any compact summary.
Use /forgeflow-noisy-command when the problem is excessive output volume and you need a narrower next invocation.
Prepare For Review
- Run
/forgeflow-trends --refresh. - Run
scripts/forgeflow/build-project-intelligence.js --jsonwhen you want one compact review-prep summary before spawning reviewers. - Run
/forgeflow-insight-injectionand/forgeflow-context-contractwhen you need to verify packet guidance before agent-heavy work. - Run
/reviewfor Claude Code or$forge-reviewfor Codex. - If the context advisor reports a budget warning, run
/forgeflow-review-wave-prep --write-wave-filesto get the first focused review-wave command before spawning reviewers. - Fix review findings, then rerun review until the final verdict is approved.
Use /review-auto only when the fixes are conservative and safe to apply automatically.
Use /forgeflow-review-evidence-schema --findings <json> before classification when findings came from manual notes or an external reviewer.
Use /forgeflow-review-auto-classify --findings <json> first when you have captured findings and want a read-only safe/risky/blocker preview.
Use /forgeflow-review-auto-evidence --findings <json> when you want a saved local classification artifact before applying fixes.
Keep A Work Item Lean
- Run
/forgeflow-lean-primewhen you want the shortest first-run checklist for lean mode, decision evidence, report evidence, telemetry quality, and context-injection readiness. Use/forgeflow-lean-prime --prime-task "<work item>" --write-reportwhen you want one command to write the lean decision, lean report, and prime plan artifacts for the current work item. - Run
/forgeflow-lean-decision --task "<work item>"before/consultwhen the risk is over-building, adding a dependency too early, or creating an abstraction before reuse has been checked. - Optionally run
/forgeflow-lean-mode --profile lite|balanced|strict|ultra --writeto persist a project lean preference,--profile strict --user --writefor a user-level default, or--profile off --writeto keep lean guidance explicit-only. - Run
/forgeflow-lean-statuswhen you need to know whether lean guidance is configured, stale, blocked, or eligible for context-pack injection before starting agent-heavy work. - Read the reuse candidates, avoid-first list, do-not-simplify boundaries, validation minimum, known ceiling, and upgrade trigger.
- Continue with
/consultwhen the lean decision says the work is current and bounded. The consultation and implementation handoffs carry the compact lean section forward when the helper is available. - Run
/forgeflow-lean-reviewafter implementation when you want a separate over-engineering-only lane before normal review. - Use optional
forgeflow: lean: <reason>orforgeflow: upgrade when: <trigger>breadcrumbs only when code or handoff intent would otherwise be unclear. - Run
/forgeflow-lean-debtwhen you want a ledger of lean shortcuts, known ceilings, and missing upgrade triggers so deferrals stay visible. - Run
/forgeflow-lean-auditwhen you want repo-wide over-engineering candidates before selecting a cleanup work item. - Run
/forgeflow-output-contract --lean-file <path>on generated lean handoffs or review notes when you want a warning if the writeup is larger than code/result first plus three concise bullets. - Run
/forgeflow-lean-report --writewhen you want local aggregate evidence about whether lean guidance is helping: diff size, ceiling capture, review/prose warnings, context savings, and telemetry quality. Later context packs can inject compact lean guidance only when lean mode permits it and the lean report plus related quality gates pass. - Run
/forgeflow-lean-behavior --file <path>when you want read-only probes for calibration boundaries, requested explanation preservation, one runnable check, dependency justification, stdlib/native/reuse evidence, and explicit requirement preservation. - Run
/forgeflow-lean-sessionwhen you want compact always-on lean guidance for hook or adapter experiments without editing settings. - Run
/forgeflow-lean-portability --writewhen you want portable lean rule copies under.forgeflow/<project>/lean-portability/. - Run
/forgeflow-lean-skillswhen you want committed skill packages checked against the canonical lean rule text. - Run
/forgeflow-lean-evalwhen you want a deterministic local fixture check for the lean behavior probes without model calls. - Run
/forgeflow-lean-correctnessand/forgeflow-lean-robustnesswhen you want deterministic local selftests for "lean but wrong" shortcut traps. - Run
/forgeflow-lean-adapter-contract,/forgeflow-lean-hook-contract,/forgeflow-lean-adapter-smoke,/forgeflow-lean-adapter-drift, and/forgeflow-lean-rule-canarybefore treating lean adapter output as release-ready. - Run
/forgeflow-lean-host-adapters,/forgeflow-lean-host-cli-probes --write-template,/forgeflow-lean-host-command-parity,/forgeflow-command-capability, and/forgeflow-lean-pi-smoketo validate committed adapter artifacts, optional host CLI availability, command-capable host parity, policy-aware command surface coverage, and pi runtime behavior. Add--evidence <json>to the host CLI probe after manually checking real host commands./dashboardalso summarizes host verification as a readiness card. - Run
/forgeflow-lean-host-packages --writewhen you want a local manifest describing where each generated adapter belongs. - Run
/forgeflow-lean-lab --task-pack <json> --results <json>when you want to compare baseline, balanced, strict, and ultra guidance modes across repeatable local task results. Treat descriptive output as evidence gathering only until every mode has visible sample size and passing validation. - Run
/forgeflow-lean-demo-report --writewhen you need a compact local demo readiness report across Lean Prime, host coverage, skills, and benchmark setup. - Run
/forgeflow-lean-benchmark-runner --writeto generate an opt-in benchmark scaffold, orFORGEFLOW_BENCHMARK_ALLOW_NETWORK=1 node "$FF_RUNTIME/scripts/forgeflow/render-lean-benchmark-runner.js" --runfrom a shell withFF_RUNTIMEset as described above when a local promptfoo executable and provider credentials are intentionally available. Successful runs writerun-ledger.jsonand normalized results when raw output is available. Use/forgeflow-lean-benchmark-results --promptfoo raw-results.json --out normalized-results.jsonwhen you need to import runner output, then/forgeflow-lean-benchmark-results --results <json>and/forgeflow-lean-benchmark --baseline <json> --current <json>when you have comparable aggregate baseline and lean-guided metrics. - Defer or ask the user when the decision says the task is speculative or lacks a concrete requirement.
Ship A Change
- Confirm review history has an approved final verdict.
- Run
/ship. - Treat secret-scan failures as hard stops.
- Use the generated handoff, PR body, implementation-notes check, and project-learning summary as the shipping record.
If implementation notes are missing or stale, refresh or repair them before shipping.
Prepare A Forgeflow Release
- Update version metadata and release notes.
- Run
/forgeflow-release-check. - Run
/forgeflow-release-readinessto execute the release-check list and the release-to-install source preflight. Add--save-currentto record the current local snapshot, then use--compare-laston a later run to see newly failing, cleared, and category-movement comparison without remembering a JSON path. After publishing, use/forgeflow-release-verify --savefor the compact shareable local post-publish evidence; add--githubonly when you want read-only GitHub release/tag evidence. Run/forgeflow-release-follow-throughafter update verification to confirm post-publish verify, update verify, and runtime consumability are all accounted for. Use/forgeflow-release-consumption-loopto see the next update, smoke, or consumption step and whether the loop has a complete or attention badge, then use/forgeflow-release-consumptionfor the final consumed-or-attention rollup; add--with-smokeonly when you want it to run downstream smoke, and--saveonly when you want a local snapshot. Use the helper directly withscripts/forgeflow/render-release-readiness.js --baseline <prior-json>when you need to compare against a specific prior run. - Render the public evaluation summary if release notes cite evaluation evidence.
- Run
/forgeflow-smoke --mode sourcefor source-tree release guards when you want a shorter local check. - Run
/forgeflow-stale-artifact-planafter landing release-prep commits when you need the minimal guidance refresh aftercare before relying on project trends or latest insights. - Tag and publish only after release checks pass.
Quick Symptom Map
| Symptom | Next Command |
|---|---|
| Command missing after install | Restart Claude Code, then /forgeflow-health |
| Managed file missing or corrupt | /update-forgeflow --repair |
| Need post-update confidence | /forgeflow-update-verify, then /forgeflow-health |
| First time evaluating Forgeflow | /forgeflow-first-run-simulator, then /forgeflow-first-run and /forgeflow-first-run-result; after several attempts, /forgeflow-first-run-rollup |
| Need early adoption evidence | /forgeflow-first-useful-win |
| First real task finished | /forgeflow-first-task-report |
| Need an adoption decision | /forgeflow-first-task-adoption-loop |
| Latest insights stale | /forgeflow-trends --refresh |
| Weak learning or telemetry source | /forgeflow-learning-action |
| Guidance artifacts stale | /forgeflow-stale-artifact-plan |
| Need readiness confidence | /forgeflow-smoke |
| Want readiness in a UI | /dashboard, then inspect the Project Readiness panel |
| Failure output is too noisy | /forgeflow-failure-digest |
| Need to capture noisy output first | /forgeflow-capture-output --mode <mode> --command <cmd> |
| Validation command failed | /forgeflow-validation-failure-capture --command "<cmd>", then feed the failed output to /forgeflow-capture-output |
| Output volume is too high | /forgeflow-noisy-command |
| Review context is over budget | /forgeflow-context-advisor --record, then /forgeflow-review-wave-prep --write-wave-files and rebuild the first focused packet when needed |
| Need focused validation commands | /forgeflow-validation-plan |
| Unsure whether review findings are well structured | /forgeflow-review-evidence-schema --findings <json> |
| Unsure whether review findings are auto-fix safe | /forgeflow-review-auto-classify --findings <json> |
| Need saved review-auto classification evidence | /forgeflow-review-auto-evidence --findings <json> |
| Need current project trends | /forgeflow-trends --refresh |
| Need architecture or owner-surface guidance | /forgeflow-code-map, then /forgeflow-architecture --write, /forgeflow-ownership --write, and /forgeflow-invocation-hints --write |
| Dogfood evidence is incomplete | /forgeflow-dogfood-refresh-plan |
| Need release confidence | /forgeflow-release-readiness, then /forgeflow-release-verify after publishing, then /forgeflow-release-follow-through, then /forgeflow-release-consumption-loop and /forgeflow-release-consumption for the final consumed-or-attention rollup |