Codex

Delegate bounded coding tasks to Codex for isolated worktree patches.

577|62|Updated May 15, 2026
One-click install
npx skills add https://github.com/agentic-in/elephant-agent --skill codex-agentic-in
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Codex
Source: https://github.com/agentic-in/elephant-agent/tree/main/packages/skills/builtin_packages/autonomous-ai-agents/codex
Command: npx skills add https://github.com/agentic-in/elephant-agent --skill codex-agentic-in

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Decouples coding work from human operators by providing a bounded, review-driven delegation channel to Codex for tasks that fit a clearly defined coding lane, enabling safer isolation and faster iteration.

Core Features & Use Cases

  • Deterministic delegation: decide whether to run locally or delegate to Codex, and define the task packet with scope, affected files, tests, and the target branch or worktree.
  • Safe isolation: use worktrees or isolated branches to contain changes and prevent disruption to the main checkout.
  • Review-driven output: Codex produces a candidate patch that must be reviewed and validated against the repository's harness and acceptance criteria.
  • Guardrails and practical examples: enforce boundaries, avoid vague exploratory work, and provide clear turn-around for common coding tasks like small feature implementations or refactors.

Quick Start

Provide Codex with a clearly bounded coding task, target files, tests, and an isolated branch plan, then review the resulting patch.

Frequently Asked Questions about Codex

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

FAQPage Schema
How do I delegate coding tasks to an agent safely without affecting my main branch?

You can delegate coding tasks safely by defining a task packet with scope, target files, and tests, then isolating the work in a dedicated worktree or branch for formal review. This prevents disruption to your main checkout.

What do I need to define before delegating a coding task for isolated work?

Before delegating a coding task, you need to define a task packet containing the task scope, affected target files, required tests, and the target isolated branch or worktree for containment. This ensures bounded and deterministic delegation.

Can I use this for exploratory coding or vague refactoring tasks?

No, this approach is not suited for vague exploratory work. It requires tasks with a clearly defined coding lane and bounded scope so that Codex can produce a candidate patch that passes validation against acceptance criteria.

How does a delegated coding task get validated before merging?

Delegated coding tasks are validated through a review-driven process where the candidate patch produced by Codex is checked against the repository's validation harness and acceptance criteria. This ensures the output meets all requirements.

What's the best way to isolate automated code changes from my current repository checkout?

The best way to isolate automated code changes is using isolated branches or worktrees to contain the modifications. This decouples the automated coding work from your human operations, ensuring faster iteration without disruption.

Does Codex handle small feature implementations and code refactors?

Yes, Codex handles common coding tasks like small feature implementations and refactors by enforcing boundaries and providing clear turn-around. You provide the bounded task, and Codex generates a candidate patch for review.