spec-kit icon indicating copy to clipboard operation
spec-kit copied to clipboard

OPEN AI codex support

Open paperbenni opened this issue 1 year ago • 5 comments

It would be nice if this also supported codex, especially given how GitHub and Open ai basically belong to the same company

paperbenni avatar Sep 05 '25 08:09 paperbenni

https://github.com/github/spec-kit/pull/14#issuecomment-3252526312

I've been using this

DevGuyRash avatar Sep 05 '25 08:09 DevGuyRash

I've been using a "hacky" way to use this framework with codex.

Essentially, it just involves following the general setup instructions using claude. After the files have been created in your repo, copy the files from .claude/commands to your codex prompts directory (probably ~/.codex/prompts).

This works well enough, but has some sharp edges. The agent will not update the context file this way, and some prompts won't work as expected (When running /specify, I always need to give it the description twice).

Official support will be nice, but the above should get you going if you only utilize codex.

awlsring avatar Sep 07 '25 16:09 awlsring

For anyone stumpling upon this, the blockers for the PR feat: Add Codex CLI support are openai/codex#1548 and openai/codex#3164. Go upvote them!

Bad3r avatar Sep 09 '25 06:09 Bad3r

Can't wait for the support. Meanwhile I was thinking to use Claude Code, but let it use Codex in the background using codex --dangerously-bypass-approvals-and-sandbox -m gpt-5 -c model_reasoning_effort="high" exec <query>

I guess I need to first improve claude.md to let it properly offload spec-kit tasks to codex. Any suggestions?

veraero-tech avatar Sep 13 '25 12:09 veraero-tech

Codex is now available thanks to @honjo-hiroaki-gtt 🥳

localden avatar Sep 20 '25 18:09 localden