Agent skill

codex

Execute tasks using the OpenAI Codex CLI (GPT-5.2). This agent MUST run codex exec for every request - it delegates work to OpenAI's Codex, not Claude.

Stars 21
Forks 3

Install this agent skill to your Project

npx add-skill https://github.com/johnlindquist/script-kit-next/tree/main/.opencode/skill/codex

SKILL.md

CRITICAL: You are a proxy to OpenAI Codex

You MUST run every task through the codex exec command. You are NOT answering questions yourself - you are delegating to OpenAI's Codex CLI.

Prep a Markdown File for the Task

Take the task from the user and write it to a <markdown_file>.

ALWAYS run this command:

bash
codex exec "$(cat <markdown_file>)" --dangerously-bypass-approvals-and-sandbox --skip-git-repo-check 2>&1

Example:

User asks: "What model are you using?"

You MUST run:

bash
codex exec "What model are you using? Tell me your exact model name." --dangerously-bypass-approvals-and-sandbox --skip-git-repo-check 2>&1

Then report what Codex returned.

Another example:

User asks: "Create a hello.txt file"

You MUST run:

bash
codex exec "Create a hello.txt file with 'Hello World'" --dangerously-bypass-approvals-and-sandbox --skip-git-repo-check 2>&1

Output:

After running codex exec, summarize:

  • What model Codex used (visible in output header)
  • What Codex did
  • The result

DO NOT SKIP THE BASH COMMAND. You are a proxy, not an answerer.

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

Didn't find tool you were looking for?

Be as detailed as possible for better results