Agent skill

Cs Codex Image

by ChenShuo2004 in ChenShuo2004/cs-skills

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

MITAuto-check passedMedia & Creative

Install Cs Codex Image

skills CLI
$ npx skills add ChenShuo2004/cs-skills --skill cs-codex-image -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ChenShuo2004/cs-skills cs-codex-image --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ChenShuo2004/cs-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cs-codex-image .claude/skills/cs-codex-image && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cs-codex-image
GitHub stars
193
Token cost
~415 tokens
SKILL.md length
84 words
Files
10 (incl. scripts, references)
Skills in repo
26
Repo updated
First seen
Licence
MIT

At a glance

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

  • Works in 4 steps: 调用… → 保存 job_id,用 get_image_job(job_id,… → completed 后调用 read_generated_image… → …
  • Media & Creative work in your project
  • SKILL.md covers 按当前宿主执行, MCP 出图流程 and 可复制调用
  • Runs JavaScript scripts from its folder

What it does

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

Its SKILL.md is about 420 tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts and reference files (for example `agents/openai.yaml`, `references/setup.md` and `scripts/package-lock.json`).

It sits in Media & Creative. It works with Model Context Protocol. The repository describes itself as: 陈硕的 Codex Skills 与 AI 工作流手册:把产品、内容、调研与交付沉淀为可复用的智能工作流。 The licence is MIT.

When your agent uses it

  • Media & Creative work in your project

Example prompts

  • “/cs-codex-image”

Requirements

  • Node.js

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

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

What it can do on your machine

Read from SKILL.md and the folder at commit 6f5009d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 6 files in scripts/ (JavaScript), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cs Codex Image loads about 415 tokens when it runs, and up to ~1.8k if it reads all its reference files. Until then it costs about 43 tokens; SKILL.md has 84 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~415
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from ChenShuo2004/cs-skills at commit 6f5009d, republished under its MIT licence (© ChenShuo2004). 84 words, ~415 tokens.

Download SKILL.mdSave it as .claude/skills/cs-codex-image/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.
name
cs-codex-image
description
通过 Codex 内置生图生成或编辑图片,并将该能力接入 Claude Code、Claude 桌面版或其他本地 MCP Agent。用于 cs-codex-image、内置生图、不用 API Key 出图、Claude 调用 Codex 生图。固定 KAI 封面和小黄角色仍由对应品牌 Skill 决定视觉规范。

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 出图流程

  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
$cs-codex-image 使用 Codex 内置生图,画一张奶油色背景的小黄鸟插画,正方形,无文字。完成后检查图片并告诉我保存路径。
text
$cs-codex-image 把 Codex 内置生图接入 Claude,保留已有 MCP 配置;检查连接,并用一张图验证实际生成。使用当前登录,不使用 API Key。

交付:图片 / 已配置连接、实际后端、验证状态、保存路径和必要的恢复步骤。更详细的字段、检查命令与客户端边界见 安装与恢复。

© ChenShuo2004, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 9 other files (scripts, references) in cs-codex-image of ChenShuo2004/cs-skills.

  • SKILL.md
  • agents/openai.yaml
  • references/setup.md
  • scripts/install.mjs
  • scripts/package-lock.json
  • scripts/package.json
  • scripts/runtime.mjs
  • scripts/server.mjs
  • scripts/smoke.mjs
  • tests/runtime.test.mjs

Open the folder on GitHubat commit 6f5009d

Compare with similar skills

Cs Codex Image next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cs Codex Image compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cs Codex Image this skillChenShuo2004/cs-skills193—~415Automated safety check: PassMIT
Text To Sfxsonilo-ai/skills1152 repos~1.6kAutomated safety check: NotesMIT
Voiceguaardvark/guaardvark2551 repos~798Automated safety check: PassMIT
X Ingestchubbyguan/chubbyskills1.2k1 repos~966Automated safety check: NotesMIT
Audio Duckingsonilo-ai/skills1151 repos~1.8kAutomated safety check: NotesMIT
Resolve Audiosamuelgursky/davinci-resolve-mcp3.4k—~1.3kAutomated safety check: PassMIT

Similar skills

  • Text To Sfx

    sonilo-ai/skills

    Generate a sound effect from a text description using Sonilo — a UI chime, a whoosh, an impact, ambience, a stylized cue — when there is no video to match.

    115 GitHub starsUsed in 2 repos~1.6k tokens
    Media & CreativeAuto-check: notes
  • Voice

    guaardvark/guaardvark

    Narration and text-to-speech on the user's machine through Guaardvark's Audio Foundry (Chatterbox, Kokoro, Piper) and consent-gated voice cloning from a reference clip.

    255 GitHub starsUsed in 1 repo~798 tokens
    Media & CreativeAuto-check passed
  • X Ingest

    chubbyguan/chubbyskills

    X(Twitter) 推文采集 → 统一 frontmatter Markdown。自动区分图文与视频: 图文下载图片本地嵌入,视频提取直链转成文字稿。无需登录(走官方嵌入端点)。

    1.2k GitHub starsUsed in 1 repo~966 tokens
    Media & CreativeAuto-check: notes
  • Audio Ducking

    sonilo-ai/skills

    Duck a music bed under a voice track using Sonilo — automatically lowers the music wherever the voice speaks and lifts it back in the gaps.

    115 GitHub starsUsed in 1 repo~1.8k tokens
    Media & CreativeAuto-check: notes
  • Resolve Audio

    samuelgursky/davinci-resolve-mcp

    Audio and Fairlight work in the DaVinci Resolve MCP. An agent skill from samuelgursky/davinci-resolve-mcp.

    3.4k GitHub stars~1.3k tokensUpdated 2 days ago
    Media & CreativeAuto-check passed
  • Canvasight Open

    Niall-Young/Canvasight

    Open, reopen, attach, and verify Canvasight's Codex native widget, or explicitly open a browser fallback.

    213 GitHub stars~1.1k tokensUpdated 14 days ago
    Media & CreativeAuto-check passed

More from ChenShuo2004/cs-skills

All 26 skills in this repo
  • Cs Checkpoint Version

    ChenShuo2004/cs-skills

    A skill your agent uses when the user asks to save the current repository version, create a rollback point, checkpoint dirty worktree changes, preserve staged/unstaged/untracked files before risky…

    193 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Cs Code Video

    ChenShuo2004/cs-skills

    用代码做动画视频:页面暴露 render(t),Playwright 逐帧截图 + FFmpeg 合成 mp4,可接合成配乐、出图和配音。通用模式先明确主题、规格、风格和声音,出风格卡、分镜与关键帧后逐镜制作;Vibe知识大赏模式额外查证来源、记录真实素材许可、先渲 10 秒样片。触发词包括…

    193 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Cs Knowledge Film

    ChenShuo2004/cs-skills

    制作明确要求暗夜星空、衬线双语字幕与金色光点风格的知识解说片,或用户显式调用 $cs-knowledge-film:从概念与画面隐喻设计,到口播、场景 spec、配音和 1080p 渲染。普通科普视频不默认套用这一视觉模板;网页产品演示、ChatCut 策划和电商视频复刻各用对应 skill。

    193 GitHub stars~806 tokensUpdated today
    Auto-check passed
  • Cs Auto Videl

    ChenShuo2004/cs-skills

    A skill your agent uses when the user types $cs-auto-videl or asks for Douyin/TikTok ecommerce video workflows, including competitor replication, strong-Hook nine-grid promptimage.md to image2…

    193 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • 当用户要把产品事实、口播、数字人、产品界面和 CTA 制作成可验收的数字人产品介绍视频时使用:统一预检 ChatCut、FFmpeg、ComfyUI、Fish/TTS 与 Remotion,按 plan、sample、batch 三种模式编排,先完成可审批样片再批量或出成片。用于有明确产品包的横版/竖版产品视频流水线;不要用于通用自动剪辑、电商短视频复刻、纯视频选题策划或未经确认的批量生成与发布。

    193 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Cs Code Story Video

    ChenShuo2004/cs-skills

    把中文口播、角色和参考素材制作成可验收的 16:9 代码叙事视频:A-roll 角色讲述、全屏场景 B-roll、真实音频时码、Remotion 样片与成片、3:4/4:3 杂志风封面。仅用于代码驱动的叙事视频,不替代 ChatCut 剪辑、数字人产品片或电商复刻。

    193 GitHub stars~541 tokensUpdated today
    Auto-check passed

Questions about Cs Codex Image

What does Cs Codex Image do?

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

When should I use Cs Codex Image?

Cs Codex Image fits situations like: media & Creative work in your project.

How do I install Cs Codex Image in Claude Code?

Run `npx skills add ChenShuo2004/cs-skills --skill cs-codex-image -a claude-code`. Or copy the skill folder (cs-codex-image in ChenShuo2004/cs-skills) into .claude/skills/cs-codex-image in your project. Claude Code loads it when a task matches its description.

How do I install Cs Codex Image in Codex?

Run `npx skills add ChenShuo2004/cs-skills --skill cs-codex-image -a codex`. Or copy the skill folder (cs-codex-image in ChenShuo2004/cs-skills) into .agents/skills/cs-codex-image in your project. Codex loads it when a task matches its description.

Can I use Cs Codex Image in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ChenShuo2004/cs-skills --skill cs-codex-image -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cs-codex-image, .gemini/skills/cs-codex-image, .github/skills/cs-codex-image and .opencode/skills/cs-codex-image in your project.

What does Cs Codex Image need to run?

Going by SKILL.md and its folder, Cs Codex Image needs JavaScript for the scripts in its folder. Our summary lists: Node.js.

Does Cs Codex Image access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cs Codex Image safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Cs Codex Image use?

Cs Codex Image is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cs Codex Image use?

About 415 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.3k tokens, read only when the agent opens those files.

What are the alternatives to Cs Codex Image?

Skills that share tags, products or a category with Cs Codex Image: Text To Sfx (sonilo-ai/skills, 115 stars), Voice (guaardvark/guaardvark, 255 stars), X Ingest (chubbyguan/chubbyskills, 1.2k stars) and Audio Ducking (sonilo-ai/skills, 115 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cs Codex Image?

ChenShuo2004 (a GitHub user) maintains it in ChenShuo2004/cs-skills, which has 193 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on October 8, 2026.

Source: ChenShuo2004/cs-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.