2025-11-23 13:49:12 -08:00
# Superpowers for Codex
2026-02-05 16:03:38 -08:00
Guide for using Superpowers with OpenAI Codex via native skill discovery.
2025-11-23 13:49:12 -08:00
## Quick Install
Tell Codex:
```
Fetch and follow instructions from https://raw.githubusercontent.com/obra/superpowers/refs/heads/main/.codex/INSTALL.md
```
## Manual Installation
### Prerequisites
2026-02-05 16:03:38 -08:00
- OpenAI Codex CLI
2026-02-05 16:53:22 -08:00
- Git
2025-11-23 13:49:12 -08:00
2026-02-05 16:03:38 -08:00
### Steps
2025-11-23 13:49:12 -08:00
2026-02-05 16:03:38 -08:00
1. Clone the repo:
```bash
git clone https://github.com/obra/superpowers.git ~/.codex/superpowers
` ``
2025-11-23 13:49:12 -08:00
2026-02-05 16:53:22 -08:00
2. Create the skills symlink:
2026-02-05 16:03:38 -08:00
` ``bash
2026-02-05 16:53:22 -08:00
mkdir -p ~/.agents/skills
ln -s ~/.codex/superpowers/skills ~/.agents/skills/superpowers
2026-02-05 16:03:38 -08:00
` ``
2025-11-23 13:49:12 -08:00
2026-02-05 16:03:38 -08:00
3. Restart Codex.
2025-11-23 13:49:12 -08:00
2026-02-05 16:03:38 -08:00
### Windows
2025-11-23 13:49:12 -08:00
2026-02-05 16:53:22 -08:00
Use a junction instead of a symlink (works without Developer Mode):
` ``powershell
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.agents\skills"
cmd /c mklink /J "$env:USERPROFILE\.agents\skills\superpowers" "$env:USERPROFILE\.codex\superpowers\skills"
` ``
2026-02-05 16:03:38 -08:00
## How It Works
Codex has native skill discovery — it scans ` ~/.agents/skills/` at startup, parses SKILL.md frontmatter, and loads skills on demand. Superpowers skills are made visible through a single symlink:
2025-11-23 13:49:12 -08:00
` ``
2026-02-05 16:03:38 -08:00
~/.agents/skills/superpowers/ → ~/.codex/superpowers/skills/
2025-11-23 13:49:12 -08:00
` ``
2026-02-05 16:53:22 -08:00
The ` using-superpowers` skill is discovered automatically and enforces skill usage discipline — no additional configuration needed.
2025-11-23 13:49:12 -08:00
## Usage
2026-02-05 16:03:38 -08:00
Skills are discovered automatically. Codex activates them when:
- You mention a skill by name (e.g., "use brainstorming")
- The task matches a skill's description
- The ` using-superpowers` skill directs Codex to use one
2025-11-23 13:49:12 -08:00
### Personal Skills
2026-02-05 16:03:38 -08:00
Create your own skills in ` ~/.agents/skills/`:
2025-11-23 13:49:12 -08:00
` ``bash
2026-02-05 16:03:38 -08:00
mkdir -p ~/.agents/skills/my-skill
2025-11-23 13:49:12 -08:00
` ``
2026-02-05 16:03:38 -08:00
Create ` ~/.agents/skills/my-skill/SKILL.md`:
2025-11-23 13:49:12 -08:00
` ``markdown
---
name: my-skill
description: Use when [condition] - [what it does]
---
# My Skill
[Your skill content here]
` ``
2026-02-05 16:34:05 -08:00
The ` description` field is how Codex decides when to activate a skill automatically — write it as a clear trigger condition.
2026-02-05 16:03:38 -08:00
## Updating
2025-11-23 13:49:12 -08:00
2026-02-05 16:03:38 -08:00
` ``bash
cd ~/.codex/superpowers && git pull
` ``
2025-11-23 13:49:12 -08:00
2026-02-05 16:03:38 -08:00
Skills update instantly through the symlink.
2025-11-23 13:49:12 -08:00
2026-02-05 16:03:38 -08:00
## Uninstalling
2025-11-23 13:49:12 -08:00
` ``bash
2026-02-05 16:03:38 -08:00
rm ~/.agents/skills/superpowers
2025-11-23 13:49:12 -08:00
` ``
2026-02-05 17:03:19 -08:00
**Windows (PowerShell):**
` ``powershell
Remove-Item "$env:USERPROFILE\.agents\skills\superpowers"
` ``
Optionally delete the clone: ` rm -rf ~/.codex/superpowers` (Windows: ` Remove-Item -Recurse -Force "$env:USERPROFILE\.codex\superpowers"`).
2026-02-05 16:03:38 -08:00
2025-11-23 13:49:12 -08:00
## Troubleshooting
2026-02-05 16:03:38 -08:00
### Skills not showing up
2025-11-23 13:49:12 -08:00
2026-02-05 16:03:38 -08:00
1. Verify the symlink: ` ls -la ~/.agents/skills/superpowers`
2. Check skills exist: ` ls ~/.codex/superpowers/skills`
3. Restart Codex — skills are discovered at startup
2025-11-23 13:49:12 -08:00
2026-02-05 16:34:05 -08:00
### Windows junction issues
2025-11-23 13:49:12 -08:00
2026-02-05 16:53:22 -08:00
Junctions normally work without special permissions. If creation fails, try running PowerShell as administrator.
2025-11-23 13:49:12 -08:00
## Getting Help
- Report issues: https://github.com/obra/superpowers/issues
- Main documentation: https://github.com/obra/superpowers