Guide for using Superpowers with OpenAI Codex via native skill discovery.
Tell Codex:
Fetch and follow instructions from https://raw.githubusercontent.com/obra/superpowers/refs/heads/main/.codex/INSTALL.md
Clone the repo:
git clone https://github.com/obra/superpowers.git ~/.codex/superpowers
Run the installer:
node ~/.codex/superpowers/.codex/install-codex.mjs
Restart Codex.
The installer creates a symlink from ~/.agents/skills/superpowers to the repo's skills/ directory and adds a gatekeeper block to ~/.codex/AGENTS.md. Existing users with the old bootstrap setup are migrated automatically.
The installer tries symlinks first, then falls back to junctions (mklink /J) if symlinks require Developer Mode. Both work for Codex skill discovery.
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:
~/.agents/skills/superpowers/ → ~/.codex/superpowers/skills/
A small gatekeeper block in ~/.codex/AGENTS.md ensures Codex invokes $using-superpowers at session start, which enforces skill usage discipline across turns.
Skills are discovered automatically. Codex activates them when:
using-superpowers skill directs Codex to use oneSkills written for Claude Code reference tools that have Codex equivalents:
| Claude Code | Codex |
|---|---|
TodoWrite |
update_plan |
Task/Subagent |
spawn_agent + wait (or sequential if collab disabled) |
Skill tool |
Native $skill-name mention |
Read, Write, Edit, Bash |
Native equivalents |
These mappings are included in the AGENTS.md gatekeeper block.
Create your own skills in ~/.agents/skills/:
mkdir -p ~/.agents/skills/my-skill
Create ~/.agents/skills/my-skill/SKILL.md:
---
name: my-skill
description: Use when [condition] - [what it does]
---
# My Skill
[Your skill content here]
cd ~/.codex/superpowers && git pull
Skills update instantly through the symlink.
rm ~/.agents/skills/superpowers
Then remove the block between <!-- superpowers:begin --> and <!-- superpowers:end --> from ~/.codex/AGENTS.md.
ls -la ~/.agents/skills/superpowersls ~/.codex/superpowers/skillsIf the installer reports symlink failure, ensure Developer Mode is enabled or run as administrator. The installer will attempt a junction fallback automatically.
The installer requires Node.js. Verify:
node --version