Skip to main content
Install Superpowers on OpenCode using the plugin system and native skill discovery. OpenCode loads plugins at startup and discovers skills from ~/.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:
OpenCode will execute these steps automatically.

Manual Installation

For manual control, follow these platform-specific instructions:
1

Clone Superpowers

Install or update Superpowers:
2

Create Directories

Ensure plugin and skill directories exist:
3

Create Plugin Symlink

Register the Superpowers plugin:
4

Create Skills Symlink

Make skills discoverable:
5

Restart OpenCode

Restart OpenCode to load the plugin and discover skills.
6

Verify Installation

Check both symlinks:
Both should show symlinks pointing to the superpowers directory.Ask OpenCode:

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:
  1. Project skills (.opencode/skills/) - Highest priority
  2. Personal skills (~/.config/opencode/skills/)
  3. Superpowers skills (~/.config/opencode/skills/superpowers/) - via symlink
Use OpenCode’s native skill tool to list and load skills.

Using Skills

1

List Available Skills

This shows all discovered skills including Superpowers.
2

Load a Specific Skill

Explicitly load a skill by its path.
3

Automatic Activation

Skills activate automatically based on context:
The agent should automatically load the brainstorming skill.

Tool Mapping

Superpowers skills written for Claude Code are automatically adapted for OpenCode:
  • TodoWriteupdate_plan (OpenCode’s planning tool)
  • Task with subagents@mention system (OpenCode’s agent mentions)
  • Skill tool → OpenCode’s native skill tool
  • File operations → Native OpenCode tools
The plugin bootstrap provides these mapping instructions automatically.

Creating Personal Skills

1

Create Skill Directory

2

Write Skill File

Create ~/.config/opencode/skills/my-skill/SKILL.md:
3

Restart OpenCode

Restart to discover the new skill.

Creating Project Skills

Add project-specific skills in your repository:
Create .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:
Restart OpenCode to load updates.

Troubleshooting

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.transform hook
Symptom: Cannot load Superpowers skillsSolutions:
  • Verify skills symlink: ls -l ~/.config/opencode/skills/superpowers
  • Should point to ~/.config/opencode/superpowers/skills/
  • Use skill tool to list available skills
  • Check SKILL.md files have valid YAML frontmatter
  • Restart OpenCode after creating symlinks
Symptom: Plugin fails to load with module errorSolutions:
  • Git Bash ln -sf copies files instead of creating symlinks
  • Use mklink with cmd //c instead (see Git Bash instructions)
  • Run git config --global core.symlinks true and re-clone
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
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:
The agent should mention having Superpowers and list skills from the superpowers/ namespace.

Uninstalling

Remove the symlinks:
Windows (PowerShell):
Optionally delete the clone:
Windows (PowerShell):

Next Steps

Quick Start

Learn the Superpowers workflow

Skills Reference

Browse all available skills

Writing Skills

Create custom skills

Troubleshooting

Common issues and solutions