Agent skill

subcodex

Collaborate with Codex (GPT-5.2) via named sessions. Trigger: user asks to work with Codex, use Codex, ask Codex, involve Codex, etc. CRITICAL: Use subcodex CLI via Bash, NOT the Task subagent tool.

Stars 4
Forks 1

Install this agent skill to your Project

npx add-skill https://github.com/zippoxer/claude-skills/tree/main/skills/subcodex

SKILL.md

subcodex

Named Codex sessions that persist across conversation compacts.

Quick Reference

bash
# New session
./skills/subcodex/subcodex new <name> "prompt"

# Resume session
./skills/subcodex/subcodex resume <session-name> "prompt"

# List sessions (shows last 25, use --all for all)
./skills/subcodex/subcodex list

# Code review
./skills/subcodex/subcodex review --uncommitted <name>
./skills/subcodex/subcodex review --base main <name> "focus on security..."

Critical: Background Execution

ALWAYS use run_in_background: true — Codex takes 1-30+ minutes.

After starting a background command:

  1. Tell the user you're waiting for Codex
  2. Stop immediately — don't poll or check
  3. You'll be notified via <task-notification> when Codex is done

Codex Capabilities

Codex can read, write, and execute — just like you. Tell it to make changes directly, not to provide diffs or suggestions.

Options:

  • --reasoning low|medium|high|xhigh (default: high)
  • --read-only — read-only sandbox
  • --dangerous — full system access

Sessions

Session names get a random suffix: my-task becomes my-task-x7k2.

Use the full name (with suffix) when resuming:

bash
./skills/subcodex/subcodex resume my-task-x7k2 "continue with..."

subcodex list shows: status (running/stopped), tool_calls, cwd, duration.

Code Reviews

bash
# Review uncommitted changes
./skills/subcodex/subcodex review --uncommitted my-review

# Review against branch
./skills/subcodex/subcodex review --base main my-review

# Review specific commit
./skills/subcodex/subcodex review --commit HEAD my-review

# Add instructions
./skills/subcodex/subcodex review --uncommitted my-review "read these relevant docs first, focus on security, suggest simplifications, .."

Reviews use --reasoning xhigh and read-only mode by default.

Collaboration

Claude leads, Codex executes. Use Codex to review designs and implement complex tasks. Push back on over-engineering.

Typical flow:

  1. Claude proposes approach
  2. Codex reviews/critiques
  3. Claude decides
  4. Codex implements
  5. Claude reviews result

Push for simple code: less abstraction, fail-fast, no "just in case" code.

Expand your agent's capabilities with these related and highly-rated skills.

zippoxer/claude-skills

stealth-browser

Stealth browser automation with anti-bot bypass and persistent page state. Use when users need to navigate Cloudflare-protected sites, fill forms, take screenshots, extract web data, or automate browser workflows on sites that block regular automation. Trigger phrases include "go to [url]", "click on", "fill out the form", "take a screenshot", "scrape", "automate", "bypass cloudflare", or any browser interaction request on protected sites.

4 1
Explore
zippoxer/subtask

subtask

Parallel task orchestration CLI that dispatches work to AI workers (via Claude Code) in isolated git workspaces. Use when the user wants to draft, create, run, or manage tasks, delegate tasks to workers/subagents, or mentions subtask or Subtask.

322 31
Explore
mattpocock/skills

handoff

Compact the current conversation into a handoff document for another agent to pick up.

111,310 9,758
Explore
mattpocock/skills

setup-pre-commit

Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.

111,310 9,758
Explore
mattpocock/skills

obsidian-vault

Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.

111,310 9,758
Explore
mattpocock/skills

edit-article

Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.

111,310 9,758
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results