skill-codex  by skills-directory

Claude Code integration for automated code tasks

Created 3 months ago
499 stars

Top 62.5% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

This project provides a Claude Code skill that integrates the Codex CLI, enabling automated code analysis, refactoring, and editing directly within Claude's environment. It benefits developers using Claude Code by streamlining complex code manipulation tasks, allowing for AI-driven improvements and workflow automation without leaving the Claude interface.

How It Works

The skill facilitates interaction between Claude Code and the Codex CLI by constructing and executing commands like codex exec and session resumes. It abstracts away the CLI's complexity, allowing users to specify parameters such as the AI model (e.g., gpt-5-codex), reasoning effort levels (low, medium, high), and sandbox modes (defaulting to read-only for safety during analysis). By default, it suppresses standard error output (2>/dev/null) to prevent Claude's context window from being unnecessarily consumed by debugging information, though this can be overridden upon request.

Quick Start & Requirements

  • Installation: Clone the repository and place the skill directory into ~/.claude/skills/codex.
    git clone --depth 1 git@github.com:skills-directory/skill-codex.git /tmp/skills-temp && \
    mkdir -p ~/.claude/skills && \
    cp -r /tmp/skills-temp/ ~/.claude/skills/codex && \
    rm -rf /tmp/skills-temp
    
  • Prerequisites:
    • Codex CLI installed and available on the system's PATH. Verify with codex --version.
    • Codex CLI configured with valid credentials and settings.
  • Documentation: Detailed instructions and workflow guidance are available in SKILL.md.

Highlighted Details

  • Enables automated code analysis, refactoring, and editing workflows via Codex CLI integration.
  • Supports configurable AI models, reasoning effort levels, and sandbox security modes.
  • Designed to minimize Claude Code's context window usage by suppressing non-essential CLI output by default.
  • Facilitates complex code manipulation tasks directly within the Claude Code environment.

Maintenance & Community

No specific details regarding maintainers, community channels (like Discord/Slack), or project roadmap are provided in the README.

Licensing & Compatibility

The README does not specify the project's license or provide compatibility notes for commercial use.

Limitations & Caveats

Successful operation is contingent upon the correct installation and configuration of the Codex CLI and its credentials. The default suppression of stderr output may obscure potential debugging information or Codex reasoning processes unless explicitly enabled by the user.

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
2
Issues (30d)
0
Star History
111 stars in the last 30 days

Explore Similar Projects

Starred by Patrick von Platen Patrick von Platen(Author of Hugging Face Diffusers; Research Engineer at Mistral), Simon Willison Simon Willison(Coauthor of Django), and
1 more.

mistral-vibe by mistralai

2.9%
3k
Conversational CLI coding agent for project interaction
Created 1 month ago
Updated 2 weeks ago
Feedback? Help us improve.