codex

Delegate code analysis, refactoring, and automated changes to Codex CLI.

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/LisaPullman/foxai_skills --skill codex-lisapullman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex
Source: https://github.com/LisaPullman/foxai_skills/tree/main/skills/codex
Command: npx skills add https://github.com/LisaPullman/foxai_skills --skill codex-lisapullman

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Codex CLI Integration enables automated code analysis, refactoring, and safe automated changes by delegating tasks to Codex AI with file references and structured output.

Core Features & Use Cases

  • Execute Codex CLI commands and parse structured JSON responses.
  • Supports file references via @ syntax, multiple models, and sandbox controls.
  • Use cases include complex multi-file refactoring, code audits, and automated changes with safety constraints.

Quick Start

Invoke Codex by running codex-wrapper with a task description in a foreground Bash call using HEREDOC.

Frequently Asked Questions about codex

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

FAQPage Schema
How do I automate large-scale refactoring across multiple files in a repository?

Automated refactoring across multi-file projects is handled by delegating analysis and changes to Codex via the Codex CLI using file references and structured JSON output with sandboxed execution.

Do I need the Codex CLI installed to run automated code analysis?

Yes, Codex CLI must be installed and accessible to execute automated code analysis. The workflow operates in a foreground Bash environment using HEREDOC syntax with a 2-hour timeout.

What is the best way to perform a safe code audit on a multi-file project?

Safe code audits are performed by delegating tasks to Codex AI with explicit safety controls and sandboxed execution, utilizing file references via @ syntax to parse structured JSON responses.

Can I use multiple models for automated code changes with sandbox controls?

Yes, multiple models are supported for automated code changes. The execution enforces sandbox controls and structured JSON output parsing to ensure safety constraints during multi-file repository modifications.

Are there limitations when running multi-file refactoring with a 2-hour timeout?

Multi-file refactoring is constrained by a 2-hour timeout limit enforced during the foreground HEREDOC-based workflow. Tasks exceeding this duration require smaller scoped delegation to Codex AI.

How does Codex handle file references during automated code changes?

Codex handles file references using @ syntax within CLI commands. This delegates complex code tasks to Codex AI, returning structured JSON output for automated changes across repositories.