Skill Icon Generator
Generate semantic 48×48 SVG and PNG icons for one Skill at a time, with brand-logo handling, similarity checks, and OpenAI interface metadata updates.
Basic info
- Name
- Skill Icon Generator
- Description
- 为单个 Codex 或 Claude Skill 生成语义准确、彼此可区分的 48×48 SVG 与 PNG 图标,并更新该 Skill 的 agents/openai.yaml。用户说“给这个 Skill 生成图标”“补 assets/icon.svg”“生成同款 Skill 图标”“这个图标重复了” “图标不符合 Skill 语义”或要求调整颜色与 Lucide 图形时使用。接受 Skill 目录或 SKILL.md 路径;品牌绑定型 Skill 优先使用可信来源的品牌 Logo,并内置 GitHub、微信、Lark/飞书、Coolify、Privy、微博和小红书品牌注册表,其他 Skill 使用 Lucide;品牌 Logo 使用品牌官方主色和统一 `#F0F0F0` 背景,同品牌多个 Skill 复用同一纯 Logo; 其他公司人工映射执行感知图像相似度硬门禁,不得超过 50%。不批量改图标,也不 修改 CI、官网或部署配置。Do NOT trigger when 用户要求处理非 Skill 图标、修改 CI/官网/部署配置,或一次重做多个 Skill 图标。
Skill Icon Generator
Create one verified Skill icon package at a time: assets/icon.svg, assets/icon.png, and matching agents/openai.yaml metadata.
When to use it
Generate icons
I have a Skill directory with SKILL.md and want a 48×48 icon that matches the Skill’s core task, not just a keyword in the name.
Replace an icon
I explicitly want to replace an existing icon because it is duplicated, unclear, or semantically wrong, and I accept that the generator will use --force.
Self-check
I upgraded dependencies, moved machines, or suspect the generator runtime is broken, so I want the bundled checks to prove Sharp, Lucide masters, brand marks, and similarity gates work.
Not for
This is not for batch icon rewrites, non-Skill icons, website assets, deployment work, CI changes, or logo redesign.
What it produces
Existing icon files are protected unless replacement is explicit. The generator stops instead of silently overwriting assets.
- Icon assets: writes
assets/icon.svgandassets/icon.png, with the PNG verified as a real 48×48 file. - Interface metadata: updates
agents/openai.yamlwithicon_smallandicon_largewhile preserving other fields. - Brand handling: brand-bound Skills use a verified pure brand mark and official color when the brand is registered.
- Similarity report: enforces a perceptual similarity gate so non-brand icons stay visually distinct.
- Never does: bypass the gate, invent a brand logo from memory, rewrite batches, or modify CI / website / deployment configuration.
Prerequisites & boundaries
Prerequisites
The target must be one Skill directory or SKILL.md. The generator needs Node.js and its local Sharp dependency installed under the generator Skill directory.
Adjacent work
| Need | Use instead |
|---|---|
| Create or repair the Skill content itself | Skill creation / improvement workflow |
| Write README presentation copy | skill-readme-generation |
| Design product or website icons | A brand or UI design workflow |
Hard boundaries
- One invocation handles one target Skill.
- Brand marks must come from the registry or a verified official source.
- Non-brand icons must express the primary task shape and pass the similarity threshold.
- Failure reports are final until the user chooses a different icon, brand source, or replacement scope.
Version info
Local public Skill catalog snapshot, showing only public-safe fields.
Skill files
(87)SKILL.md
SKILL.md · Markdown