Skip to content
Skills Library
Marketing & content · Automation

article-batch-illustration

/article-batch-illustration

Analyze a complete Markdown article, plan a restrained set of illustration positions, and generate consistent article images through Cowrite's bundled image-studio. Use for 整篇配图, 批量配图, 给文章配图, or pasted Cowrite full-page illustration commands.

Repository
cowrite ↗
Licence
MIT
Last repository change
02.08.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 02.08.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Analyze a complete Markdown article, plan a restrained set of illustration positions, and generate consistent article images through Cowrite's bundled image-studio. Use for 整篇配图, 批量配图, 给文章配图, or pasted Cowrite full-page illustration commands.

Original author description

Analyze a complete Markdown article, plan a restrained set of illustration positions, and generate consistent article images through Cowrite's bundled image-studio. Use for 整篇配图, 批量配图, 给文章配图, or pasted Cowrite full-page illustration commands.

How it works

  1. Fixed Cowrite profile
  2. Phase 1: analyze and select positions
  3. Phase 2: establish one visual system
  4. Phase 3: generate, verify, upload
  5. Phase 4: revision-safe insertion
Original SKILL.md headings · 63 lines, 567 words
SKILL.md preview
---
name: article-batch-illustration
description: Analyze a complete Markdown article, plan a restrained set of illustration positions, and generate consistent article images through Cowrite's bundled image-studio. Use for 整篇配图, 批量配图, 给文章配图, or pasted Cowrite full-page illustration commands.
---

# Article Batch Illustration for Cowrite

Plan and generate a coherent illustration set for one complete Cowrite Markdown page. This Skill owns article analysis and placement. The bundled `image-studio` Skill owns prompt assembly and generation through Codex's built-in `image_gen` tool.

## Fixed Cowrite profile

- Output: PNG, 16:9, 2K
- Image type: image-studio type D / article logic illustration
- Generation path: Codex built-in `image_gen` tool only; one tool call per image
- Language: Simplified Chinese; technical abbreviations may remain English
- Count: normally 2-6; use fewer for short articles
- Placement: after an exact, unique Markdown heading or paragraph anchor
- Page safety: never rewrite the source article; insert only successful final images

Never use LabNana, Gemini, an API/CLI image generator, an embedded API key, web image search, or another model. If built-in `image_gen` is unavailable or fails, report the failure and leave the page unchanged.

## Phase 1: analyze and select positions

1. Read the latest Cowrite page through `cowrite_get_page`.
2. Ignore frontmatter, references, footnotes, existing delivery links, and existing images whose alt text starts with `文章配图`.
3. Split primarily on H2/H3 headings. For heading-free prose, use major topic transitions.
4. For every candidate, record:
   - exact unique anchor from the current Markdown;
   - one-sentence core point;
   - 3-5 key concepts;
   - best structure: concept, flow, comparison, hierarchy, relationship, or matrix.
5. Select only positions where a diagram materially improves comprehension. Do not illustrate every section and do not create decorative filler.
6. Keep the set between 2 and 6 unless the article is too short. Prefer fewer, stronger images.

## Phase 2: establish one visual system

Choose one image-studio style for the whole set based on the article:

- product/general explanation: `minimal` or `notion`
- data/research: `editorial-infographic` or `scientific`
- technical systems: `blueprint`
- education/personal narrative: `sketch-notes`
- culture/aesthetics: `chinese-elegance`

Lock the same background, palette, line weight, typography, grid, corner radius, and icon language across every prompt. Each image must express one point, use generous whitespace, contain at most 1-3 short labels, and contain no logo, watermark, page number, photorealistic filler, or complex gradient.

## Phase 3: generate, verify, upload

For each selected position in article order:

1. Assemble a complete prompt using bundled image-studio's article-logic type, chosen style, base template, and the section's core point.
2. Repeat the full shared visual identity in every prompt; do not assume session memory.
3. Call Codex's built-in `image_gen` once for each distinct image. Express 16:9 composition and 2K-quality intent in every prompt; do not invent CLI flags or call a script.
4. Inspect every returned image, then copy the accepted saved result into a writable project directory. Verify that the copied file exists, is readable, and is a non-empty raster image. Record failures and continue.
5. Upload only verified accepted images with `cowrite_upload_asset`.

## Phase 4: revision-safe insertion

1. Re-read the latest page after generation and upload.
2. Confirm every exact anchor still exists once. Skip missing or ambiguous anchors.
3. Insert from the bottommost anchor toward the top so earlier insertions do not disturb later placement.
4. Use `cowrite_insert_after` with the latest returned revision each time.
5. Markdown format: `![文章配图 01:段落标题](url)`. Number by original article order even though insertion executes in reverse.
6. On a revision conflict, re-read and retry once. Never replace the full article merely to add images.

Return the number of planned, generated, inserted, skipped, and failed images, plus concise failure reasons.

Versions

The database has no other skills named article-batch-illustration.

Database snapshot: 13.11.2026 · package version 75d0d255779e (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90image-studio
    Generate Cowrite article illustrations, Xiaohongshu images, presentation visuals, covers, and structured diagrams with Codex's built-in image_gen tool. Use for 配图, 整篇配图, 小红书图片, PPT 图片, 封面, 逻辑图, 流程图, 架构图, or any Cowrite task that needs raster image generation.
  • 90cowrite
    Write or edit Markdown pages in the user's local Cowrite canvas. Use when the user asks to create an article/document "in cowrite", modify existing cowrite content, or fulfill a cowrite page's creation prompt. Also triggers on pasted commands that mention cowrite page IDs.
  • 95generate-image
    Generate images using AI (OpenAI GPT Image or Stability AI). Use when the user asks to generate an image, create an AI image, make an illustration, or produce artwork from a text prompt.
  • 100gimi-illustration
    Multi-style illustrations from Chinese article text (配图 / illustration): quirky sketch, warm storybook, product proposal; OR custom IP enrollment (自定义 IP / 录入 IP / 上传形象 / 新建 IP). When the user is enrolling a custom IP: do NOT generate a poster or illustration first — load…
  • 100aliyun-solution-article-illustrator
    Use when the user needs an end-to-end article illustration workflow in this repository that preserves Type x Style planning, loads article-illustration preferences, recommends Alibaba Cloud image backends, and produces a Markdown article with inserted local image references.
  • 100cowrite
    中文网文共写模式(Co-Write)。当用户想"人机一起写"而不是整章甩给AI、卡在"下一句/下一段写什么"、要AI接着自己写的往下续、要一次给几个方向的版本(推荐+备选)挑一个、或想只定目标/冲突/情绪让AI出正文时使用。三档:Auto自动写、Assist辅助写(我写一点AI补一点)、Director导演模式(我定方向AI出多版)。

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.