codex

Generate and refactor code using Codex CLI with OpenAI API key.

4|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/ragnarokhaa/hermes --skill codex-ragnarokhaa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex
Source: https://github.com/ragnarokhaa/hermes/tree/main/hermes-cerul-tech-news-package/hermes-cerul-tech-news-package/hermes-agent/skills/autonomous-ai-agents/codex
Command: npx skills add https://github.com/ragnarokhaa/hermes --skill codex-ragnarokhaa

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Codex simplifies coding tasks, from refactoring and feature building to PR reviews, streamlining development workflows.

Core Features & Use Cases

  • Coding Assistance: Use Codex for interactive coding tasks and one-shot code generation.
  • PR Review and Issue Fixing: Automate PR code reviews and issue resolution.
  • Use Case: Speed up the process of adding a new feature to a web application by using Codex to generate and review code snippets.

Quick Start

Execute a coding task through Codex using the command: codex exec 'Implement user authentication using OAuth.'

Frequently Asked Questions about codex

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

FAQPage Schema
How do I automate PR review and issue resolution in a git repository?

Automating PR review and issue resolution requires a configured Codex CLI and an OpenAI API key within your git repository. You can delegate these coding tasks directly to the assistant to streamline development workflows.

How do I generate and refactor code for new web application features?

To generate and refactor code for new features, execute a one-shot command like 'codex exec' with your specific prompt. The coding assistant generates and reviews the requested code snippets to speed up development.

Do I need an OpenAI API key to use Codex for code generation?

Yes, an OpenAI API key is required to use Codex for code generation. You must also have the Codex CLI configured and operate within a local git repository to execute interactive coding tasks.

What is the best way to delegate interactive coding tasks and batch issue fixing?

The best way to delegate interactive coding tasks and batch issue fixing is using the Codex CLI. It targets development scenarios like feature building by processing direct commands to generate and review code.

Can I use Codex CLI for one-shot code generation in existing projects?

Yes, you can use Codex CLI for one-shot code generation in existing projects. Running the 'codex exec' command with a specific prompt allows the assistant to implement features like user authentication directly.