
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.
- Installs
- 0
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/yang0/handraw-style --skill style-library-importer- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads style-library-importer automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
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=noneforgpt-image-2. - Name plus traits: preserve the name, retain only positive concrete visual traits, remove negative clauses such as
避免、不要、不准、禁止or无写实纹理, and registername_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
--traitsfor name-only input. - For traits-only input, pass the names you created with
--source-nameand--generation-name. - Use
--dry-runbefore 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.
FAQ
What does the style-library-importer skill do?
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.
How do I install style-library-importer?
Run npx skills add https://github.com/yang0/handraw-style --skill style-library-importer in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/style-library-importer/ (personal) or .claude/skills/style-library-importer/ (project).
Which AI agents can use style-library-importer?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is style-library-importer safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains style-library-importer?
It is published by yang0 in yang0/handraw-style. It has 0 recorded installs.
More from yang0/handraw-style
handdraw-style-prompter
yang0/handraw-style
Turn a 001–312 hand-drawn style number and image theme into bilingual prompts, using model capability data to decide when core traits and a numbered reference image are required.
editorial-hairstylist
yang0/handraw-style
Early professional hairstylist node that designs and locks formal shoot hair for each candidate direction before downstream Look expansion.
couple-photo-wardrobe-board
yang0/handraw-style
Design numbered six-look wardrobe boards for one or any number of participants inside a confirmed portrait theme, preserving full per-person outfit detail.
editorial-makeup-artist
yang0/handraw-style
Mandatory formal-shoot makeup and skin optimization node for portrait photography.
reference-beauty-prep
yang0/handraw-style
Turns a real-person reference into a reusable polished identity reference through a visual three-panel beauty exploration.
couple-photo-orchestrator
yang0/handraw-style
Orchestrates professional portrait, couple, wedding, family, cosplay, and themed photography planning from direction selection through Look, scene micro-zones, Shot List, and on-demand image generation.
Popular media & creative skills
hyperframes
heygen-com/hyperframes
Read first to make, edit, animate or render any video with HyperFrames (HTML rendered to video), including launch films, explainers, music videos, charts, maps, vertical clips, title cards, captions and overlays. Holds the render contract, the work loop and what each kind of video needs.
media-use
heygen-com/hyperframes
Get or make any media for a HyperFrames video - music, sound effects, images, icons, logos, voiceover, avatar and generated video, transcripts, cutouts, colour grades and looks - with HeyGen or free local tools, and mix placed audio. Also for footage that looks dark, flat or dull, or should be stylized or hidden.
hyperframes-registry
heygen-com/hyperframes
About 450 ready-made HyperFrames blocks and components installed as editable source - transitions, overlays, titles, kinetic type, captions, charts, map overlays, 3D, camera moves. Use it before hand-building any named visual (CRT scanlines, glitch, film grain, a chart); also for hyperframes add and catalog.
ai-video-generation
101-skills/superpowers
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative, seedance, happyhorse
ai-image-generation
101-skills/superpowers
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Triggers: flux, image generation, ai image, text to image, stable diffusion, generate image, ai art, midjourney alternative, dall-e alternative, text2img, t2i, image generator, ai picture, create image with ai, generative ai, ai illustration, grok image, gemini image, gpt image, openai image, chatgpt image
ai-avatar-video
101-skills/superpowers
Create AI avatar and talking head videos via inference.sh CLI. Recommended: P-Video-Avatar (fastest, cheapest, built-in TTS). Also: OmniHuman, Fabric, PixVerse. Audio: Inworld TTS-2 (100+ languages, emotion steering for characters), ElevenLabs, Kokoro. Capabilities: audio-driven avatars, text-to-avatar, lipsync videos, talking head generation, virtual presenters, UGC content. Use for: AI presenters, explainer videos, virtual influencers, dubbing, marketing videos, UGC ads, gaming avatars, NPC dialogue. Triggers: ai avatar, talking head, lipsync, avatar video, virtual presenter, ai spokesperson, audio driven video, heygen alternative, synthesia alternative, talking avatar, lip sync, video avatar, ai presenter, digital human, ugc, ugc video, ugc ad, avatar ugc