Agent skill · daymade
local-codex
Launch and manage OpenAI Codex CLI (local agent) as a non-interactive coding sub-agent. Use when the user wants to delegate coding tasks to Codex, run code reviews, generate or refactor code, or use Codex GPT-5.5 agent capabilities through local CLI. Triggers on phrases like 'codex', 'run codex', 'codex exec', 'code review with codex', 'delegate to codex', 'use codex for coding', or any request to invoke the local Codex CLI agent. Uses ChatGPT Pro OAuth (flat-rate, no API charges) via ~/.codex/auth.json. Never uses API keys.
What it needs
About 2k tokens when loaded.
What this skill does
Local Codex Delegate coding tasks to the local OpenAI Codex CLI agent using your ChatGPT Pro subscription (OAuth, no API charges). When to Use User wants to generate, refactor, or review code via Codex User wants to run codex exec for non-interactive tasks User wants to use Codex's GPT-5.5 agent capabilities User mentions "codex", "run codex", "delegate to codex" Authentication (OAuth / ChatGPT Pro) CRITICAL: This skill uses OAuth authentication from ~/.codex/auth.json (ChatGPT Pro flat-rate subscription). Do NOT set OPENAIAPIKEY or pass API keys — that would switch to pay-per-use billing. Codex desktop app and CLI share the same auth cache If auth fails, run codex login in terminal (browser OAuth flow) For auth issues, see references/oauth-guide.md Codex CLI Path The skill auto-detects Codex CLI in this order: 1. /Applications/Codex.app/Contents/Resources/codex (desktop app) 2. /usr/local/bin/codex (npm global) 3. /opt/homebrew/bin/codex (Homebrew) 4. ~/.npm-global/bin/codex 5. which codex fallback Usage Patterns 1. Basic exec (single task) Example: 2. Code review Example: 3. Check status Output Format The wrapper returns JSON with: success: bool exitcode: int elapsedseconds: float stdout: raw output stderr: error stream (truncated) parsedjsonl: parsed JSONL events (if --json) finalmessage: extracted assistant text (if available) Parameters Parameter Default Options ----------- --------- --------- model gpt-5.5 gpt-5.5, gpt-5.5-pro, o4-mini, etc. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills daymade/local-codex--1218df