Index of every page on this site: llms.txt
All skills
Run it yourself

Delegate coding tasks to Codex CLI for execution, or discuss implementation approaches with it. CodeX is a cost-effective, strong coder — great for batch refactoring, code generation, multi-file changes, test writing, and multi-turn implementation tasks. Use when the plan is clear and needs hands-on coding. Claude handles architecture, strategy, copywriting, and ambiguous problems better.

Use this Skill: https://skilld.dev/gh/zenstudiolab/skills/codex

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈712 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Codex CLI — Peer LLM Coding Agent

Part of the Peer LLMs skill for inter-LLM collaboration workflows.

Overview

CodeX is a cost-effective, strong coder — great for batch refactoring, code generation, multi-file changes, test writing, and multi-turn implementation tasks.

Workflow

%%{init: {'theme': 'base', 'themeVariables': { 'clusterBkg': 'transparent', 'background': 'transparent', 'primaryColor': '#FFF7E6', 'primaryTextColor': '#5A3A00', 'primaryBorderColor': '#F59E0B', 'lineColor': '#6366F1', 'secondaryColor': '#E8F5FF', 'tertiaryColor': '#F3E8FF'}}}%%
flowchart TB
  classDef user fill:#E8F5FF,stroke:#1B6EF3,stroke-width:2px,color:#0B2A5B,stroke-dasharray: 0;
  classDef orchestrator fill:#FFF7E6,stroke:#F59E0B,stroke-width:2px,color:#5A3A00,stroke-dasharray: 0;
  classDef agent fill:#F3E8FF,stroke:#7C3AED,stroke-width:2px,color:#2E1065,stroke-dasharray: 0;
  classDef decision fill:#FFFFFF,stroke:#6366F1,stroke-width:2px,color:#111827,stroke-dasharray: 5 5;

  subgraph P1["Phase 1: Plan Review"]
    U1["User: Submit Plan"]:::user
    O1["Orchestrator: Delegate to Agent for Critical Review"]:::orchestrator
    X1["Agent: Output Review (10+ issues)"]:::agent
    O2["Orchestrator: Evaluate & Refine Plan"]:::orchestrator
    D1{"Status?"}:::decision
    U1 --> O1 --> X1 --> O2 --> D1
    D1 -- "NEEDS_REVISION" --> O1
  end

  subgraph P2["Phase 2: Plan Execute"]
    O3["Orchestrator: Dispatch batch to Agent"]:::orchestrator
    X2["Agent: Implement code changes"]:::agent
    O4["Orchestrator: Code Review"]:::orchestrator
    D2{"Verdict?"}:::decision
    Done([Complete]):::decision
    O3 --> X2 --> O4 --> D2
    D2 -- "NEEDS_FIX" --> X2
    D2 -- "APPROVED" --> Done
  end

  D1 -- "APPROVED" --> O3

Core Concepts

Concept Description
Adversarial Coding agent acts as a "nitpicker" — its job is to find flaws
Iterative Multiple rounds of back-and-forth until quality gates pass
Role Separation User defines what, orchestrator (Claude/any LLM) coordinates how, coding agent executes
Feedback Loops Review → Fix → Re-review cycles
Provider Override Use opencode prefix to switch from default Codex to OpenCode

Three Loops

  • Loop A (Plan Refinement): Review finds issues → Refine plan → Re-review → APPROVED
  • Loop B (Code Fixing): Code review finds bugs → Agent fixes → Re-review → APPROVED
  • Loop C (Batch Processing): Complete current batch → Next batch → All done

See Also

  • OpenCode CLI — Alternative coding agent with free models support
  • Plan Review — Reviews plans via adversarial iteration
  • Plan Execute — Executes plans with orchestrator review

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning7mo3 checks · Risk MEDIUM
  • Gen Agent Trust Hub7mo

    The skill instructs the AI agent to avoid inspecting the underlying wrapper script, which is a concealment tactic. It also delegates tasks to an external autonomous tool with full workspace access, creating a surface for unauthorized changes and indirect prompt injection.

  • Socket7mo

    No alerts

  • Snyk7mo

    Risk: LOW · No issues

Signed by skilld at 032d25b. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 6 months ago

README badge

README badge for zenstudiolab/skills/codex