# 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.

- Skill: `majiayu000/codex-19` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/codex-19`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/codex-19/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/codex-19

---


# 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.

