codex

Automates coding tasks in a git repository via the OpenAI Codex CLI.

Updated May 27, 2026
One-click install
npx skills add https://github.com/RuifengFu/agent-skills --skill codex-ruifengfu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex
Source: https://github.com/RuifengFu/agent-skills/tree/main/opencode/codex
Command: npx skills add https://github.com/RuifengFu/agent-skills --skill codex-ruifengfu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @openai/codex, and includes scripts (resource) components.

What problem does it solve?

This Skill simplifies coding tasks by leveraging the OpenAI Codex CLI, allowing users to delegate coding to an AI agent, thereby reducing manual coding effort and increasing productivity.

Core Features & Use Cases

  • Delegate Coding: Automate coding tasks such as building features, refactoring, PR reviews, and batch issue fixing.
  • Interactive CLI: Codex is an interactive terminal app that can be integrated into the development workflow.
  • Git Repository Required: Must be run inside a git repository for proper context and functionality.
  • Use Case: For instance, if you need to add a dark mode toggle to settings, you can use this Skill to generate the necessary code.

Quick Start

Use the codex skill to execute a coding task within your git repository.

Frequently Asked Questions about codex

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

FAQPage Schema
How do I automate coding tasks like feature development and refactoring in a git repository?

Automate coding tasks in a git repository by delegating feature development, refactoring, and PR reviews to the OpenAI Codex CLI, an autonomous AI coding agent that processes your codebase context. This reduces manual coding effort and increases productivity.

Do I need a git repository to use OpenAI Codex CLI for batch issue fixing?

Yes, you need a git repository to use OpenAI Codex CLI for batch issue fixing. The Codex CLI requires a git repository environment to gather proper context and execute autonomous coding actions accurately within your development workflow.

What prerequisites are required to run an autonomous coding agent with Codex CLI?

Running an autonomous coding agent with Codex CLI requires the @openai/codex package installed and OpenAI authentication configured. You must also execute the interactive terminal app inside a git repository for proper context.

Can I use AI coding to add a dark mode toggle to my existing application?

Yes, you can use AI coding to add a dark mode toggle to your existing application. By delegating the feature request to the OpenAI Codex CLI, the autonomous agent generates the necessary code changes within your git repository.

What are the limitations of using OpenAI Codex CLI for PR reviews?

The main limitation of using OpenAI Codex CLI for PR reviews is that it must be run inside a git repository to function. Without proper git context and OpenAI auth configuration, the interactive terminal app cannot execute autonomous coding actions.

How does delegating coding to an AI agent work within my development workflow?

Delegating coding to an AI agent works by integrating the interactive Codex CLI terminal app into your development workflow. The autonomous agent reads your git repository context and generates code for features, refactoring, or batch issue fixing automatically.