codex

Delegate mechanical coding tasks to the OpenAI Codex CLI.

24|3|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/Borda/.home --skill codex-borda
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex
Source: https://github.com/Borda/.home/tree/main/.claude/skills/codex
Command: npx skills add https://github.com/Borda/.home --skill codex-borda

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows you to delegate specific, mechanical coding tasks to the OpenAI Codex CLI, enabling faster execution for repetitive or formulaic coding operations while retaining Claude's oversight for scoping, validation, and judgment.

Core Features & Use Cases

  • Automated Code Generation: Add docstrings, extract constants, rename symbols, or apply mechanical refactors.
  • Pre-flight Checks: Ensures Git is initialized and the Codex binary is available before execution.
  • Scoped Execution: Targets specific files or directories for modifications.
  • Use Case: You need to add Google-style docstrings to all public functions in a Python module. Instead of writing them manually, you can use this Skill to have Codex generate them automatically, followed by validation.

Quick Start

Use the codex skill to add docstrings to all public functions in src/mypackage/transforms.py.

Frequently Asked Questions about codex

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

FAQPage Schema
How do I automate adding docstrings to public functions in a Python module?

To automate adding docstrings, you can delegate the mechanical coding task to the Codex CLI, targeting specific files or directories for modification. Claude retains oversight for scoping and validation while Codex generates them automatically.

What mechanical refactoring tasks can I automate with a code generation CLI?

Mechanical refactoring tasks you can automate include adding docstrings, renaming symbols, and extracting constants. The Codex CLI executes these repetitive operations across specified files while Claude provides judgment for scoping and validation.

Do I need Git initialized before running automated code refactoring commands?

Yes, you need Git initialized before running automated code refactoring commands. Pre-flight checks ensure Git is initialized and the Codex binary is available, guaranteeing graceful degradation and proper workflow execution before applying mechanical refactors.

Can I scope automated code generation to specific files or directories?

Yes, you can scope automated code generation to specific files or directories. The execution targets specified paths for modifications, allowing you to apply mechanical refactors like extracting constants or renaming symbols precisely where needed.

What is the best way to handle repetitive coding operations like renaming symbols across files?

The best way to handle repetitive coding operations like renaming symbols is delegating them to the Codex CLI for efficient execution. This approach enables faster processing of formulaic tasks while retaining Claude's oversight for scoping, validation, and judgment.

Why does automated code generation fail if the Codex binary is missing?

Automated code generation fails because pre-flight checks are performed to ensure the Codex binary is available before execution. This graceful degradation mechanism prevents workflow errors by verifying all dependencies are present before attempting mechanical refactors.