codex-image (Codex discovery stub)
This file is generated by sync_codex_stubs.py so Codex discovers the skill.
The authoritative skill lives in this repository at .claude/skills/codex-image/ — a single
source of truth shared by Claude Code and Codex. Do not hand-edit this stub;
edit the canonical tree, then re-run:
python3 .claude/skills/ppt-master/scripts/sync_codex_stubs.py
On invocation:
Read
.claude/skills/codex-image/SKILL.md(repo-root relative) in full and execute it exactly as a runtime procedure.Resolve paths: treat
${SKILL_DIR}as.claude/skills/codex-image. Bare relative paths mentioned inside the skill (references/...,workflows/...,scripts/...,templates/...) resolve against that directory — never against.codex/skills/.Run all commands from the repository root. On Windows installs without
python3.exe, rerun the same command withpython.Codex adaptation: the canonical skill was written for Claude Code, which shells out through
codex execto reachimage_gen. Inside Codex theimage_gentool is built in — call it directly with the same prompt/size/quality parameters instead of spawning a nestedcodex exec, and keep the skill's output-path conventions.