Skip to content

Add Claude Code support (additive; Codex path unchanged)#5

Open
WenyuChiou wants to merge 1 commit into
helloianneo:mainfrom
WenyuChiou:claude-support
Open

Add Claude Code support (additive; Codex path unchanged)#5
WenyuChiou wants to merge 1 commit into
helloianneo:mainfrom
WenyuChiou:claude-support

Conversation

@WenyuChiou

Copy link
Copy Markdown

Hi Ian — thanks for this skill, the 小黑 visual language is lovely.

This is a small additive PR so the skill also runs on Claude Code, with no change to the 小黑 identity, the Chinese-first focus, or the Codex behaviour.

What it changes

  • ian-xiaohei-illustrations/SKILL.md — the render step (§3) was hard-coded to Codex's built-in image_gen. It's now tool-agnostic: use image_gen if present (Codex), else an image-generation MCP (e.g. Claude's mcp__image-gen__generate_image, 16:9 / png), else emit ready-to-paste prompts. Codex behaves exactly as before. Also widened the description so it triggers on English requests too.
  • ian-xiaohei-illustrations/references/prompt-template.md — a note that the image-edit prompts need an edit/inpaint-capable tool (Codex image_gen); pure text-to-image MCPs should regenerate-with-fewer-labels instead.
  • README.md — a short "在 Claude Code 使用" section (install + the tool-agnostic note).

Why

The skill's layout is byte-identical to Anthropic's Agent Skills format, so it already loads in Claude Code — only the render call was platform-specific. This makes it run end-to-end on both Codex and Claude.

It also answers the two open issues:

Kept deliberately minimal and identity-neutral. Full disclosure: I also maintain a more divergent fork (a fully-English variant + bring-your-own-mascot), but that is not part of this PR — this is just "your skill now runs on Claude too." Happy to adjust anything.

🤖 Generated with Claude Code

Make the render step tool-agnostic so the skill runs on Claude Code too,
without changing the 小黑 identity or Codex behaviour.

- SKILL.md section 3: render via whatever image tool exists (Codex
  image_gen, an image-gen MCP, or emit ready-to-paste prompts). Widen
  the description to also trigger on English requests.
- references/prompt-template.md: note that image-edit prompts need an
  edit/inpaint-capable tool.
- README.md: add a "在 Claude Code 使用" install section.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant