skills-directory/skill-codex
A claude code skill to delegate prompts to codex
skill‑codex – Claude Code plugin for the Codex CLI
What it is
- A small open‑source plugin that lets Claude Code (the coding‑assistant version of Anthropic’s Claude) call the
codexcommand‑line tool. It bridges Claude’s conversational interface with Codex’s own code‑analysis, refactoring and editing capabilities.
Why it matters
- Claude Code can off‑load heavy static‑analysis or transformation work to the dedicated Codex engine, keeping Claude’s own context window small. This makes it possible to run sophisticated, model‑driven refactors on whole repositories without blowing up the chat history.
Key features (as described in the README)
- Automatic plugin install via Claude Code’s marketplace (
/plugin marketplace add …). - Standalone fallback that can be copied into
~/.claude/skillsfor environments where the marketplace isn’t used. - Model selection – the skill can pick from a range of Codex models (e.g.,
gpt‑6‑astra,gpt‑6.1‑sol, etc.) and lets the user override the default. - Reasoning‑effort control – callers can request low‑through‑ultra effort levels, which map to the chosen model’s capabilities.
- Sandbox modes – defaults to a read‑only sandbox for safe analysis, but other modes are supported.
- Thinking‑token suppression – standard runs pipe
stderrto/dev/nullso Claude’s response stays concise; users can request the raw tokens for debugging.
How to get it
- Plugin route (recommended)
/plugin marketplace add skills-directory/skill-codex /plugin install skill-codex@skill-codex - Manual route
This copies thegit clone --depth 1 git@github.com:skills-directory/skill-codex.git /tmp/skills-temp && \ mkdir -p ~/.claude/skills && \ cp -r /tmp/skills-temp/plugins/skill-codex/skills/codex ~/.claude/skills/codex && \ rm -rf /tmp/skills-tempcodexskill folder into Claude’s local skill directory.
Typical workflow
- The user asks Claude Code something like “Use codex to analyze this repository and suggest improvements.”
- Claude activates the skill‑codex plugin, which:
- Determines the Codex model (default
gpt‑6‑astra). - Chooses a reasoning‑effort level (default
high). - Sets the sandbox to
read‑only.
- Determines the Codex model (default
- It runs a command such as:
codex exec -m gpt-6-astra \ --config model_reasoning_effort="high" \ --sandbox read-only \ "Analyze this Claude Code skill repository comprehensively..." 2>/dev/null - The output from Codex is captured, summarized, and presented back to the user, with an optional prompt to continue with follow‑up actions.
Where to learn more
- Full operational details, CLI flags, and permission‑gate information live in the plugin’s
SKILL.mdfile:plugins/skill-codex/skills/codex/SKILL.md.
Who might use it
- Developers who already work with Claude Code and want to tap into Codex’s deeper static‑analysis or automated refactoring capabilities.
- Teams building AI‑augmented development pipelines that need a simple way to invoke Codex from a conversational interface.
All information above is taken directly from the repository’s README; no additional features are inferred.
Related
- Project
- Project
- Project
- Project
- Project