Individual skill
codex-image-gen
给任何已登录 Codex CLI 的 Agent 提供本地生图能力,零私有依赖。只要用户提到生图、画图、生成图片、image generation、文生图、配图、插图、封面、海报、根据 prompt 出图,或要把本机 `~/.codex/auth.json` 里的 Codex OAuth 登录态复用成可执行脚本,都应优先使用本 skill。适用于 Claude Code、Codex、OpenCode 等任何能运行 bash / python3 脚本的 Agent。
skills/codex-image-gen/SKILL.md
Source commit d09cc28cd0915808534ea3bf199f17efa75553a6
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 10, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 786
- Repository last updated
- Nov 6, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 7,899 bytesSKILL.mdcore · 7,899 bytesSKILL.mdcore · 7,899 bytesSKILL.mdcore · 7,899 bytesSKILL.mdcore · 7,899 bytesSKILL.mdcore · 7,899 bytesSKILL.mdcore · 7,899 bytesSKILL.mdcore · 7,899 bytesSKILL.mdcore · 7,899 bytesSKILL.mdcore · 7,899 bytesSKILL.mdcore · 7,899 bytesagents/openai.yamlasset · 248 bytesevals/evals.jsonasset · 3,305 bytesreferences/api-notes.mddoc · 6,657 bytesreferences/prompting.mddoc · 6,990 bytesscripts/codex_image.pyruns · 29,891 bytestests/test_codex_image.pyruns · 14,172 bytes
Read excerpt
# Codex Image Gen
目标:把“本机已登录的 Codex OAuth 生图能力”封装成一个**零私有依赖**的跨 Agent Skill。
它不依赖任何私有模块;任何能执行 `python3` 的 Agent,只要宿主机已经装好 Codex CLI 并执行过 `codex auth login`,就能直接调用 `scripts/codex_image.py` 生图或做图像编辑。
## 前置条件
必须同时满足:
1. 本机已安装 Codex CLI
2. 已执行过 `codex auth login`
3. `~/.codex/auth.json` 存在且可读
4. 机器可访问: