codex-first

Delegate code implementation tasks to Codex CLI for automated execution.

9|3|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/Kahtaf/OpenCandle --skill codex-first-kahtaf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex-first
Source: https://github.com/Kahtaf/OpenCandle/tree/main/.agents/skills/codex-first
Command: npx skills add https://github.com/Kahtaf/OpenCandle --skill codex-first-kahtaf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Codex-first simplifies the workflow by delegating code implementation tasks to Codex CLI, allowing Claude to focus on higher-level tasks such as design, review, and verification.

Core Features & Use Cases

  • Code Implementation: Delegate tasks like refactoring, migrations, bug fixes, and CI/CD pipeline management to Codex.
  • Task Segmentation: Optimize work by designating certain tasks (like writing specifications and making minor edits) to Claude while larger projects go to Codex.
  • Enhanced Collaboration: Improve the collaborative environment by leveraging Codex for hands-on implementation and Claude for strategic decision-making and oversight.

Quick Start

Run a task for implementation on the 'my-project' repository with the Codex CLI:

npx opencandle exec --yolo -C my-project \
  -c model_reasoning_effort="high" \
  -o /tmp/codex-last.md - <"my-task-description" 2>/dev/null

Frequently Asked Questions about codex-first

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

FAQPage Schema
How do I automate code implementation tasks using Codex CLI?

You can automate code implementation by delegating tasks to Codex CLI, which handles refactoring, migrations, and bug fixes while Claude focuses on higher-level design and review.

What is task segmentation in software development and when do I need it?

Task segmentation splits work into design, implementation, and review phases. You need it for larger projects where delegating hands-on implementation to Codex CLI optimizes workflow efficiency.

Do I need Codex CLI installed to delegate code implementation work?

Yes, delegating code implementation work requires a working installation of Codex CLI and associated permissions for automated operations within your target repository.

Can I use Claude for design and review while Codex handles implementation?

Yes, you can designate tasks like writing specifications and making minor edits to Claude, while larger implementation projects are routed to Codex CLI for automated execution.

What's the best way to run an automated refactoring task on my repository?

Run a task for implementation on your repository by executing the Codex CLI command with specified reasoning effort, outputting the results to a designated markdown file.

Why does delegating CI/CD pipeline management to Codex improve development workflow?

Delegating CI/CD pipeline management to Codex improves workflow by automating hands-on execution, allowing Claude to focus on strategic decision-making and oversight for enhanced collaboration.