cyxj-poster

cyxj-poster is a skill for Claude Code from chenyuxiaojin/xiaochen-skills. It costs 98 tokens per session (1,834 once invoked), scanned A, original, MIT.

An image-generation tool for making posters, book covers, album covers, and event designs from a short description, with selectable visual styles and reference-image support.

In plain words
What is it for?
Use it to generate a design, compare three styles, enhance an image prompt, or transform an existing image.
Why use it?
It provides a repeatable way to explore designed artwork without manually assembling every visual element.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the cyxj-image-studio plugin — 2 skills shipped together

Good fit Use it to generate a design, compare three styles, enhance an image prompt, or transform an existing image.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add chenyuxiaojin/xiaochen-skills
Claude Code
/plugin install cyxj-image-studio

Made for: Claude Code.

Or install cyxj-image-studio, the plugin that ships this one along with the rest of its 2 skills.

Wrote 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.

agentmods badge for cyxj-poster

README.md
[![agentmods](https://agentmods.dev/badge/skills/chenyuxiaojin/xiaochen-skills/cyxj-poster/github.svg)](https://agentmods.dev/skills/chenyuxiaojin/xiaochen-skills/cyxj-poster)
Your own site
<a href="https://agentmods.dev/skills/chenyuxiaojin/xiaochen-skills/cyxj-poster"><img src="https://agentmods.dev/badge/skills/chenyuxiaojin/xiaochen-skills/cyxj-poster/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.

agentmods 80×15 button for cyxj-poster

Your own site · 80×15
<a href="https://agentmods.dev/skills/chenyuxiaojin/xiaochen-skills/cyxj-poster"><img src="https://agentmods.dev/badge/skills/chenyuxiaojin/xiaochen-skills/cyxj-poster.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,834 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00098 $0.01834
Opus 5 $0.00049 $0.00917
Sonnet 5 $0.00020 $0.00367
Haiku 4.5 $0.00010 $0.00183

Measured 12d ago against content hash 73c2bf1e8d2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

cyxj-poster 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/generate_mondo_enhanced.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/cyxj-image-studio/skills/cyxj-poster/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Poster Design Generator

一句话生成大师级海报、书籍封面、专辑封面等设计作品。基于 Mondo 丝网印刷美学,支持 33+ 传奇设计师风格和 10 种写实摄影风格。

脚本调用

python3 ${CLAUDE_PLUGIN_ROOT}/skills/cyxj-poster/scripts/generate_mondo_enhanced.py "subject" "type" [options]

生图后端:gpt-image-2(GPTIMG2 @ api.chatgpt-code.com,OpenAI 兼容 HTTP)。 默认输出 2K 分辨率,统一用 response_format=url 取图后下载落地。

  • 文生图走 /v1/images/generations;带参考图(--ip-ref / --input)时走 /v1/images/edits(multipart)。
  • 需要环境变量 GPTIMG2_BASE_URL / GPTIMG2_API_KEY(未设置则从 ~/项目/自己的应用/密钥存储/.env 读取)。
  • prompt 的 AI 扩写(--ai-enhance)仍由 Gemini 文本模型完成,需 GEMINI_API_KEY,与生图无关。

必填参数

参数 说明 示例
subject 设计主题 "Blade Runner", "Jazz Festival"
type 设计类型 movie, book, album, event

两个位置参数实际都可选:type 省略时默认 moviesubject 省略则只打印帮助退出(--list-styles 除外)。 --compare 模式只吃 subject/type/比例/配色,会忽略 --style/--input/--ip-ref/--output

可选参数

参数 说明 默认值
--style 艺术家风格(见 --list-styles 自动选择
--ai-enhance AI 优化 prompt(保留用户原始意图) 关闭
--compare 生成 3 种风格对比图,值为逗号分隔的恰好 3 个风格 key(如 kilian-eng,saul-bass,jock
--input 输入图片路径(图生图转换)
--ip-ref IP 角色参考图目录
--title 直接渲染在海报上的标题文字
--colors 配色偏好 AI 建议
--aspect-ratio 画幅比例 9:16album 未显式指定时默认 1:1
--output 自定义输出路径 outputs/
--no-generate 只输出 prompt,不生成图片 关闭
--list-styles 列出所有可用风格

常用画幅比例

均为 2K 输出,边长对齐 16 的倍数:

比例 输出尺寸 用途
9:16 1440x2560 电影海报、书籍封面、手机竖屏(默认)
16:9 2560x1440 文章配图、横屏封面
3:4 1536x2048 小红书配图
1:1 2048x2048 专辑封面、头像
4:3 2048x1536 通用横版

21:9 等未在 2K 映射表内的比例会回退到 9:16(1440x2560)。需要超宽幅时请用上表内的比例。

调用示例

参数表即接口,按需自由组合。给一个多参数组合的形状参考(IP 角色海报):

python3 ${CLAUDE_PLUGIN_ROOT}/skills/cyxj-poster/scripts/generate_mondo_enhanced.py "cyberpunk tech news" event --ip-ref ./ip-reference/ --title "A社新规:禁止第三方调用" --aspect-ratio 4:3 --colors "deep navy blue, neon cyan, magenta"

Read the full file on GitHub · 111 lines

Files

What ships with it

7 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.

Changes

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.

  1. 12d ago First seen · 111 lines · 98 tokens per session scan A 73c2bf1e8d2a

Subscribe to this mod's changes

cyxj-poster is a skill published in the GitHub repository chenyuxiaojin/xiaochen-skills (6 stars, last pushed 8d ago), licensed MIT. It adds 98 tokens to every session and 1,834 once invoked, about $0.0005 per session on Opus 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-08-31.