Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ChenShuo2004/cs-skills --skill cs-codex-imagegit clone --depth 1 https://github.com/ChenShuo2004/cs-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/chenshuo2004/cs-skills/cs-codex-image)<a href="https://agentmods.dev/skills/chenshuo2004/cs-skills/cs-codex-image"><img src="https://agentmods.dev/badge/skills/chenshuo2004/cs-skills/cs-codex-image/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/chenshuo2004/cs-skills/cs-codex-image"><img src="https://agentmods.dev/badge/skills/chenshuo2004/cs-skills/cs-codex-image.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00085 | $0.00840 |
| Opus 5.5 | $0.00034 | $0.00336 |
| Sonnet 5.5 | $0.00017 | $0.00168 |
| Haiku 4.5 | $0.00009 | $0.00084 |
Grade A, and why
cs-codex-image scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
CS Codex Image
交付真实图片与保存路径,或可验证的 Claude 生图连接。使用已有 ChatGPT/Codex 登录;不切换到图片 API。复制 Skill 说明不会自动赋予其他宿主内置工具,Claude 需要下面的 MCP 桥接。
按当前宿主执行
- Codex 已提供内置图片工具:直接调用内置工具。新图描述主体、构图、用途、画风和文字;编辑图先查看目标,明确参考图角色与保持项。生成后查看图片,并将项目资产保存进项目目录。
- Claude 或其他本地 Agent:已连接
codex-image时直接用 MCP;需要接入或工具缺失时,读取 安装与恢复,运行随 Skill 提供的安装器。安装 Skill 本身不自动改 MCP 配置、不安装依赖或消耗出图额度。 - 只有 Skill,没有内置工具或可用 Codex:完成只读预检并说明实际缺口。不要用 SVG、程序绘图或其他服务冒充内置生成,不索取 API Key。
品牌任务保留 cs-kai-cover 或 cs-xiaohuang-skill 的角色和排版规范;本 Skill 只承担内置出图与连接。生成流程不附加上传、发布或视频渲染。
MCP 出图流程
- 调用
generate_image:prompt、aspect_ratio(square / portrait / landscape)、transparent_background、可选的reference_images与output_dir。每次一张;编辑时目标图放第一张,用绝对路径并在 prompt 指明保持项。 - 保存
job_id,用get_image_job(job_id, wait_seconds=20)等待到completed或failed。约一至三分钟是操作参考,实际以状态为准;任务会在八分钟后超时停止。 completed后调用read_generated_image查看真实像素,检查主体、文字、保持项及透明背景要求;报告真实尺寸与保存路径。原文件与已存在输出不覆盖。- 作业失败先查看返回错误与已有任务。不要自动重提交相同请求;修正输入后再生成,或用户明确要求重试时继续。MCP 重连可查询原 job_id,不能因此重复出图。
queued、running、工具连接成功、配置已写入都不是出图成功。Skill 文件安装一致、MCP 可连接、Codex 实际生成和 Claude 模型真实调用分别报告。登录过期时由用户完成官方登录;已有任务未结束时不强制重启 Claude。
可复制调用
$cs-codex-image 使用 Codex 内置生图,画一张奶油色背景的小黄鸟插画,正方形,无文字。完成后检查图片并告诉我保存路径。
$cs-codex-image 把 Codex 内置生图接入 Claude,保留已有 MCP 配置;检查连接,并用一张图验证实际生成。使用当前登录,不使用 API Key。
交付:图片 / 已配置连接、实际后端、验证状态、保存路径和必要的恢复步骤。更详细的字段、检查命令与客户端边界见 安装与恢复。
What ships with it
9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 18d ago First seen · 38 lines · 85 tokens per session scan A 0febb4b9ec5c
cs-codex-image is a skill published in the GitHub repository ChenShuo2004/cs-skills (204 stars, last pushed 18d ago), licensed MIT. It adds 85 tokens to every session and 840 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-07.
Other skills, from other repositories
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
component-fixtures
Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.