-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
bugSomething isn't workingSomething isn't workingcodexIssues related to OpenAI Codex supportIssues related to OpenAI Codex supportdocumentationImprovements or additions to documentationImprovements or additions to documentationwindows
Description
Problem
On Windows, running the command shown in the Superpowers instructions:
~/.codex/superpowers/.codex/superpowers-codex bootstrap
opens the "Open with" dialog instead of executing, because the file has no
extension and Windows does not know how to run it.
What I changed
- Run the script with Node directly (works immediately):
node $HOME/.codex/superpowers/.codex/superpowers-codex bootstrap
- Make a global wrapper so
superpowers-codexworks like a normal command:
Create%USERPROFILE%\.local\bin\superpowers-codex.cmd:
@echo off
setlocal
node "%USERPROFILE%\.codex\superpowers\.codex\superpowers-codex" %*
Add %USERPROFILE%\.local\bin to the User PATH.
- Update the instructions to avoid the raw path in future sessions:
C:\Users\USER\.codex\AGENTS.md: replace
~/.codex/superpowers/.codex/superpowers-codex bootstrap
with
node $HOME/.codex/superpowers/.codex/superpowers-codex bootstrapC:\Users\USER\.codex\superpowers\.codex\superpowers-bootstrap.md:
replace all~/.codex/superpowers/.codex/superpowers-codex
withsuperpowers-codex
- Start a fresh Codex session (not just
/new) so the updated instructions
are reloaded.
Result
No more "Open with" dialog. Skill loading commands run normally on Windows.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcodexIssues related to OpenAI Codex supportIssues related to OpenAI Codex supportdocumentationImprovements or additions to documentationImprovements or additions to documentationwindows