cs-codex-image SKILL.md skillA

cs-codex-image from chenshuo2004/cs-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add chenshuo2004/cs-skills/cs-codex-image@git:20261006.438ac88

Pins git:20261006.438ac88 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
chenshuo2004/cs-skills
Path
cs-codex-image/SKILL.md
Versions recorded
1
Latest version
git:20261006.438ac88, committed Oct 6, 2026
Size
3,308 bytes
Repository stars
204
License
MIT

通过 Codex 内置生图生成或编辑图片,并将该能力接入 Claude Code、Claude 桌面版或其他本地 MCP Agent。用于 cs-codex-image、内置生图、不用 API Key 出图、Claude 调用 Codex 生图。固定 KAI 封面和小黄角色仍由对应品牌 Skill 决定视觉规范。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# CS Codex Image

交付真实图片与保存路径,或可验证的 Claude 生图连接。使用已有 ChatGPT/Codex 登录;不切换到图片 API。复制 Skill 说明不会自动赋予其他宿主内置工具,Claude 需要下面的 MCP 桥接。

## 按当前宿主执行

- **Codex 已提供内置图片工具**:直接调用内置工具。新图描述主体、构图、用途、画风和文字;编辑图先查看目标,明确参考图角色与保持项。生成后查看图片,并将项目资产保存进项目目录。
- **Claude 或其他本地 Agent**:已连接 `codex-image` 时直接用 MCP;需要接入或工具缺失时,读取 [安装与恢复](references/setup.md),运行随 Skill 提供的安装器。安装 Skill 本身不自动改 MCP 配置、不安装依赖或消耗出图额度。
- **只有 Skill,没有内置工具或可用 Codex**:完成只读预检并说明实际缺口。不要用 SVG、程序绘图或其他服务冒充内置生成,不索取 API Key。

品牌任务保留 `cs-kai-cover` 或 `cs-xiaohuang-skill` 的角色和排版规范;本 Skill 只承担内置出图与连接。生成流程不附加上传、发布或视频渲染。

## MCP 出图流程

1. 调用 `generate_image`:`prompt`、`aspect_ratio`(square / portrait / landscape)、`transparent_background`、可选的 `reference_images` 与 `output_dir`。每次一张;编辑时目标图放第一张,用绝对路径并在 prompt 指明保持项。
2. 保存 `job_id`,用 `get_image_job(job_id, wait_seconds=20)` 等待到 `completed` 或 `failed`。约一至三分钟是操作参考,实际以状态为准;任务会在八分钟后超时停止。
3. `completed` 后调用 `read_generated_image` 查看真实像素,检查主体、文字、保持项及透明背景要求;报告真实尺寸与保存路径。原文件与已存在输出不覆盖。
4. 作业失败先查看返回错误与已有任务。不要自动重提交相同请求;修正输入后再生成,或用户明确要求重试时继续。MCP 重连可查询原 job_id,不能因此重复出图。

`queued`、`running`、工具连接成功、配置已写入都不是出图成功。Skill 文件安装一致、MCP 可连接、Codex 实际生成和 Claude 模型真实调用分别报告。登录过期时由用户完成官方登录;已有任务未结束时不强制重启 Claude。

## 可复制调用

```text
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add chenshuo2004/cs-skills/cs-codex-image@sha256:0febb4b9ec5c3e14

The line at the top of this page pins the label git:20261006.438ac88, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

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

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 6, 2026.

versioncommittedcommitsizeaudit
git:20261006.438ac88 latest2026-10-06 438ac88 3,308 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the 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 (3308 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

chenshuo2004/cs-skills · 204 stars · license MIT · pushed 2026-10-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_vlgcsk56g7es345u
GET https://markdownregistry.com/api/v1/resolve?ref=chenshuo2004/cs-skills/cs-codex-image
GET https://markdownregistry.com/api/v1/blob/0febb4b9ec5c3e14797ab5fe20b9faacdacd56cad0eb66ac1cbdf49cdc1faca3

Your AI assistant 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.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from chenshuo2004/cs-skills

AGENTS.md AGENTS.md file
chenshuo2004/cs-skills · AGENTS.md
git:20261001.0b27495 · audit A · 204 stars
cs-auto-videl SKILL.md skill
chenshuo2004/cs-skills · cs-auto-videl/SKILL.md · Use when the user types $cs-auto-videl or asks for Douyin/TikTok ecommerce video workflows, including competitor…
git:20261006.c2a8989 · audit A · 204 stars
cs-chatcut-video-blueprint SKILL.md skill
chenshuo2004/cs-skills · cs-chatcut-video-blueprint/SKILL.md · 将自媒体素材、内容想法或已有口播写成中文剧本与制作蓝图,附逐镜分镜、逐图图片提示词和按需的视频动作提示词。用于选题、剧本、分镜与制作前文本交接;不操作项目,不生成或导出媒体。
git:20261006.c2a8989 · audit A · 204 stars
cs-chatcut SKILL.md skill
chenshuo2004/cs-skills · cs-chatcut/SKILL.md · 当用户要规划一条 ChatCut 短视频,或需要从内容想法到首个 ChatCut 项目的零到一操作指引时使用:先选择最值得做的主题和唯一核心观点,再完成可确认的中文口播稿、素材清单、Motion Graphics…
git:20261006.c2a8989 · audit A · 204 stars
cs-checkpoint-version SKILL.md skill
chenshuo2004/cs-skills · cs-checkpoint-version/SKILL.md · Use when the user asks to save the current repository version, create a rollback point, checkpoint dirty worktree…
git:20261006.c2a8989 · audit A · 204 stars
cs-clean-code SKILL.md skill
chenshuo2004/cs-skills · cs-clean-code/SKILL.md · 整理代码、重构、审查实现、修复已定位问题或同步开发文档时使用。聚焦需求与业务行为、最小修改和本地验证;Git 或部署收尾由 cs-ending-time 处理。
git:20261006.c2a8989 · audit A · 204 stars
cs-code-story-video SKILL.md skill
chenshuo2004/cs-skills · cs-code-story-video/SKILL.md · 把中文口播、角色和参考素材制作成可验收的 16:9 代码叙事视频:A-roll 角色讲述、全屏场景 B-roll、真实音频时码、Remotion 样片与成片、3:4/4:3 杂志风封面。仅用于代码驱动的叙事视频,不替代 ChatCut…
git:20261006.c2a8989 · audit A · 204 stars
cs-code-video SKILL.md skill
chenshuo2004/cs-skills · cs-code-video/SKILL.md · 用代码做动画视频:页面暴露 render(t),Playwright 逐帧截图 + FFmpeg 合成 mp4,可接合成配乐、出图和配音。通用模式先明确主题、规格、风格和声音,出风格卡、分镜与关键帧后逐镜制作;Vibe知识大赏模式额外查证来…
git:20261006.c2a8989 · audit A · 204 stars
cs-digital-human-product-video-pipeline SKILL.md skill
chenshuo2004/cs-skills · cs-digital-human-product-video-pipeline/SKILL.md · 当用户要把产品事实、口播、数字人、产品界面和 CTA 制作成可验收的数字人产品介绍视频时使用:统一预检 ChatCut、FFmpeg、ComfyUI、Fish/TTS 与 Remotion,按 plan、sample、batch…
git:20261006.c2a8989 · audit A · 204 stars
cs-ending-time SKILL.md skill
chenshuo2004/cs-skills · cs-ending-time/SKILL.md · 完成已实现功能的验证、Git 提交/推送、PR 或部署交付。按用户在会话中已授权的动作执行,核对仓库、提交与真实部署结果;单纯本地收尾不自动公开发布。
git:20261006.c2a8989 · audit A · 204 stars
cs-frontend-design SKILL.md skill
chenshuo2004/cs-skills · cs-frontend-design/SKILL.md · 设计、实现、迭代或评审真实前端页面与交互流程,包括 SaaS、仪表盘、编辑器、落地页和可视化工具。关注产品任务、现有设计语言、可达状态与浏览器验证;不用于纯后端工作。
git:20261006.c2a8989 · audit A · 204 stars
cs-github-push SKILL.md skill
chenshuo2004/cs-skills · cs-github-push/SKILL.md · 将已完成的本地改动安全提交并推送到 GitHub,或为已提交的改动创建 PR;适用于用户要求推送、同步仓库、发布 skill 或核验远端提交。需要部署网站或应用时使用 cs-ending-time。
git:20261006.c2a8989 · audit A · 204 stars

Every file in chenshuo2004/cs-skills

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