codex-task

Delegate coding tasks to the Codex CLI with verification.

36|1|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/jiahao-shao1/sjh-skills --skill codex-task
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex-task
Source: https://github.com/jiahao-shao1/sjh-skills/tree/main/skills/codex-task
Command: npx skills add https://github.com/jiahao-shao1/sjh-skills --skill codex-task

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Delegating practical coding work to an AI-powered code executor eliminates manual coding toil, speeds up iterations, and provides a verifiable artifact produced by an automated workflow.

Core Features & Use Cases

  • Forward a coding task to the Codex CLI in a single shot, with built-in preflight checks, defaults, and routing flags.
  • Ensure reproducible results by running in a controlled sandbox, with optional read-only or workspace-write permissions and ephemeral sessions.
  • Use for debugging, implementing features, or refactoring across a project, with subsequent verification and diff-based reviews.

Quick Start

Trigger the task with /codex-task followed by your instruction and Codex will execute the work, then Claude will verify.

Frequently Asked Questions about codex-task

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

FAQPage Schema
How do I automate coding tasks like debugging or refactoring using the Codex CLI?

Automate coding tasks by forwarding concrete instructions with task descriptions and constraints to the Codex CLI, which executes the work in a controlled sandbox and produces a verifiable code artifact. Specify the scope for debugging, implementing features, or refactoring across a project.

Do I need to install the Codex CLI before delegating code generation tasks?

Yes, you need the Codex CLI installed and available on your PATH to delegate code generation tasks. This prerequisite allows the workflow to apply routing flags, run ephemeral sessions, and execute preflight checks before generating the code artifact.

What's the best way to ensure reproducible results when running automated code refactoring?

Ensure reproducible results during automated code refactoring by running the Codex CLI in a controlled sandbox with optional read-only or workspace-write permissions and ephemeral sessions, providing a consistent environment for generating and verifying code changes.

Can I use ephemeral sessions to isolate feature implementation across different projects?

Yes, you can use ephemeral sessions to isolate feature implementation across different projects. The Codex CLI supports routing flags and workspace-write permissions within these sessions, ensuring isolated, reproducible execution for each specific coding task.

How does verification work after the Codex CLI completes a debugging task?

After the Codex CLI completes a debugging task, a subsequent verification step runs to validate the work, enabling diff-based reviews of the generated code artifact to ensure the original task constraints and debugging goals were met.

What are the limitations of using Codex CLI for code generation in an automated workflow?

Limitations of using Codex CLI for code generation include dependency on the CLI being on PATH and the scope being restricted to concrete tasks like debugging, implementing features, or refactoring, requiring explicit prompts describing the task and constraints for successful execution.