/workflow:codexfrom workflow
Talk to OpenAI Codex, my read-only second agent, through its CLI. Use whenever you call Codex for a review, an audit, a second opinion or docs, when I say "ask Codex", "have Codex review/check/write", or when another skill tells you to bring in Codex.
Ships in workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Decisions: ADRs 0006-0009 in my claude repo.
| Trigger | What Codex does | Where the result goes |
|---|---|---|
Every PR, before the first push (github-flow) | codex review of the branch | ## Codex review in the PR body |
Every ADR draft, before I see it (adr-manager) | critiques the draft | your message to me: points taken, points rejected with why |
Every bug fix (bug/, hotfix/), before you fix | its own root-cause analysis | PR body: where you and Codex agreed or differed |
Every security audit, once I've asked for one (security-audit) | independent read-only audit | the Security Report, confirmed findings marked found by: Codex |
The only skip: Codex unavailable (not installed, not logged in, the call fails). Then write
Codex: skipped (<reason>) where the result would have gone. Never skip because a change
looks small.
Every call goes through the launcher next to this file (ADR 0008). It sets the sandbox,
approval policy, MCP and connector flags itself, checks codex login status, and works from
any directory. Never call codex directly. No Codex call can write: docs come back as text
(ADR 0009).
| Need | Command |
|---|---|
| Ask something (new thread) | python3 -I <this skill's dir>/codex.py ask --repo <repo root> |
| Continue that thread | python3 -I <this skill's dir>/codex.py resume <thread_id> --repo <repo root> |
| Review the branch | from the repo root: python3 -I <this skill's dir>/codex.py review (--base REF, default origin/main) |
| Propose docs | python3 -I <this skill's dir>/codex.py docs --repo <repo root> |
| Apply them | python3 -I <this skill's dir>/codex.py docs-apply --repo <repo root> --sha256 <hex> <manifest> |
python3 -I <dir>/codex.py ask --repo . <<'CODEX_PROMPT_END'
<prompt>
CODEX_PROMPT_END
--repo: the repo the question is about, so Codex reads its files and AGENTS.md. Leave it
out only for a question about no repo.◆ <title>, aligned fields, a rule, then Codex's final message. Keep
the thread field for resume. For a review, copy Codex review of <base>..<head> from
the title into ## Codex review. Colour only appears in a real terminal.✗ Codex: skipped (<reason>): Codex was unavailable or the call failed.
Write that line where the result would have gone and carry on. Codex never blocks work.↻ Codex: rerun (<reason>): the review would not match the branch (uncommitted
changes, or the branch changed meanwhile). Not a skip: do what it says and run the review
again; never push on it.file:line: problem; say 'nothing found' if none").docs sends the task to a read-only Codex, which replies with each file's full new text.
The launcher checks every path and builds the diff itself; nothing is written yet. Codex
may write only README.md files, .md files at the repo root, and .md under docs/;
never docs/adr/, agent instruction files (SKILL.md, CLAUDE.md, AGENTS.md, …),
anything under skills/, commands/, agents/ or a dot directory, symlinks,
executables or untracked files.repo, manifest, sha256, files (~ changed, + new), the exact
next command, then the full diff. Show me the full diff (the redaction rule below
applies), then run the next command. It refuses a changed manifest or a file changed meanwhile, re-checks the paths,
writes the exact text, and deletes the manifest.✗ Codex docs: rejected, nothing written, then one • line per reason: tell me, and fix
the prompt, run docs again (a file changed meanwhile), or write those files yourself.
Agent instruction files and plugin prompts are always yours to write.github-flow,
commit-style). Codex never commits or pushes.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub nobodyone04/claude --plugin workflow5 skills in this plugin
/commit-styleWrite git commit messages in my style. Use whenever you are about to run `git commit` in any of my repos (zsh, nvim, tmux, claude, personal-ai, dotfiles), or when asked to write, fix or review a commit message./github-flowBranches, pull requests, changelog, CLAUDE.md and review rules for my GitHub repos. Use whenever you start a change in a repo with a GitHub remote, before creating a branch, committing, pushing, opening or updating a PR, answering PR review comments, cleaning up after I say a PR is merged, or cutting a release/version./new-projectStart every new project with its own GitHub repo, so all work is backed up from the first commit. Use whenever I start a new project, app, tool, script collection or experiment, ask to "create/set up/scaffold/init" one, or when you're about to write code in a folder that isn't a git repo or has no GitHub remote./plugin-auditSecurity check of the Claude Code plugins, hooks, MCP servers and skills installed on this machine. Use after installing or updating a plugin or marketplace, when I ask "are my plugins safe", "audit my plugins/MCPs/skills", or before trusting a new third-party plugin.