forgeplan setup-skill
forgeplan setup-skill installs the /forge Claude Code skill user-globally by writing a single markdown file to ~/.claude/skills/forge/SKILL.md. Once installed, Claude Code can invoke the full Forgeplan workflow (route → shape → validate → ADI → code → evidence → activate) through a single /forge slash command in any project, with all methodology rules loaded as context via the bundled skill definition.
The skill file is embedded directly into the forgeplan binary at compile time — the command performs no network access, does not fetch anything from the marketplace, and does not modify the current project’s .forgeplan/ or .claude/ directories.
When to use
Section titled “When to use”- First time you connect Claude Code (or another Claude Agent SDK client) to Forgeplan.
- Once per machine — the skill is user-global and works across all projects afterwards.
- After upgrading the Forgeplan binary if the bundled skill definition changed (re-run to pick up updates).
- When onboarding a teammate who already has Claude Code but has never run Forgeplan locally.
When NOT to use
Section titled “When NOT to use”- If you don’t use Claude Code — the skill is Claude-Code-specific and has no effect on plain CLI usage.
- If you’ve customized
~/.claude/skills/forge/SKILL.mdmanually and don’t want to overwrite it (the command re-installs the bundled version). - As a substitute for
forgeplan init— this only installs the skill file, it does not create a workspace. - If you want marketplace plugins (
/audit,/sprint,/fpf, etc.) — those are installed separately vianpx skills add ForgePlan/marketplace --plugin <name>. See the Marketplace Overview.
forgeplan setup-skillOptions
Section titled “Options” -h, --help Print help -V, --version Print versionExamples
Section titled “Examples”Example 1: New project onboarding
Section titled “Example 1: New project onboarding”forgeplan init -yforgeplan setup-skillTypical bootstrap sequence: create the workspace, then install the Claude Code skill so /forge is immediately available in the next chat session.
Example 2: Refresh the skill after upgrading
Section titled “Example 2: Refresh the skill after upgrading”cargo install forgeplan # or brew upgrade forgeplanforgeplan setup-skillRe-runs the installer so the skill markdown matches the new binary version. Safe to run repeatedly — it overwrites ~/.claude/skills/forge/SKILL.md.
Example 3: Verify installation
Section titled “Example 3: Verify installation”forgeplan setup-skillls ~/.claude/skills/forge/# -> SKILL.mdConfirms the single skill file landed in the user-global Claude Code skills directory.
How it fits the workflow
Section titled “How it fits the workflow”This is a one-shot setup command, not part of the artifact lifecycle. It belongs in the initial project bootstrap alongside:
forgeplan init -y— create workspaceforgeplan setup-skill— install Claude Code integration- Configure
.forgeplan/config.yaml— LLM provider + API key forgeplan health— sanity check- Open Claude Code and call
/forge— methodology-aware workflow kicks in
Inside Claude Code, /forge gives AI agents the same routing, validation, and evidence discipline described in the methodology guide.
Safety notes
Section titled “Safety notes”- The command writes to
~/.claude/skills/forge/SKILL.mdin your home directory (user-global). If you have local edits to that file, back them up first. - Because it is user-global (not project-local), there is nothing to gitignore — the file lives outside any repository.
- No workspace data is touched; this command does not modify
.forgeplan/.
See also
Section titled “See also”forgeplan init— create the workspace before installing the skillforgeplan health— verify session readiness- Methodology overview — what the
/forgeskill actually enforces - Configuration — LLM provider setup required for
/forgeto reason - Marketplace Overview — full plugin catalog for additional skills
- Forgeplan Workflow Plugin — details on what
/forgeprovides