/nib:nib [idea or article path/URL] | build a character | set avatar <image> | style <name> | explainerfrom Nib
Creates original editorial illustrations from articles or ideas, starring a consistent avatar in hand-drawn print-style scenes. For illustrated posts, concepts, or written content.
Ships in Nib. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Make original editorial illustrations for written content. One image explains one idea. A recurring avatar — supplied once by the user — is the subject of every scene and performs the idea (pushes, sorts, steers, builds, holds); it is never decoration. The methodology is the constant; the avatar and the look are the parameters.
This is a configurable house style, not a generic image generator. It is intentionally not a photo, not a logo, not a corporate infographic, not a UI mockup.
--avatar-pack <name> (see
characters/); or build a new one with the user
(references/character-builder.md). The character is the reference on every
generation.codex login). Generates on the
user's ChatGPT / Codex subscription, no API key. Default when no key is set.OPENROUTER_API_KEY (sk-or-…). Exact 16:9, and lets
you pick the model with --model.Read the input.
Pick a look for the piece — one of 13 (see references/styles.md):
marker, riso, blueprint, woodcut, pixel, clay, gouache, chalk, diorama,
enamel, felt, manila, phosphor. One look per piece.
For each idea, invent a fresh, concrete physical metaphor in which the
avatar performs the idea (see references/methodology.md). One caught
scene is the default; switch to the explainer register — a hand-drawn
sketch-diagram — only when the user asks ("diagram the flow") or the idea is
itself a traceable structure (references/composition.md, --register explainer).
Generate by calling the engine once per image:
python3 scripts/generate.py \
--idea "trust is built one piece of evidence at a time" \
--style marker \
--avatar /path/to/avatar.png \
--out ./out/trust.png
It builds the full prompt (methodology + look + idea), sends the character as the reference for consistency, and writes a 16:9 PNG. Useful flags:
--backend auto|openrouter|codex — auto uses the OpenRouter key if set,
else the free Codex lane.--model <id> — OpenRouter image model (default google/gemini-3.1-flash-image-preview).--avatar-pack <name> — use a bundled character (see characters/) instead
of --avatar.--avatar-spec "<text>" — a written description of the character (silhouette,
face, the one accent part) that locks its design. Combine with the image —
it markedly improves consistency.--accent "<hex|name>" — pin the one accent colour (a brand hex / site
colour); see references/palettes.md.--register explainer — draw a hand-built sketch-diagram instead of a single
caught scene (references/composition.md).--transparent — cut the white ground out of the render → transparent PNG
(for slides, stickers, dark UI). Needs rembg (pip install 'rembg[cpu]',
not bundled); without it the opaque render is kept and a hint is printed. Also
available standalone on any image: python3 scripts/cutout.py <image.png>.--doctor — print backend readiness (which lane will run, and why) and exit.Review against references/quality-bar.md (white background, one idea,
avatar performing the action, short labels only, not a slide). Regenerate
any that miss.
Report each saved path.
Invoke Nib from your agent like:
Use nib to illustrate: "one fish, many dishes"Use nib to make illustrations for this article: https://jamesclear.com/feedback-loopsUse nib to build a character with me, then illustrate "the information well"Use nib to diagram the flow of a RAG pipeline (explainer)Use nib to turn this post into a 5-image set in chalk: <paste a URL or text>google/gemini-3.1-flash-image-preview) —
a full post is well under a dollar either way. Run --doctor to see which lane
is ready.--avatar-spec (describe the character in words) markedly improves
consistency over the image reference alone — use it whenever you have a description.characters/README.md (opens in a new tab)characters/blip/avatar.md (opens in a new tab)characters/blip/reference.png (opens in a new tab)characters/hen/avatar.md (opens in a new tab)characters/hen/reference.png (opens in a new tab)characters/mo/avatar.md (opens in a new tab)characters/mo/reference.png (opens in a new tab)characters/pip/avatar.md (opens in a new tab)characters/pip/reference.png (opens in a new tab)characters/scout/avatar.md (opens in a new tab)characters/scout/reference.png (opens in a new tab)references/character-builder.md (opens in a new tab)references/composition.md (opens in a new tab)references/methodology.md (opens in a new tab)references/palettes.md (opens in a new tab)references/quality-bar.md (opens in a new tab)references/style-data.json (opens in a new tab)references/styles.md (opens in a new tab)scripts/cutout.py (opens in a new tab)scripts/generate.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub caezium/nib --plugin nibOther plugins' skills for the same job