Installation
System Requirements
Section titled “System Requirements”| Requirement | Minimum | Recommended |
|---|---|---|
| Node.js | 18.0+ | 22.x LTS |
| npm | 9.0+ | 11.x |
| OS | macOS, Linux, Windows | macOS, Linux |
Install via npm
Section titled “Install via npm”npm install -g skill-forgeInstall via npx (no global install)
Section titled “Install via npx (no global install)”You can also run skill-forge without installing globally:
npx skill-forge create my-skillnpx skill-forge validatenpx skill-forge publishVerify Installation
Section titled “Verify Installation”skill-forge --version# skill-forge v1.0.0
skill-forge --help# Available commands:# create <name> Create a new skill from a template# validate Validate the current skill# publish Publish to the skill registry# list List available templatesShell Completion
Section titled “Shell Completion”Enable tab completion for your shell:
# Bashskill-forge completion bash >> ~/.bashrc
# Zshskill-forge completion zsh >> ~/.zshrc
# Fishskill-forge completion fish > ~/.config/fish/completions/skill-forge.fishUpdating
Section titled “Updating”npm update -g skill-forgeTroubleshooting
Section titled “Troubleshooting”Permission Errors on macOS/Linux
Section titled “Permission Errors on macOS/Linux”If you get EACCES errors, fix npm’s global directory permissions:
mkdir -p ~/.npm-globalnpm config set prefix '~/.npm-global'echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.zshrcsource ~/.zshrcBehind a Proxy
Section titled “Behind a Proxy”npm config set proxy http://proxy.example.com:8080npm config set https-proxy http://proxy.example.com:8080npm install -g skill-forge