Skip to content

CLI Reference

Forgeplan ships with 61 top-level commands covering the full Shape→Validate→ADI→Code→Evidence→Activate lifecycle.

All commands are listed below grouped by purpose. Click any command for full usage, arguments and examples.

CommandDescription
forgeplan initInitialize a new .forgeplan/ workspace
forgeplan setup-skillInstall /forge skill for Claude Code
forgeplan migrateRun schema migrations on existing workspace
forgeplan importImport artifacts from JSON file
forgeplan exportExport all artifacts to JSON file
CommandDescription
forgeplan newCreate a new artifact from template
forgeplan generateGenerate an artifact using AI from a natural language description
forgeplan captureCapture a decision from conversation into a Note or ADR artifact
forgeplan promotePromote a memory to a full artifact (e.g., forgeplan promote mem-xxx —kind prd)
CommandDescription
forgeplan listList artifacts
forgeplan getRead a full artifact by ID
forgeplan treeShow artifact hierarchy as ASCII tree
forgeplan searchSearch artifacts (smart by default: keyword + semantic + boosters)
forgeplan recallRecall memories — search, filter, list
forgeplan logShow change log — audit trail of artifact mutations
forgeplan journalShow decision journal — chronological timeline with R_eff scores
forgeplan sessionShow methodology session state (current phase, active artifact)
forgeplan progressShow checkbox progress for artifacts
forgeplan graphGenerate mermaid dependency graph of linked artifacts
forgeplan orderShow artifacts in topological order (dependency order)
CommandDescription
forgeplan updateUpdate artifact metadata or body
forgeplan deleteDelete an artifact
forgeplan tagAdd tags to an artifact
forgeplan untagRemove tags from an artifact
forgeplan linkLink two artifacts with a typed relationship
forgeplan unlinkRemove a relation between two artifacts
CommandDescription
forgeplan validateValidate artifact completeness against schema rules
forgeplan scoreCompute R_eff quality score for decisions with evidence
forgeplan fgrShow F-G-R quality scores (Formality, Granularity, Reliability)
forgeplan reviewReview an artifact — run validation and show lifecycle checklist
forgeplan estimateEstimate effort for an artifact based on FR and Phase items
forgeplan calibrateSuggest depth level (Tactical/Standard/Deep/Critical) based on artifact content
forgeplan calibrate-estimateCompare estimated vs actual hours — calibrate estimation accuracy
forgeplan decayShow evidence decay impact on R_eff scores
forgeplan staleDetect stale artifacts with expired valid_until
CommandDescription
forgeplan activateActivate an artifact (draft → active) with validation gate
forgeplan supersedeSupersede an artifact (active → superseded) with replacement link
forgeplan deprecateDeprecate an artifact (active/stale → deprecated) with reason
forgeplan renewRenew a stale artifact (stale → active) with extended validity
forgeplan reopenReopen an artifact — creates a NEW draft artifact, deprecates the old one
CommandDescription
forgeplan reasonAnalyze an artifact using FPF ADI reasoning cycle (Abduction→Deduction→Induction)
forgeplan decomposeDecompose a PRD into RFC tasks using AI
forgeplan contextSingle-call reasoning context — artifact + graph + validation + scoring
forgeplan routeSuggest depth level and artifact pipeline for a task description
CommandDescription
forgeplan healthShow project health dashboard — gaps, risks, blind spots, next actions
forgeplan statusShow project status dashboard
forgeplan gapsShow pipeline compliance gaps by depth
forgeplan blockedShow blocked artifacts and their dependencies
forgeplan blindspotsShow blind spots — decisions without evidence, orphan artifacts
forgeplan driftCheck for drifted decisions (affected files changed after decision)
forgeplan coverageShow decision coverage per code module
CommandDescription
forgeplan scanScan codebase for source modules
forgeplan scan-importScan for existing docs and import as artifacts
forgeplan reindexRebuild LanceDB index from .md files (files-first sync)
forgeplan embedGenerate embeddings for all artifacts (semantic search)
forgeplan watchWatch .forgeplan/ files and sync changes to LanceDB in real time
forgeplan git-syncSync artifact changes from git operations (pull/merge) into LanceDB
CommandDescription
forgeplan rememberSave a memory (fact, convention, procedure) for later recall
forgeplan discoverStart brownfield discovery — creates session, prints protocol for agent
CommandDescription
forgeplan fpfFPF Knowledge Base — dashboard, ingest, search, sections
CommandDescription
forgeplan serveStart MCP server (stdio transport) for AI agent integration

Beyond the built-in CLI, Forgeplan integrates with AI coding agents via the /forge skill and related marketplace plugins:

Install the core skill with forgeplan setup-skill or npx skills add ForgePlan/marketplace --skill forge. Additional plugins are available via npx skills add ForgePlan/marketplace --plugin <name>.