codex-adapter
Route ONE bounded, mechanical task to the Codex CLI as a non-Claude executor, under the same review-before-merge gate as any other agent-produced diff.
Skill by wrg32786
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/wrg32786-codex-adapter
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/codex-adapter
Tools it pre-approves 2
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Read,Bash
What's inside
- Skill name
codex-adapter- Description
- Route ONE bounded, mechanical task to the Codex CLI as a non-Claude executor, under the same review-before-merge gate as any other agent-produced diff. Use when the user explicitly asks to hand a task to Codex, or names OpenAI Codex / a non-Claude executor for a mechanical change (rename a symbol across files, add a config entry, apply a scripted find/replace). Not for open-ended or strategic work -- that stays with the operating Claude session.
- License
- MIT
- Allowed tools
- Read,, Bash
- Instructions
- 47 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves any shell command
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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](https://developers.openai.com/codex)'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 1. Confirm the Codex CLI is actually available: `command -v codex` (or whatever `AIGENT_CODEX_BIN` is set to). If it isn't installed, tell the user instead of guessing at a path. 2. State the bounded task in one sentence, and the target directory. If either is unclear, ask -- don't invoke on a guess. ## Invocation ```bash bash daemons/codex-adapter.sh "<bounded task prompt>" --dir <path> [--sandbox <mode>] ``` - `AIGENT_CODEX_BIN` (env, default `codex`) -- 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 on `PATH`. - `--dir <path>` -- working directory the task runs in. Default: current directory. - `--sandbox <mode>` -- passed through to `codex exec --sandbox`. Default `workspace-write` (Codex may read/write inside `--dir`, nothing wider). Example: ```bash AIGENT_CODEX_BIN=codex bash daemons/codex-adapter.sh \ "Add a .gitignore entry for *.tmp files" --dir . ``` ## 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 `--dir` is a git repository - `.aigent/codex-runs/<timestamp>/status.txt` -- `git status --porcelain` for 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.
From wrg32786/aigent-os, MIT.
More from wrg32786/aigent-os
- 0.643score
nightly
wrg32786
Canonical seven-leg nightly close-parity protocol.
SkillAFreshness: A★ 23Claude Code +9 - 0.643score
context-capsule
wrg32786
The capsule verb, invoked explicitly — reconcile from the live memory, write a resume-ready capsule, then stop.
SkillAFreshness: A★ 23Claude Code +9 - 0.640score
memory-bridge
wrg32786
Explicitly retain, recall, or reflect with the optional source-governed Hindsight and Jev bridge.
SkillAFreshness: A★ 23Claude Code +9 - 0.603score
resume
wrg32786
The resume verb, invoked explicitly — load the newest valid capsule by created_at, re-ground against live memory, then ACT on waiting_on.
SkillBFreshness: B★ 23Claude Code +9 - 0.581score
ponytail
wrg32786
Forces the laziest solution that actually works, simplest, shortest, most minimal.
SkillBFreshness: B★ 23Claude Code +9 - 0.556score
deep-recon
wrg32786
Run extended multi-agent reconnaissance sessions.
SkillCFreshness: C★ 23Claude Code - 0.556score
operator-setup
wrg32786
The AIgent first-run operator-business interview.
SkillCFreshness: C★ 23Claude Code +9 - 0.556score
impeccable
wrg32786
Create distinctive, production-grade frontend interfaces with high design quality.
SkillCFreshness: C★ 23Claude Code +9 - 0.556score
caddy-enroll
wrg32786
Enroll a skill into Caddy's index so it can be surfaced when the right prompt arrives.
SkillCFreshness: C★ 23Claude Code +9 - 0.553score
compact-note
wrg32786
Mnemosyne's note compaction skill.
SkillCFreshness: C★ 23Claude Code +9 - 0.553score
research-deep
wrg32786
Newton's multi-source deep research skill.
SkillCFreshness: C★ 23Claude Code - 0.553score
capsule-compact
wrg32786
Compact a long capsule chain.
SkillCFreshness: C★ 23Claude Code +9
Signals
- Stars
- 23
- Forks
- 7
- Open issues
- 14
- Last commit (this folder)
- Jul 24, 2026 (3 months ago)
- Last release
- Jul 25, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/wrg32786/aigent-os
- Website
- tools.theaigent.xyz/os
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from wrg32786
- 0.643score
context-capsule
wrg32786
The capsule verb, invoked explicitly — reconcile from the live memory, write a resume-ready capsule, then stop.
SkillAFreshness: A★ 23Claude Code +9 - 0.643score
nightly
wrg32786
Canonical seven-leg nightly close-parity protocol.
SkillAFreshness: A★ 23Claude Code +9 - 0.640score
memory-bridge
wrg32786
Explicitly retain, recall, or reflect with the optional source-governed Hindsight and Jev bridge.
SkillAFreshness: A★ 23Claude Code +9 - 0.603score
resume
wrg32786
The resume verb, invoked explicitly — load the newest valid capsule by created_at, re-ground against live memory, then ACT on waiting_on.
SkillBFreshness: B★ 23Claude Code +9 - 0.581score
ponytail
wrg32786
Forces the laziest solution that actually works, simplest, shortest, most minimal.
SkillBFreshness: B★ 23Claude Code +9 - 0.556score
caddy-enroll
wrg32786
Enroll a skill into Caddy's index so it can be surfaced when the right prompt arrives.
SkillCFreshness: C★ 23Claude Code +9
Cite this page
codex-adapter skill. Agent Mart. https://agentmart.dev/skills/wrg32786-codex-adapter (last updated 2026-10-24)