Chapter 29
Forge CLI
FREEAvailable
Supported Forge CLI commands — Ready vs Planned.
What it is
The Forge CLI manages identity, sync, and Agent helpers from a terminal.
Only Ready commands are active. Planned commands are labeled Future / Planned in the live command registry.
How to use it
See the live command list embedded in Help / Terminal chapter data (forge status, forge push, forge pull, forge init, forge login, …).
Do not treat Planned rows as shipping features.
Command registry
forge .Launch Forge Desktop for the current path.Readyforge agent knowsInventory known / partial / stale / not-indexed systems from memory and index.Readyforge agent refreshRescan the workspace and upsert changed/new/deleted eligible files into the Agent source index (symbols, imports, freshness).Readyforge agent reindexAlias for forge agent refresh — refresh the Agent source index from disk.Readyforge agent statusShow index coverage, memory counts, git/diagnostics awareness for the active project.Readyforge agent whyShow retrieved context provenance for the most recent Agent answer (not chain-of-thought).Readyforge auth statusShow authenticated Forge account and device (no token).Readyforge commandsShow every Forge command by category with ready/planned status.Readyforge designSearch learned capabilities from past projects and rank by relevance for reuse.Readyforge env checkVerify secret access / presence without dumping values.Readyforge env listList Forge Secrets for the project environment.Readyforge env removeDelete a secret from the project environment.Readyforge env setCreate or update a secret value.Readyforge initExisting project: bind Forge identity. Empty folder: optional scaffold from New Project Defaults (set up once and forget about it).Readyforge inspect architectureRun Architecture Invariants analysis for the project (health score + evidence).Readyforge learn capabilitiesList all learned capabilities across your projects with optional filtering.Readyforge learn inspectDetailed view of learned capabilities and architecture rules for the current project.Readyforge learn rebuildRe-extract reusable capabilities from the current project index. Does not refresh the Agent source index.Readyforge learn statusShow current project learning status, capability count, and recent learning events.Readyforge library addAdd one exact project directory to Forge Library (no child discovery).Readyforge library importScan a parent folder for projects and bulk-add new ones to Forge Library (preview first; --yes / --dry-run).Readyforge loginDevice authorization login (browser approval). Optional --link CODE or --status.Readyforge logoutRevoke and clear local CLI device credential.Readyforge modesPrint the Forge Modes catalog and readiness.Readyforge pairDevice-scoped Mobile ↔ Desktop trust. Projects bind or Send to Desktop separately.Readyforge presetShow, update, delete, apply, export, or import project presets. forge set captures; forge run preset applies.Readyforge presetsList saved project presets and legacy stack presets (~/.config/forge/presets).Readyforge pullApply cloud tip locally and verify baseline so pulled files are not re-detected as local edits.Readyforge pushUpload delta (or chunked) tip changes and create the next immutable revision.Readyforge runCreate a new project with a stable Forge kind (native / next / react / preset), then bind identity, isolate workspace state, and open Desktop.Readyforge sendCreate/bind the current Mobile project on a paired Desktop (UI: Send to Desktop).Readyforge setCapture the current project as a portable preset manifest (files + packages + scripts). Never stores secrets or node_modules.Readyforge statusShow cloud vs local revision and local tip changes.Readyforge syncMulti-device sync status; clean auto-pull when preference allows.Readyforge <mode>Open a hard-coded Mode Preview workspace (does not activate unfinished runtimes).Plannedforge bind <projectId>Restore an existing Forge project identity onto this folder (dedicated verb reserved).Plannedforge castReserved Git Bridge verb — not fully functional yet.Plannedforge fuseReserved Git Bridge verb — not fully functional yet.Plannedforge mineReserved Git Bridge verb — not fully functional yet.Plannedforge smithConstruct from an approved Forge design plan. Full autonomous smith continues to roll out.Plannedforge temperReserved Git Bridge verb — not fully functional yet.Planned