Forge Init
Initialize Forge for an AI coding platform. Detects the platform, scaffolds content templates (Identity, Preferences, Goals), creates config.yaml, and generates platform-specific config files.
Usage
Run the init script via Bash:
bash
# Auto-detect platform bash Core/bin/forge-init.sh # Explicit platform bash Core/bin/forge-init.sh --platform cursor # Use an existing Obsidian vault for content bash Core/bin/forge-init.sh --external-vault /path/to/vault/Orchestration # Overwrite existing config bash Core/bin/forge-init.sh --force
Supported Platforms
| Platform | Output |
|---|---|
claude-code | Adapters/claude-code/CLAUDE.md |
cursor | Adapters/cursor/rules/*.mdc (4 modular rules) |
copilot | Adapters/copilot/copilot-instructions.md |
opencode | Adapters/opencode/AGENTS.md |
What It Does
- •Detects platform from project markers (
.cursor/,CLAUDE.md, etc.) - •Scaffolds content from
Modules/forge-avatar/scaffold/intoOrchestration/(skips existing files) - •Creates
config.yamlwith platform and content path - •Generates platform config by calling
forge-update
After init, edit the scaffolded files in Orchestration/ and run /Update to regenerate.