Skip to content
Back to skills

Codex Oracle

ASecurity

Query OpenAI Codex (GPT-5.2-codex) for second opinions, alternative implementations, or specialized knowledge. Use when you want to consult another AI model, need a different perspective on a coding problem, or want to verify an approach.

  • 21 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 29, 2026
ai-agentsrustbashdebuggingapisecurity

Works with

  • cli
  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 2 files and shows the line behind each finding

Scanned September 29, 2026

npx -y skills add LucaDeLeo/gdoc --skill codex-oracle --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Codex Oracle?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Codex Oracle
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lucadeleo-codex-oracle/badge)](https://www.skillsdirectory.com/skills/lucadeleo-codex-oracle)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: codex-oracle
description: Query OpenAI Codex (GPT-5.2-codex) for second opinions, alternative implementations, or specialized knowledge. Use when you want to consult another AI model, need a different perspective on a coding problem, or want to verify an approach.
argument-hint: "[prompt]"
---

# Codex Oracle

Invoke OpenAI's Codex CLI to get responses from GPT-5.2-codex.

## Prerequisites

- `codex` CLI installed (`npm i -g @openai/codex`)
- Authenticated via `codex auth login` (uses account auth, not API key)

## Usage

Run the script with a prompt. Codex runs in read-only mode and sees the same working directory.

```bash
# Determine script location (project-local or global install)
CODEX_SCRIPT=".claude/skills/codex-oracle/scripts/ask_codex.sh"
[[ ! -f "$CODEX_SCRIPT" ]] && CODEX_SCRIPT="$HOME/.claude/skills/codex-oracle/scripts/ask_codex.sh"

# Default: gpt-5.2-codex with medium reasoning
bash "$CODEX_SCRIPT" "What's the most efficient way to implement a bloom filter in Rust?"

# With model override
bash "$CODEX_SCRIPT" "Review error handling in this file" codex-mini-latest

# Full output (all thinking/exec traces)
bash "$CODEX_SCRIPT" "Debug this complex race condition" gpt-5.2-codex xhigh 600 full
```

## Arguments

| Arg | Default | Description |
|-----|---------|-------------|
| `$1` | (required) | The prompt |
| `$2` | `gpt-5.2-codex` | Model (`gpt-5.2-codex`, `codex-mini-latest`) |
| `$3` | `xhigh` | Reasoning effort (`low`, `medium`, `high`, `xhigh`) |
| `$4` | `600` | Timeout in seconds (10 min) |
| `$5` | `brief` | Output verbosity (`brief` = final answer only, `full` = all traces) |

## When to use

- Need an alternative implementation approach
- Want to verify Claude's solution with another model
- Specialized domain where Codex may have different training
- Debugging: "Why might this code fail under X conditions?"
- Security review or vulnerability analysis (Codex has strong cybersec capabilities)

## Prompting tips

- Be specific: include language, constraints, context
- For code review: reference file paths (Codex sees the repo)
- For debugging: include error messages verbatim
- Use `xhigh` effort for complex multi-step reasoning

## Limitations

- Read-only: Codex cannot modify files (by design)
- Timeout default 10 minutes for xhigh reasoning
- No streaming—waits for full response

Files in this skill

  • SKILL.md2.3 KB
  • scripts/ask_codex.sh724 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.