baoyu-comic
它能做什么
这项技能创作原创的知识漫画,通过分格和图片解释一个主题。适合希望用漫画教学的教育者、作者和创作者。
适用场景
- ✓当你想把一个主题、故事或人物传记做成科普漫画的时候。
- ✓当你需要用漫画分格来讲解教程的时候。
- ✓当你想要特定画风或基调的漫画的时候。
技能链接
https://github.com/JimLiu/baoyu-skills/blob/main/skills/baoyu-comic/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请制作一套简短的科普漫画,解释疫苗是如何起作用的。”
每周 5 个新技能,1 分钟读完。
工作原理
你的智能体规划故事和分格布局,选择画风和基调,并生成漫画图片;如果图片很多,则分批生成。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Knowledge Comic Creator
User Input Tools
When this skill prompts the user, follow this tool-selection rule (priority order):
- Prefer built-in user-input tools exposed by the current agent runtime — e.g.,
AskUserQuestion,request_user_input,clarify,ask_user, or any equivalent. - Fallback: if no such tool exists, emit a numbered plain-text message and ask the user to reply with the chosen number/answer for each question.
- Batching: if the tool supports multiple questions per call, combine all applicable questions into a single call; if only single-question, ask them one at a time in priority order.
Concrete AskUserQuestion references below are examples — substitute the local equivalent in other runtimes.
Image Generation Tools
Resolve the image backend in this order:
- User names a backend in the current message → use it.
preferred_image_backendinEXTEND.mdnames a backend available now → use it.askmeans ask every run.- Auto-select (preference
auto, unset, or the pinned backend is unavailable), first match wins:- Codex
imagegenskill is in your available skills → you are in Codex and MUST use it:Skillwithskill: "imagegen", passing the prompt file's content plus output path and aspect ratio. It outranks non-native skills such asbaoyu-image-gen. - Codex via
codex exec(codex-imagegen): no nativeimagegen, but thecodexCLI is onPATHwith an activecodex login→baoyu-image-gen --provider codex-cli(preferred), or the bundled wrapper if baoyu-image-gen is unavailable. Load references/codex-imagegen.md only for this branch. - Cursor
GenerateImage→ use it (outranks non-native skills). It has no aspect-ratio parameter, so state the aspect ratio / dimensions in thedescriptionprompt; it saves to a tool-managed location, so copy the file to the expected output path (e.g.,outputs/.../NN-xxx.png). Reference images go inreference_image_paths. - Other runtime-native image tool (e.g., Hermes
image_generate) → use it the same way. - Exactly one non-native backend installed (e.g.,
baoyu-image-gen) → use it. - Several non-native backends → ask the user once, batched with other initial questions.
- Codex
- None available → tell the user and ask how to proceed.
⛔ Raster only: never substitute SVG, HTML/CSS, canvas, or other code-based rendering for a raster image, even for diagram-like content. If no raster backend resolves, go to step 4.
⛔ No bitmap text patching: never use ImageMagick, Pillow, Canvas, SVG, HTML/CSS, OCR scripts, or any other overlay to cover, rewrite, erase, stroke, or replace dialogue, sound effects, panel labels, or any other text inside an already generated comic page. Regenerate from a corrected prompt, redraw the page with less or no on-image text, or ask the user which imperfect candidate to keep.
Prompt file (hard): before invoking any backend, write each image's full, final prompt to its own file under prompts/ (NN-{type}-[slug].md) and pass that file (or its content) to the backend. It is the reproducibility record and lets you switch backends without rewriting prompts.
Change the pinned backend via ## Changing Preferences below. Tool names above are examples; use the local equivalent in other runtimes.
Batch Generation Policy
After every prompt file for the current generation group is saved and verified, generate images in batches by default:
- Use the backend's native batch / multi-task interface if it exists. Each task keeps its own prompt file, output path, aspect ratio, session ID, and direct reference images.
- Else, if the runtime can issue parallel tool calls, dispatch up to
generation_batch_sizeimages at a time (default4). An explicit request in the current message (e.g.--batch-size 4, "并行4张一起生成") overrides EXTEND.md. - Else generate sequentially.
Rules:
- Honor dependencies: generate
characters/characters.pngbefore pages that use it as a reference. - Never start the first page batch until all selected page prompt files exist on disk.
- Retry failed items once without regenerating successful items.
- Do not use subagents merely to parallelize image rendering; use them only for separate prompt iteration or creative exploration.
Reference Images
User-supplied reference images guide art style, palette, scene composition, or subject. They are separate from the auto-generated
常见问题
它能制作哪些类型的漫画?
它能制作知识类和科普类漫画,包括人物传记和教程风格。
我可以选择画风吗?
可以。该技能支持多种画风和基调供你选择。
它使用哪个图像生成器?
它使用可用的图像后端,你可以指定,也可以让该技能自行选择。
详情
作者的原始描述
Knowledge comic creator supporting multiple art styles and tones. Creates original educational comics with detailed panel layouts and batch-capable image generation. Use when user asks to create "知识漫画", "教育漫画", "biography comic", "tutorial comic", or "Logicomix-style comic".
repo: JimLiu/baoyu-skills
热度
- GitHub 星标
- 27k
- 排名
- #9949
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
release-skills
27k指导你的智能体为任何项目完成发布流程,包括更新版本号、更新更新日志,以及发布 GitHub 版本或标签。
baoyu-article-illustrator
27k帮你的智能体为文章添加插图:找出需要配图的位置,并以统一的风格创作图片。
baoyu-compress-image
27k让你的智能体把图片转换为 WebP 或 PNG 来压缩文件,并自动选择工具,使图片加载更快。
baoyu-cover-image
27k为你的智能体提供一种方法,结合配色、渲染风格和氛围,以电影感、宽屏或方形尺寸创建文章封面图。