# Ian Xiaohei Illustrations

> A Codex skill that turns the key ideas in a Chinese article into hand-drawn 16:9 illustrations

- Category: Agents & Automation / Agent Skills & Plugins
- Language: Markdown
- Licence: MIT
- Repository: https://github.com/helloianneo/ian-xiaohei-illustrations
- Canonical page: https://ai-tldr.dev/tools/ian-xiaohei-illustrations/

## In short

Ian Xiaohei Illustrations is a Codex skill that guides an AI agent to design and generate in-body illustrations for Chinese articles, posts, blogs, Notion documents and methodology write-ups. It sits in the Agent Skills & Plugins category of the Agents & Automation tools and is open-source, written in Markdown and licensed MIT.

## Overview

Ian Xiaohei Illustrations is a Codex skill that guides an AI agent to design and generate in-body illustrations for Chinese articles, posts, blogs, Notion documents and methodology write-ups. Rather than decorating a page, it reads the text, picks out its cognitive anchors (a judgment, a process, a structure, a state or a metaphor) and draws one of them per image as a 16:9 hand-drawn explainer.

The look is fixed by the skill: a pure white background, thin and slightly shaky black line art, lots of empty space with the subject taking roughly 40-60% of the frame, and a few short handwritten Chinese annotations in red, orange and blue. Every picture stars "Xiaohei" (小黑), a solid black character with white dot eyes, thin legs and a blank expression. The README is explicit that Xiaohei is not a mascot or a sticker: the character has to carry out the image's core action, and if the picture still works without it, it is too decorative.

The skill folder holds `SKILL.md` plus reference files for the style DNA, the Xiaohei character, composition patterns, a single-image prompt template and a QA checklist, and a set of example images used only for style calibration. The agent first produces a shot list (usually 4-8 images per article), invents a fresh low-tech metaphor for each, generates every image separately with the built-in image tool, checks it against the checklist and saves the final PNGs. It deliberately does not produce PPT-style infographics, editable vector files, commercial posters or text-heavy diagrams.

## What it does

- Article-to-shot-list planning: for each proposed image it states which paragraph it follows, the topic, the core idea, the structure type, what Xiaohei is doing and suggested Chinese labels
- One image per idea, each generated separately as a 16:9 white-background hand-drawn PNG with sparse red, orange and blue handwritten notes
- Eight structure types to draw from: workflow, part of a system, before/after, character state, concept metaphor, method layers, map route and small comic panels
- A QA checklist the agent applies after each image: clean white background, enough empty space, Xiaohei doing the core action, short Chinese labels, nothing PPT-like and no copying of earlier examples
- Edit requests on existing images, such as removing a stray title in a corner while keeping everything else
- Final images saved in the workspace under `assets/<article-slug>-illustrations/` with numbered file names

## Getting started

The repository is a Codex skill; the folder that actually gets installed is the `ian-xiaohei-illustrations/` subdirectory. The README's prompts are written in Chinese, and the skill is designed for Chinese-language articles.

1. Clone the repository

```bash
git clone https://github.com/helloianneo/ian-xiaohei-illustrations.git
cd ian-xiaohei-illustrations
```

2. Copy the skill into your Codex skills directory

```bash
mkdir -p "${CODEX_HOME:-$HOME/.codex}/skills"
cp -R ./ian-xiaohei-illustrations "${CODEX_HOME:-$HOME/.codex}/skills/"
```

3. Plan the illustrations first (optional)

   Ask for a shot list without generating images: where each picture goes, its topic, core idea, structure type, what Xiaohei does and suggested labels. Paste your article after the prompt.

```text
Use $ian-xiaohei-illustrations 先不要生图。
请分析下面这篇文章哪里值得配图，输出 5 张左右的 shot list。
每张图写清楚：放在哪段后、主题、核心意思、结构类型、小黑在做什么、建议中文标注词。

<粘贴文章>
```

4. Generate the illustrations

   The README's example asks for four images in the default style for a pasted article. A single concept also works: name the idea and ask for one image.

```text
Use $ian-xiaohei-illustrations 把下面这篇文章生成 4 张小黑怪诞正文配图。
要求：16:9 横版、纯白背景、黑色手绘线稿、少量红橙蓝中文手写批注。

<粘贴文章>
```

5. Review and fix

   AI image models can produce wrong characters, made-up labels, style drift or extra titles, so check each image. The README advises cutting the number of labels and regenerating when the Chinese text comes out badly, and the skill can edit an image, for example to remove a title in the top-left corner.

## When to use it

- Illustrate a Chinese blog post, newsletter or social post with a consistent set of hand-drawn explainers instead of stock images
- Turn an abstract claim or methodology step into one concrete visual metaphor that readers remember
- Plan where an article actually needs pictures before spending any image-generation runs
- Keep a recognisable personal illustration style across a content workflow that runs through Codex
