Cs Codex Image logo

Cs Codex Image

Community
ChenShuo2004
cs-codex-image

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

Overview

PublisherChenShuo2004
Repositorycs-skills
Skill namecs-codex-image
Stars
204
Forks
21
Bundled files
9
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 9 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ChenShuo2004 on GitHub. Read the source before you install it.

Installation

Install the Cs Codex Image AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ChenShuo2004/cs-skills/tree/main/cs-codex-image
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ChenShuo2004/cs-skills.git /tmp/cs-skills
mkdir -p .claude/skills
cp -r /tmp/cs-skills/cs-codex-image .claude/skills/cs-codex-image
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cs Codex Image in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Cs Codex Image on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Cs Codex Image is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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。

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

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Cs Codex Image AI skill do?

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

Why use Cs Codex Image on TypingMind?

Because you install it once and use it with any model. Cs Codex Image is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Cs Codex Image in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ChenShuo2004/cs-skills/tree/main/cs-codex-image. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Cs Codex Image?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Cs Codex Image?

As many as you like. As long as a model supports skills, you can use Cs Codex Image with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Cs Codex Image AI skill free?

Yes. It is published on GitHub by ChenShuo2004 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇