Skip to content
AI & Agents
Skill

/style-library-importer

Add a named or text-defined visual style to the numbered hand-drawn style library, generating a square representative image without number badges when none is supplied. Do not use for image-only Tweet imports.

From plugin
skill
9.5k127 skills

Claude Code

$ npx -y skills add anbeime/skill --skill style-library-importer --agent claude-code

SKILL.md

style-library-importer.SKILL.md
name: style-library-importer
description: Add a named or text-defined visual style to the numbered hand-drawn style library, generating a square representative image without number badges when none is supplied. Do not use for image-only Tweet imports.

Text-Defined Style Library Importer

Use this Skill when the user wants to add a visual style to the local hand-drawn style library with a style name, visual traits, or both. It is separate from `tweet-style-importer`: an image-only request belongs to the Tweet workflow and must not receive a new number here.

核心铁律:严禁从示意图提取具体画面内容到特征描述 (Prohibition on Content Extraction)

> [!CAUTION] > **绝对禁止“图意解析污染”**: > 当用户提供示意图/参考图(或 AI 解析图片)录入风格时,**绝对严禁**将图中的具体主体内容提取写入 `--traits` 特征描述中! > - **严禁提取的画面内容(Content/Subject)**: > - 任何人物主体(如“年轻女性”、“女孩”、“男人”、“老人”、“幼童”等); > - 人物外貌与穿着(如“短发”、“长发”、“白色棉麻长裙”、“风衣”、“T恤”等); > - 人物动作与姿态(如“侧身回眸”、“奔跑”、“坐在长椅上”、“微笑”等); > - 具体道具与物品(如“咖啡杯”、“雨伞”、“自行车”、“书本”等); > - 具体场景与地貌(如“黄色花田”、“海湾远山”、“街道”、“樱花树”等)。 > - **允许且仅允许提取的纯艺术视觉语言(Aesthetic & Medium Traits Only)**: > - 笔触线条(如细钢笔线、松散手绘线条、粗粝炭笔线条、色块轮廓); > - 材质媒介(如水彩晕染、胶片颗粒、赛璐珞、油画厚涂、复古丝网印); > - 光影色彩(如高饱和通透、日系青蓝调、低饱和灰调、柔和侧逆光、高动态自然光); > - 空间虚实(如中长焦浅景深背景虚化、前景光斑、大面积留白、平铺无透视)。 > 风格特征必须对任何新主题保持绝对中立。画面中的一切主体、服饰与环境必须 100% 交由未来用户的具体主题(Theme)决定。

Interpret the input

  • **Name only:** keep the supplied name as the style label, do not invent or store visual traits, and register `name_activation=strong`, `traits_activation=none` for `gpt-image-2`.
  • **Name plus traits:** preserve the name, retain only positive concrete visual traits, remove negative clauses such as `避免`、`不要`、`不准`、`禁止` or `无写实纹理`, and register `name_activation=weak`, `traits_activation=strong`.
  • **Traits only:** invent a readable Chinese style label and a concise English generation name, retain only positive concrete visual traits, and register `name_activation=weak`, `traits_activation=strong`.
  • **Image only:** do not change the library. Explain that image-only imports are handled by `tweet-style-importer`.

For every text-defined style, `gpt-image-2` must use its configured text activation and must not receive a reference image. Unknown models retain the library's existing image fallback behavior.

Representative image

If the user provides an image alongside textual input, use it directly as the representative source image; do not generate another one.

If no image is provided, generate exactly one original 1:1 representative image with `gpt-image-2`. Select a simple neutral subject and setting that make the declared style legible. Use the supplied name and, when present, the filtered positive traits; do not reuse subjects, actions, scenes, compositions, or stories from existing library entries. Generate one clean image without any number badge or overlay.

Import

After a representative image is available, run the deterministic importer from the repository root:

python scripts/import_manual_style.py --source-name "中文风格名" --generation-name "English Generation Style Name" --traits "正向可见特征" --image "/path/to/representative.png"
  • Omit `--traits` for name-only input.
  • For traits-only input, pass the names you created with `--source-name` and `--generation-name`.
  • Use `--dry-run` before importing when checking the selected activation policy would be useful.
  • The importer assigns the next number, creates a 512px clean single tile (strictly without any number badge, overlay, or burned text), and continues the active H contact sheet. A single supplied or generated representative image does not create a reference grid; the clean single image is used if a reference is required. A 1024px 2×2 reference grid is created only when two to four source images are supplied. The importer then updates the source table and capability metadata, rebuilds the gallery, and runs full validation.

Strictly do NOT burn, overlay, or stamp any number badge onto the image. Keep the representative tile 100% clean and unblemished. Report the number, activation path, whether an image was generated or supplied, the active H sheet, and the validation result.

Read more
@anbeime
Ships withskill

收录最全、更新最快的AI Agent技能库,涵盖文档处理、内容创作、编程开发、机器学习、自动化工作流等多个领域的精选技能包。 🎁 知易多模型知识管家 · 免费试用预约 — 20+ 模型自由切换、技能市场、四色卡片知识库,留邮箱锁定免费试用名额,每周再收一份知易AI周刊。

9.5k127 skills
Get the whole plugin

Stars on GitHub

Momentum

stars in total
9.5k
Star history of anbeime/skill on GitHub, a chart by star-history.com

Other skills on skill.

doc-parse

doc-parse

将 PDF/PPT/Excel/Word 等多格式文档解析为结构化 Markdown,并输出元数据与解析置信度,作为 RAG 与四色卡片的数据底座。

@anbeime@anbeimeInstall Skill
four-color-cards

four-color-cards

基于解析后的文档与用户意图,生成四色卡片——事实蓝卡、解释绿卡、风险黄卡、行动红卡,是八官署方法论的核心分析输出。

@anbeime@anbeimeInstall Skill
provenance

provenance

收集系统全链路操作日志,生成可追溯的执行证据链与向量索引,是多智能体系统可观测性与安全审计的底座。

@anbeime@anbeimeInstall Skill
security-scan

security-scan

对进入系统的文件或 URL 执行安全与合规扫描,输出 pass/reject 判定与扫描报告,作为所有文档处理的强制前置关卡。

@anbeime@anbeimeInstall Skill
RuiC-card-skill

RuiC-card-skill

Generate interactive 3D holographic collectible-card websites from a user description or reference image, using layered artwork,…

@anbeime@anbeimeInstall Skill
agent-team

agent-team

产品经理与项目管理专家在应对复杂项目时,使用此技能可动态组建包含“执行、指挥、评审”的专属AI团队。实时查看多智能体辩论与决策全过程,共享统一上下文记忆,一键完成从会议决策到系统构建的全流程高效协同!

@anbeime@anbeimeInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw2w393k
@openclaw@openclawInstall Skill

Questions about style-library-importer.

Which coding agents can use style-library-importer?
style-library-importer installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.