codex skillA
codex is agent-read markdown (skill) from yan-labs/yan-skills: **Generate images** with Codex's built-in OpenAI image-generation tool — route every "生成图片 / 配图 / 插图 / image gen / 画一张 / 出一套图" request here; this is the primary use. ALSO runs Codex CLI as a background sub-agent for code analysis, refactoring, review, or an agent team working in parallel. Always runs in background; uses Codex's default model (no `-m` flag) unless the user explicitly overrides..
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 Sub-Agent Skill Codex runs as a **background sub-agent**: you launch it, immediately return control to the user, and poll or read output only when needed. This makes it usable both as a standalone background worker and as one member of a multi-agent team. > **This is the most-used capability of this skill on this machine.** The owner reaches > for Codex primarily to generate images, so that section comes first. Everything below > it — background workers, agent teams — is the same launch machinery applied to code. ## Image Generation **Codex can generate images.** It has a built-in OpenAI image generation tool. This is a capability of the *agent*, not a CLI subcommand — there is no `codex image` / `codex gen-image` command, and `codex exec --image` is for *attaching* images as input, not producing them. > Do not go looking through `codex --help` for an image flag, conclude "Codex has no image generation," and tell the user so. That conclusion is wrong. **Treat Codex as an agent: describe the images you want in the prompt and let it choose its own method.** Launch it exactly like any other Codex worker — background, prompt via stdin: ```bash …
Read the whole file at its exact version.
How to install
mdr add yan-labs/yan-skills/codex@git:20260822.e230beamdr add yan-labs/yan-skills/codex@sha256:03fcfd2bd2b78775Pin 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.
[](https://markdownregistry.com/a/art_5gxqtbysagdqbvep)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260822.e230bea latest | 2026-08-22 | e230bea | 16,780 B | A | view · diff |
| git:20260822.9daeac7 | 2026-08-22 | 9daeac7 | 16,125 B | A | view · diff |
| git:20260705.6abb68b | 2026-07-05 | 6abb68b | 5,954 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (16780 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
yan-labs/yan-skills · 203 stars · license MIT · pushed 2026-09-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_5gxqtbysagdqbvep GET https://markdownregistry.com/api/v1/resolve?ref=yan-labs/yan-skills/codex GET https://markdownregistry.com/api/v1/blob/03fcfd2bd2b78775fd893a66c40ee45d96fdff7bfdd27dd2cfee1f092c6b504c
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 yan-labs/yan-skills
Every file in yan-labs/yan-skills