codex

Run Codex CLI tasks for code analysis, refactoring, or automated editing.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/wedosoft/project-a --skill codex-wedosoft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex
Source: https://github.com/wedosoft/project-a/tree/main/.claude/skills/codex
Command: npx skills add https://github.com/wedosoft/project-a --skill codex-wedosoft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Orchestrates Codex-based plan validation and code verification to improve plan quality and code correctness.

Core Features & Use Cases

  • Plan Validation: Validate Claude Code plans with Codex feedback.
  • Code Execution: Use Codex feedback to guide edits with Claude Code.
  • Resume Validation: Reuse previous Codex validation when resuming sessions.

Quick Start

Echo plan content to Codex for validation: echo "[plan]" | codex exec -m gpt-5-codex --sandbox read-only.

Frequently Asked Questions about codex

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

FAQPage Schema
How do I validate a code plan with Codex analysis?

Plan validation with Codex analyzes your code structure and logic before execution. Echo your plan to Codex using `codex exec -m gpt-5-codex --sandbox read-only` to receive feedback on correctness and quality without modifying files.

Can I use Codex for automated code refactoring and edits?

Yes, Codex performs automated code analysis, refactoring, and editing across local projects. Run `codex exec` with your chosen model (gpt-5 or gpt-5-codex), reasoning effort level, and sandbox mode to execute transformations safely.

What sandbox modes does Codex support for code execution?

Codex offers three sandbox modes: read-only for analysis without changes, workspace-write for file modifications, and danger-full-access for unrestricted execution. Choose the appropriate level based on your validation or editing requirements.

How do I resume a previous Codex validation session?

Codex resume syntax lets you reuse prior validation results when continuing work. Use the resume flag to reference earlier execution state, avoiding redundant analysis and maintaining consistency across interrupted workflows.

Does Codex work with CI-like workflows and local project directories?

Codex integrates with both local projects and CI-like environments. Use command flags like -C/--cd to target specific directories and --skip-git-repo-check for non-git contexts, enabling flexible deployment across workflow types.

What reasoning effort levels can I configure for code analysis?

Codex supports low, medium, and high reasoning effort settings to control analysis depth. Select the level matching your validation scope and available compute, balancing code verification thoroughness against execution time.