One-click install
npx skills add https://github.com/dayoumin/Skills --skill codex-dayoumin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex
Source: https://github.com/dayoumin/Skills/tree/main/skills/codex
Command: npx skills add https://github.com/dayoumin/Skills --skill codex-dayoumin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides direct access to OpenAI's Codex CLI, enabling advanced code analysis, refactoring, and automated editing. It streamlines complex coding tasks by leveraging a powerful AI model, reducing manual effort and potential errors.

Core Features & Use Cases

  • Code Analysis & Review: Perform read-only analysis to identify bugs, performance issues, or suggest best practices.
  • Automated Code Editing: Apply local edits, refactor code, or implement new features directly within the workspace.
  • Flexible Sandbox Modes: Choose from read-only, workspace-write, or danger-full-access to control AI permissions.
  • Use Case: Ask Codex to "Review this Python script for potential bugs and suggest performance optimizations" using read-only mode, then, if approved, "Apply the suggested fixes" using workspace-write mode.

Quick Start

Ask Claude to "Run Codex to analyze the 'main.py' file for security vulnerabilities using gpt-5-codex and high reasoning effort."

Frequently Asked Questions about codex

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use Codex CLI to analyze code for bugs and security issues?

Code analysis with Codex CLI involves running `codex exec` with your file and specifying `read-only` mode to prevent unwanted changes. You select the model (e.g., `gpt-5-codex`), set reasoning effort (`high` for thorough review), and Codex scans for bugs, performance problems, or security vulnerabilities without modifying your code.

Can I apply code refactoring automatically across my project files?

Yes. After analyzing code in read-only mode, use `codex exec` with `workspace-write` mode to apply refactoring suggestions directly. Codex implements the changes locally while preserving your project structure, making it practical for large-scale refactoring without manual editing.

What's the difference between read-only, workspace-write, and danger-full-access sandbox modes?

Sandbox modes control Codex permissions: `read-only` prevents any modifications and is safe for analysis; `workspace-write` allows edits to your files and is suitable for refactoring; `danger-full-access` grants unrestricted permissions for complex automated tasks but requires careful oversight.

How do I resume an interrupted Codex session?

Use the `codex resume` command to continue from where a previous `codex exec` session stopped. This preserves context and reasoning from the interrupted task, avoiding redundant analysis and reducing compute overhead.

What models and reasoning levels does Codex support?

Codex supports multiple models including `gpt-5-codex` and reasoning effort levels like `high` for intensive analysis. The metadata specifies model selection and reasoning effort as functional requirements you configure per task to balance thoroughness and execution time.

Do I need local project setup before running Codex analysis?

Yes. Codex operates on local projects, so you need your code files accessible in your workspace. The Skill applies read-only or write-enabled sandbox modes based on your chosen permissions, but the project structure and files must already be present.