Home / cowork-os / cowork-os · resources/skills/codex-cli/SKILL.md · GitHub

codex-cli skillA

codex-cli is agent-read markdown (skill) from cowork-os/cowork-os: Run OpenAI Codex CLI as a background agent — detect, install, configure, and execute tasks via codex exec..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# codex-cli

## Purpose

Detect, install, configure, and run the OpenAI Codex CLI (`codex`) as an autonomous background agent for code editing, PR review, issue fixing, and one-shot automation tasks.

## Routing

- Use when: User wants to run Codex CLI, asks for "codex agent", "spin up codex", "codex review", "codex fix", or wants to execute a coding task using the OpenAI Codex CLI specifically.
- Do not use when: The request is for planning, discussion, or non-executable output.
- Outputs: Task result from Codex CLI agent, or setup instructions if CLI is not installed/configured.
- Success criteria: Codex CLI executes the requested task and returns output, or user is guided to install/configure it.

## Trigger Examples

### Positive

- "Spin up a Codex agent to review PR #55"
- "Use Codex CLI to fix this bug"
- "Run codex on this issue"
- "Launch a codex agent"
- "codex exec: add error handling to the API"

### Negative

- "Review this code" (generic — doesn't specify Codex CLI)
- "Explain how Codex works" (no execution needed)
- "Write a plan for this feature" (planning only)

## Runtime Prompt

- Runtime prompt is defined directly in `../codex-cli.json`.

Read the whole file at its exact version.

How to install

Latest version
mdr add cowork-os/cowork-os/codex-cli@v1.0.0
Exact content
mdr add cowork-os/cowork-os/codex-cli@sha256:e014cbe335975b41

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_dav3v56uu7kcgyzr.svg)](https://markdownregistry.com/a/art_dav3v56uu7kcgyzr)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v1.0.0 latest2026-08-20 d02b25c 1,410 BA view · diff
git:20260317.39961f02026-03-17 39961f0 1,327 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1410 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

cowork-os/cowork-os · 459 stars · license MIT · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_dav3v56uu7kcgyzr
GET https://markdownregistry.com/api/v1/resolve?ref=cowork-os/cowork-os/codex-cli
GET https://markdownregistry.com/api/v1/blob/e014cbe335975b41e7d56315bb44e5a16cc0031c82296fbba4246159d690144a

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from cowork-os/cowork-os

attack-path-analysis skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/attack-path-analysis/SKILL.md · Use when Codex is already in the attack-path-analysis phase of a security scan or the user explicitly asks to trace a…
git:20260919.4f2a470 · audit A · 459 stars
deep-security-scan skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/deep-security-scan/SKILL.md · Use when the user asks for a deep, exhaustive, multi-pass, or variance-reducing repository-wide Codex Security scan…
git:20260606.a4decec · audit A · 459 stars
finding-discovery skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/finding-discovery/SKILL.md · Use when Codex is already in the finding-discovery phase of a security scan or the user explicitly asks to discover…
git:20260919.ad0495b · audit A · 459 stars
fix-finding skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/fix-finding/SKILL.md · Use when the user explicitly asks to fix and verify a validated or plausible security finding. Do not use as the…
git:20260606.a4decec · audit A · 459 stars
security-diff-scan skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/security-diff-scan/SKILL.md · Use when the user asks for a security review of a pull request, commit, branch diff, working-tree patch, or other…
git:20260919.c03e78b · audit A · 459 stars
security-scan skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/security-scan/SKILL.md · Use when the user asks for a repository-wide or scoped-path security scan.
git:20260919.7b075ca · audit A · 459 stars
threat-model skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/threat-model/SKILL.md · Use when Codex is already in the threat-modeling phase of a security scan, the user explicitly invokes $threat-model…
git:20260606.a4decec · audit A · 459 stars
validation skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/validation/SKILL.md · Use when Codex is already in the validation phase of a security scan or the user explicitly asks to determine whether…
git:20260606.a4decec · audit A · 459 stars
1password skill
cowork-os/cowork-os · resources/skills/1password/SKILL.md · Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or…
v1.0.0 · audit A · 459 stars
add-documentation skill
cowork-os/cowork-os · resources/skills/add-documentation/SKILL.md · Generate JSDoc/docstrings for functions
v1.0.0 · audit A · 459 stars
agentic-image-loop skill
cowork-os/cowork-os · resources/skills/agentic-image-loop/SKILL.md · Generate -> annotate -> refine -> repeat using generate_image + Visual Annotator (Live Canvas).
v1.0.0 · audit A · 459 stars
analyze-csv skill
cowork-os/cowork-os · resources/skills/analyze-csv/SKILL.md · Load a CSV and provide insights
v1.0.0 · audit A · 459 stars

Every file in cowork-os/cowork-os

Other files named codex-cli

codex-cli skill
scarletkc/agents · skills/codex-cli/SKILL.md · When handing work to the Codex CLI earns its cost, and how to size the run: second-model review, bounded implementation…
git:20260824.d5a3123 · audit A · 222 stars
codex-cli skill
andersonlimahw/lemon-ai-hub · plugins/cli-wrapper/skills/codex-cli/SKILL.md · Wrapped access to Codex CLI (OpenAI). Captures codex --help, caches subcommands, validates flags, post-processes…
git:20260705.85b9dcd · audit A · 14 stars

Browse by kind, by grade A, or by owner.