Skip to content

Commands

Interactive wizard that detects AI tools, configures sources, and writes .crucible/forge.config.yaml.

Terminal window
forge init # interactive setup
forge init --force # re-initialize existing config

Fetches from all configured sources, resolves targets, and places files for each assistant.

Terminal window
forge sync # sync all sources
forge sync --dry-run # preview changes without writing
forge sync --silent # suppress output (for scheduled runs)

Features:

  • Multi-source parallel fetching via Promise.allSettled
  • SHA-256 change detection — only writes when content changed
  • Per-file error recovery — failed files don’t abort the sync
  • Rollback on mutation failure

Shows drift between last sync state and current filesystem.

Terminal window
forge status

Drift statuses: | Status | Meaning | |—|—| | in-sync | File matches last sync | | modified | Locally changed since last sync | | deleted | Removed from disk, still in sync state | | remote-updated | Changed in source since last sync | | conflict | Both local and remote changed | | new-in-source | Exists in source, not yet synced | | removed-from-source | Was synced, no longer in source |

SLI dashboard showing operational metrics.

Terminal window
forge health

Displays: last sync time, sync frequency, drift count, source reachability, active assistants, log and report statistics.

Interactive config editor with section-based menu.

Terminal window
forge config # interactive menu
forge config show # display current config

Sections: assistants, sources, sync settings, scheduler, telemetry.

Terminal window
forge source list

Shows configured sources with type, detail, synced file counts, and advanced options.

Terminal window
forge source add

Add a new source interactively. Supports git (SSH/HTTPS) and local paths.

Terminal window
forge source remove

Remove a source with optional cleanup of synced files and sync state.

Terminal window
forge source edit

Edit existing source configuration with pre-filled current values.

Terminal window
forge scheduler install

Registers an OS-level auto-sync task:

  • macOS — launchd
  • Linux — crontab
  • Windows — Task Scheduler
Terminal window
forge scheduler uninstall

Removes the scheduled sync task.

Terminal window
forge scheduler status

Shows next run time, schedule description, and scheduler status.

Terminal window
forge telemetry # show status and what's collected
forge telemetry reset # clear stored events

Opt-in anonymous usage tracking. Local JSONL storage. No data sent anywhere by default.

Terminal window
forge uninstall

Removes .crucible directory, uninstalls scheduler, deletes all synced files. Requires confirmation.

Flag Description
--global Operate on global config (~/.crucible/forge.config.yaml)
--log-level <level> Set log level: silent, error, warn, info, debug, trace
--version Show version
--help Show help