Repository navigation
Description
- I searched existing issues for this IDE/platform
Which IDE or platform?
OpenAI Codex CLI
https://github.com/openai/codex
Does this tool have a plugin or extension system?
Not in the same sense as Claude Code plugins, but it does have:
- native skill discovery via
~/.agents/skills/ - hook support via
~/.codex/hooks.json - native hook events including
SessionStart
I manually adapted the Superpowers SessionStart bootstrap for Codex on Windows by using a small .cmd wrapper that delegates to the existing upstream hooks/run-hook.cmd and hooks/session-start scripts.
Have you tried manual installation?
Yes.
The current Codex docs are already correct that Superpowers works through native skill discovery with no extra configuration required for basic usage.
What we found is narrower and optional:
- Codex already discovers
using-superpowersautomatically through~/.agents/skills/ - however, an optional
SessionStarthook can make the first-turn bootstrap more deterministic - this is especially relevant for people who want behavior closer to the existing Superpowers startup flow
We validated this manually on Windows:
startupfiresresumefiresclearfires
One important difference from the upstream Claude-oriented hook config:
- upstream Superpowers uses
startup|clear|compact - Codex
SessionStartusesstartup|resume|clearinstead compactis not a validSessionStartsource in Codex's current schema, soresumeis the closest adaptation
I am not proposing this as required installation or as a replacement for the current Codex docs.
I am proposing a small optional documentation addition, for users who want a more explicit startup bootstrap:
- note that native skill discovery is usually enough
- optionally document
SessionStarthook setup for Codex - mention that
[features] codex_hooks = truemay need to be enabled - document the event mapping difference (
compactvsresume)
If this direction sounds reasonable, I can open a small docs-only PR.
Activity
obra commentedon Mar 23, 2026
Ooh! Are hooks now GA in codex?
gustavofondaik commentedon Mar 23, 2026
Not fully GA, I think. They worked for me, but only with
features.codex_hooks = truein Codex config, so I’m treating them as still experimental/feature-gated.GoinsSouthernLegacy commentedon Mar 23, 2026
I play on Roblox and am just starting out on building everything and all myself with no collaborators or any help really. So would this be something that would be of use in Roblox? And could it be used in form of Lau/Scripts for Roblox Studios?
gustavofondaik commentedon Mar 23, 2026
https://github.com/openai/codex/tree/main/codex-rs/hooks
obra commentedon Apr 18, 2026
Plug-in hooks are, however, not yet there
theoyiorkas commentedon May 17, 2026
@gustavofondaik can you share the
.cmdwrapper file you created to make superpowers hook to work on Windows?arittr commentedon Jun 1, 2026
Implemented on
devby #1540.The merged change goes beyond the optional/manual docs proposed here: the Codex plugin now ships native
SessionStarthook packaging via.codex-plugin/plugin.json,hooks/hooks-codex.json, andhooks/session-start-codex, giving Codex users deterministicusing-superpowersstartup bootstrap through the plugin path.Closing as implemented on
dev; this should ship in the next release.