baoyu-comic

baoyu-comic is a skill for Claude Code, Codex from StarryCod/cogitum. It costs 17 tokens per session (3,567 once invoked), scanned A, a copy of baoyu-comic, MIT.

A tool for creating educational comics from supplied text, files, links, or topics. It can cover explanations, biographies, and tutorials in different visual styles, tones, layouts, sizes, and languages.

In plain words
What is it for?
Use it to plan and create knowledge comics, biography comics, tutorial comics, or Logicomix-style educational pages.
Why use it?
It helps turn information that is difficult to scan into a page-by-page visual explanation. Reference images can also guide the written description of the comic's visual style.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/starrycod/cogitum/baoyu-comic
Any agent
npx skills add StarryCod/cogitum --skill baoyu-comic
Clone the repo
git clone --depth 1 https://github.com/StarryCod/cogitum

Made for: Claude Code, Codex.

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 baoyu-comic

README.md
[![agentmods](https://agentmods.dev/badge/skills/starrycod/cogitum/baoyu-comic.svg)](https://agentmods.dev/skills/starrycod/cogitum/baoyu-comic)
Your own site
<a href="https://agentmods.dev/skills/starrycod/cogitum/baoyu-comic"><img src="https://agentmods.dev/badge/skills/starrycod/cogitum/baoyu-comic.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,567 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 94% copy Near-identical to another mod 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 $0.00017 $0.03567
Opus 5 $0.00009 $0.01784
Sonnet 5 $0.00003 $0.00713
Haiku 4.5 $0.00002 $0.00357

Measured 4d ago against content hash dff066d9150f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

baoyu-comic scanned grade A with 1 finding 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 4d ago.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`curl -fsSL "<url>" -o /abs/path/to/comic/<slug>/NN-page-<slug>.png`
Origin

This is a copy

94% identical to baoyu-comic — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

cogitum/data/skills/creative/baoyu-comic/SKILL.md · 248 lines

How it starts

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

Knowledge Comic Creator

Adapted from baoyu-comic for Cogitum's tool ecosystem.

Create original knowledge comics with flexible art style × tone combinations.

When to Use

Trigger this skill when the user asks to create a knowledge/educational comic, biography comic, tutorial comic, or uses terms like "知识漫画", "教育漫画", or "Logicomix-style". The user provides content (text, file path, URL, or topic) and optionally specifies art style, tone, layout, aspect ratio, or language.

Reference Images

Cogitum' image_generate tool is prompt-only — it accepts a text prompt and an aspect ratio, and returns an image URL. It does NOT accept reference images. When the user supplies a reference image, use it to extract traits in text that get embedded in every page prompt:

Intake: Accept file paths when the user provides them (or pastes images in conversation).

  • File path(s) → copy to refs/NN-ref-{slug}.{ext} alongside the comic output for provenance
  • Pasted image with no path → ask the user for the path via clarify, or extract style traits verbally as a text fallback
  • No reference → skip this section

Usage modes (per reference):

Usage Effect
style Extract style traits (line treatment, texture, mood) and append to every page's prompt body
palette Extract hex colors and append to every page's prompt body
scene Extract scene composition or subject notes and append to the relevant page(s)

Record in each page's prompt frontmatter when refs exist:

references:
  - ref_id: 01
    filename: 01-ref-scene.png
    usage: style
    traits: "muted earth tones, soft-edged ink wash, low-contrast backgrounds"

Character consistency is driven by text descriptions in characters/characters.md (written in Step 3) that get embedded inline in every page prompt (Step 5). The optional PNG character sheet generated in Step 7.1 is a human-facing review artifact, not an input to image_generate.

Read the full file on GitHub · 248 lines

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. 4d ago First seen · 248 lines · 17 tokens per session scan A dff066d9150f

Subscribe to this mod's changes

baoyu-comic is a skill published in the GitHub repository StarryCod/cogitum (11 stars, last pushed 3mo ago), licensed MIT. It adds 17 tokens to every session and 3,567 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 94% identical to baoyu-comic, differing in 8 lines, and is treated as a copy.

Related

Other skills, from other repositories

image-resize

Use this skill when the task involves resizing, scaling, or compressing image files. Suitable for tasks like "resize these photos to 800px wide", "compress images to reduce file size", or "batch scale all JPEGs in a folder". Only relevant for image processing tasks — do NOT use for data files, text, or non-image tasks.

agentscope-ai/agentscope-java · 75 tokens

manim-video

Generate mathematical/explanatory animations with Manim (Python). Use for animated explainers, math visualizations, and step-by-step animations the user can render to MP4.

metaspartan/cybara · 39 tokens

p5.js

Production pipeline for interactive and generative visual art using p5.js. Creates browser-based sketches, generative art, data visualizations, interactive experiences, 3D scenes, audio-reactive visuals, and motion graphics — exported as HTML, PNG, GIF, MP4, or SVG. Covers: 2D/3D rendering, noise and particle systems…

agentic-in/elephant-agent · 152 tokens

ASCII Video

Production pipeline for ASCII art video — any format. Converts video/audio/images/generative input into colored ASCII character video output (MP4, GIF, image sequence). Covers: video-to-ASCII conversion, audio-reactive music visualizers, generative ASCII art animations, hybrid video+audio reactive, text/lyrics…

agentic-in/elephant-agent · 118 tokens

AudioCraft

PyTorch library for audio generation including text-to-music (MusicGen) and text-to-sound (AudioGen). Use when you need to generate music from text descriptions, create sound effects, or perform melody-conditioned music generation.

agentic-in/elephant-agent · 49 tokens

Manim Video

Production pipeline for mathematical and technical animations using Manim Community Edition. Creates 3Blue1Brown-style explainer videos, algorithm visualizations, equation derivations, architecture diagrams, and data stories. Use when users request: animated explanations, math animations, concept visualizations…

agentic-in/elephant-agent · 87 tokens