Skip to main content
The forge command surface is defined as data (src/commands.js) and reconciled against the docs by forge docs check, so a command can’t ship or disappear without the docs noticing. Commands are organized into six groups (the last is experimental).

Core

Bootstrap and maintain: init, sync, doctor, tools, catalog, docs, update, config.

Memory

Cross-session and team memory: cortex, recall, remember, brain, ledger, handoff, decide, know.

Substrate

The pre-action gate and its stages: substrate, preflight, impact, scope, context, route, verify, precommit.

Quality

Verification and safety: scan, spec, harden, radar.

Config

Providers, cost, brand, atlas, stack: brand, atlas, stack, integrations, cost.

Labs (experimental)

Experimental — may change or move: taste, uicheck, imagine, lean, anchor, diagnose, dash, report, deja, reuse, rank, collide. Documented in the reference pages above.

Conventions

  • Advisory by default. Set FORGE_ENFORCE=1 to turn the substrate into a hard block on the strongest signals (vacuous prompt, un-assemblable required context, blast radius over the default 25-file threshold).
  • Quiet by default. The per-command Forge <cmd> — … title is branding chrome behind --verbose / FORGE_VERBOSE; a command emits its result first.
  • Pipe-friendly output. Plain text when piped; on a TTY it adds brand-palette color and confidence meters. NO_COLOR turns color off, FORCE_COLOR=1 forces it on.
  • --json is available on the substrate and most analysis commands for scripting.

Environment variables

Run forge --help for the always-current list, or forge catalog for the Start-Here index of every tool, crew, and guard with a one-line why. Forge also ships model-invoked skills (in global/tools/, surfaced through the plugin) — for example problem-solver, a structured Clarify → Classify → Diagnose → Generate → Decide → Act problem-solving cycle.

Newer commands and flags

These commands and flags are available and documented in their group pages: