~/.config/opencode/skills/.
Prerequisites
- OpenCode.ai installed
- Git installed
- Terminal access (Bash, PowerShell, Command Prompt, or Git Bash)
Quick Install
The fastest way is to tell OpenCode:Manual Installation
For manual control, follow these platform-specific instructions:- macOS / Linux
- Windows (PowerShell)
- Windows (Command Prompt)
- Windows (Git Bash)
How It Works
Superpowers integrates with OpenCode through two mechanisms:Plugin System
The plugin (~/.config/opencode/plugins/superpowers.js) uses OpenCode’s experimental.chat.system.transform hook to inject the “using-superpowers” skill content into every chat request. This ensures Superpowers workflows are always active.
Native Skill Discovery
OpenCode discovers skills from:- Project skills (
.opencode/skills/) - Highest priority - Personal skills (
~/.config/opencode/skills/) - Superpowers skills (
~/.config/opencode/skills/superpowers/) - via symlink
skill tool to list and load skills.
Using Skills
Tool Mapping
Superpowers skills written for Claude Code are automatically adapted for OpenCode:- TodoWrite →
update_plan(OpenCode’s planning tool) - Task with subagents →
@mentionsystem (OpenCode’s agent mentions) - Skill tool → OpenCode’s native
skilltool - File operations → Native OpenCode tools
Creating Personal Skills
Creating Project Skills
Add project-specific skills in your repository:.opencode/skills/my-project-skill/SKILL.md with the same structure as personal skills.
Skill Priority: Project skills override personal skills, which override Superpowers skills.
Updating
Update to the latest version:Troubleshooting
Plugin not loading
Plugin not loading
Symptom: Superpowers context not injectedSolutions:
- Check plugin exists:
ls ~/.config/opencode/superpowers/.opencode/plugins/superpowers.js - Verify symlink:
ls -l ~/.config/opencode/plugins/superpowers.js - Check logs:
opencode run "test" --print-logs --log-level DEBUG - Look for “superpowers” in log output
- Ensure OpenCode version supports
experimental.chat.system.transformhook
Skills not found
Skills not found
Symptom: Cannot load Superpowers skillsSolutions:
- Verify skills symlink:
ls -l ~/.config/opencode/skills/superpowers - Should point to
~/.config/opencode/superpowers/skills/ - Use
skilltool to list available skills - Check SKILL.md files have valid YAML frontmatter
- Restart OpenCode after creating symlinks
Windows: Cannot create symlink
Windows: Cannot create symlink
Symptom: “You do not have sufficient privilege” errorSolutions:
- Enable Developer Mode: Settings → System → For developers
- OR run PowerShell/Command Prompt as Administrator
- For skills, use Junction (
/J) instead of symlink (works without privileges)
Windows: Module not found error
Windows: Module not found error
Symptom: Plugin fails to load with module errorSolutions:
- Git Bash
ln -sfcopies files instead of creating symlinks - Use
mklinkwithcmd //cinstead (see Git Bash instructions) - Run
git config --global core.symlinks trueand re-clone
Windows: File already exists error
Windows: File already exists error
Symptom: “Cannot create a file when that file already exists”Solutions:
- Remove existing symlinks first (step 3 in installation)
- Manually delete:
del %USERPROFILE%\.config\opencode\plugins\superpowers.js - Then retry symlink creation
Bootstrap not appearing
Bootstrap not appearing
Symptom: Agent doesn’t mention SuperpowersSolutions:
- Verify using-superpowers skill exists:
ls ~/.config/opencode/superpowers/skills/using-superpowers/SKILL.md - Check plugin loaded in OpenCode logs
- Restart OpenCode after plugin installation
- Test: ask “what superpowers do you have?”
Testing Your Installation
Verify everything works:superpowers/ namespace.
Uninstalling
Remove the symlinks:Next Steps
Quick Start
Learn the Superpowers workflow
Skills Reference
Browse all available skills
Writing Skills
Create custom skills
Troubleshooting
Common issues and solutions