SlashForge
Reference

CLI reference

The three things the npm package itself does, outside Claude Code.


The slash commands run inside Claude Code. The package has a small CLI of its own for getting them on and off your machine.

CommandWhat it does
npx slashforgeInstalls guide files, the four commands, and the nine discipline skills into ~/.claude/
npx slashforge statusReports what is installed, at which version, without changing anything
npx slashforge uninstallRemoves the guides and commands it installed

Options

FlagEffect
--projectInstall into ./.claude/ of the current repo instead of ~/.claude/
--dry-runPrint planned file writes without touching the filesystem
--yes, -yNon-interactive; auto-confirm the update prompt
--help, -hFull usage

--yes is also enabled by SLASHFORGE_YES=1, or automatically when stdin is not a TTY — so CI, devcontainers, and anywhere else the install must not block on a prompt work without the flag.

bash
SLASHFORGE_YES=1 npx slashforge

install

The default command. Installs the guide files, the four commands and the nine skills, then tells you where each one landed.

bash
npx slashforge

Re-running on a machine that already has it prompts to update to the latest version. Worth doing when either optional integration changes upstream — if Graphify changes its install commands, or a workflow phase changes, the guide files need to catch up.

Project mode

bash
npx slashforge --project

Vendors the guides and commands into the repo’s ./.claude/ with repo-relative paths. Commit it and your teammates get the commands with no global install.

The update check

install and status both ask npm for the current release when they finish, and print one warning if the copy you ran is older:

plaintext
⚠  This is v4.3.1. The current release is v4.4.0.
   `npx slashforge` runs a global install if you have one, and never checks npm:
     npm uninstall -g slashforge     # then re-run npx, or
     npm install -g slashforge@latest

npx prefers an executable already on your PATH. If you have ever run npm install -g slashforge, npx slashforge runs that copy and never contacts the registry — so it can keep installing an old release while reporting success, which is exactly what this warning is for.

The check has a 1.5 second timeout and every failure is silent: an offline install, a private registry that does not answer, or a response in an unexpected shape all leave the output unchanged. It honours the registry npm is configured with, is skipped when CI is set, and SLASHFORGE_NO_UPDATE_CHECK=1 turns it off.

status

Reports the installed version, the guide files present, the commands registered, It changes nothing.

bash
npx slashforge status
plaintext
slashforge status
  Package version (current): v4.4.0
  Installed version:         v4.4.0
  Installed at:              2026-08-01T15:37:54.153Z
  Guide files:               15 (~/.claude/setup/slashforge)
    • forge-agents.md
    • forge-claude-md.md
    • forge-commands.md
    ...
  Installed commands:        4
    • /slashforge:code
    • /slashforge:investigate
    • /slashforge:review-pr
    • /slashforge:setup

On a machine with nothing installed it says so, rather than reporting an empty install:

plaintext
slashforge: not installed.
Run `npx slashforge` to install v4.4.0.

status recognises the older v2 and v3 layouts as well as the current one, so an install upgraded across a rename still reports accurately instead of looking absent.

uninstall

bash
npx slashforge uninstall              # from ~/.claude/
npx slashforge uninstall --project    # from ./.claude/

Removes only the files SlashForge installed, and recognises the v2 and v3 layouts alongside the current one — so an upgraded install can be cleaned up rather than orphaned.

Note

Without --project, uninstall touches nothing but ~/.claude/. A repo’s own .claude/ directory — the configuration /slashforge:setup generated — is yours and is never read or removed. --project is the one case where it acts on a repo, and only on the repo you run it in.

If you have added your own commands under ~/.claude/commands/slashforge/, they are left alone and the directory is kept.