codex-cli

Dispatches coding tasks to the codex CLI agent with protocol selection and five-stage verification.

6|1|Updated May 11, 2026
One-click install
npx skills add https://github.com/yakeworld/Synthos --skill codex-cli-yakeworld
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex-cli
Source: https://github.com/yakeworld/Synthos/tree/main/skills/private/autonomous-ai-agents/codex-cli
Command: npx skills add https://github.com/yakeworld/Synthos --skill codex-cli-yakeworld

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Delegating coding tasks to an autonomous CLI agent without input validation or output verification risks executing unverified code and silent failures. This Skill enforces a disciplined dispatch workflow for the codex CLI: select a backend protocol first, validate inputs before starting, and only deliver code changes after five verification stages pass. ## Core Features & Use Cases - Protocol-First Dispatch: Requires explicit selection among OpenAI Responses, Anthropic Messages, or OpenAI Chat Completions before invoking the codex CLI. - Input Gating: Refuses to start the agent when task descriptions, file paths, or backend configurations are incomplete or invalid, returning errors with context and recovery guidance. - Five-Stage Verification: Validates input, process, output, boundary, and error handling before delivering any code changes, with a Golden Set of test cases as the single source of truth. - Use Case: Ask the agent to write an F1 evaluation script for a dataset; the Skill selects the protocol, verifies the dataset path exists, runs the codex CLI, and delivers the patch only after all five checks pass. ## Quick Start Use the codex CLI to write an F1 evaluation script for the pima dataset, selecting the OpenAI Responses protocol and verifying all five checks before delivering the patch.

Frequently Asked Questions about codex-cli

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

FAQPage Schema
How do I dispatch a coding task to the codex CLI agent?

Provide a coding task description plus a selected backend protocol (OpenAI Responses, Anthropic Messages, or OpenAI Chat Completions). The Skill validates the task and backend configuration, starts the codex CLI, and delivers code changes only after five verification stages pass.

Which backend protocols does the codex CLI agent support?

Three protocols are supported: OpenAI Responses, Anthropic Messages, and OpenAI Chat Completions. One protocol must be explicitly selected before dispatch; if unspecified, OpenAI Responses is chosen by default and recorded in the agent status.

What happens if the input file path does not exist?

The Skill refuses to start the codex CLI and marks the agent status as input unverified. The returned error includes the execution context, such as the missing dataset path, plus a recovery hint pointing to a valid existing file.

How are generated code changes verified before delivery?

Code changes pass through five verification stages: input, process, output, boundary, and error handling. Delivery is blocked until all five are recorded as pass, and unverified code is never executed or exposed.

What is the Golden Set used for in this workflow?

The Golden Set is the single source of truth for testing functional changes, containing normal-path and error-path cases with expected outputs. Any improvement or modification must pass these golden tests with a weighted score of at least 0.80 before acceptance.