wrg32786/aigent-os/codex-adapter
Claude Code and agent skill by wrg32786/aigent-os
- community
Checking that the SKILL.md file is still in the repository.
Route one mechanical task to OpenAI Codex CLI with review before merge. Use when explicitly asked to hand Codex a rename, config edit, or scripted replacement.
Install
npx vskill@latest install wrg32786/aigent-os/codex-adapterSKILL.md
The same SKILL.md was published earlier as wrg32786/aigent-os/codex-adapter.
Codex Adapter
This is aigent-OS's first (and currently only) non-Claude executor: a thin wrapper around daemons/codex-adapter.sh that runs a single bounded, mechanical task through the Codex CLI's non-interactive codex exec mode.
Scope -- what "bounded and mechanical" means
Good fits: a scripted rename, a config/gitignore entry, a repetitive multi-file edit with a clear before/after, a lint-fix pass. The task prompt you hand it should be checkable by a human (or you) glancing at the resulting diff -- if you can't describe in one sentence what "done" looks like, it's not bounded enough for this adapter; do it yourself instead.
Not a fit: architecture decisions, anything requiring judgment about tradeoffs, anything touching credentials/secrets/production config, anything the user hasn't explicitly asked to route to Codex.
Before you invoke it
- Confirm the Codex CLI is actually available:
command -v codex(or whateverAIGENT_CODEX_BINis set to). If it isn't installed, tell the user instead of guessing at a path. - State the bounded task in one sentence, and the target directory. If either is unclear, ask -- don't invoke on a guess.
Invocation
AIGENT_CODEX_BIN(env, defaultcodex) -- path or name of the Codex CLI binary. Never hardcode a machine-specific path in the invocation; set the env var if the binary isn't onPATH.--dir <path>-- working directory the task runs in. Default: current directory.--sandbox <mode>-- passed through tocodex exec --sandbox. Defaultworkspace-write(Codex may read/write inside--dir, nothing wider).
Example:
After it runs -- the review gate
The adapter never commits or pushes. It writes:
.aigent/codex-runs/<timestamp>/output.log-- the raw Codex CLI transcript.aigent/codex-runs/<timestamp>/review.diff-- a working-tree diff (tracked changes + a synthetic diff for any new untracked files) if--diris a git repository.aigent/codex-runs/<timestamp>/status.txt--git status --porcelainfor the same tree
Read review.diff before doing anything else. Treat a Codex-produced change exactly like a sub-agent's diff: verify it does what was asked, then decide whether to stage/commit it yourself. If --dir isn't a git repository, the adapter says so explicitly and you review the files directly instead.
What this is not
Not a general multi-LLM router -- it's one task class routed to one executor. Extending this to route by task type, or to wire additional CLIs (Gemini CLI, opencode, etc.) behind the same interface, is future work, not something to imply is already live.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/codex-adapter/SKILL.md
Popularity
- Repository stars
- 25
- Repository forks
- 7
- 7-day trend score
- 15
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wrg32786/aigent-os/codex-adapter)