{"slug":"baoyu-article-illustrator","title":"\u6587\u7ae0\u914d\u56fe\u751f\u6210","description":"\u5206\u6790\u6587\u7ae0\u7ed3\u6784\uff0c\u627e\u51fa\u9700\u8981\u914d\u56fe\u7684\u4f4d\u7f6e\uff0c\u9010\u6bb5\u751f\u6210\u98ce\u683c\u7edf\u4e00\u7684\u63d2\u56fe\u3002","category":"\u526a\u8f91\u4e0e\u5305\u88c5","tags":["\u914d\u56fe","\u63d2\u56fe","\u957f\u6587"],"author":"\u5b9d\u7389","source_url":"https://github.com/JimLiu/baoyu-skills/blob/main/skills/baoyu-article-illustrator/SKILL.md","license":"MIT","status":"published","verification":"source_reviewed","verification_notes":"\u6765\u6e90 JimLiu/baoyu-skills\uff08skills/baoyu-article-illustrator/SKILL.md\uff09\uff0c\u672c\u5730\u6253\u5305\u4e0a\u4f20\uff1b\u672a\u6267\u884c\u5305\u5185\u811a\u672c\u3002","revision":"1794c49d32494261a36dba74bc56f288","created_at":"2026-10-28T07:42:45+00:00","updated_at":"2026-10-28T07:44:12+00:00","source_repo":"","source_path":"","source_commit":"","source_updated_at":"","stars":0,"proxy_score":null,"score":null,"grade":null,"dimensions":{},"evaluation":{},"installs":0,"platforms":[],"formats":[],"category_slug":"packaging","category_name":"\u526a\u8f91\u4e0e\u5305\u88c5","usage_guide":{},"read_url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator","skill_url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/SKILL.md","download_url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/download","install_url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/install","files":[{"path":"SKILL.md","bytes":17179,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/SKILL.md"},{"path":"prompts/system.md","bytes":1080,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/prompts/system.md"},{"path":"references/codex-imagegen.md","bytes":3717,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/codex-imagegen.md"},{"path":"references/config/first-time-setup.md","bytes":4431,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/config/first-time-setup.md"},{"path":"references/config/preferences-schema.md","bytes":4450,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/config/preferences-schema.md"},{"path":"references/palettes/macaron.md","bytes":1339,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/palettes/macaron.md"},{"path":"references/palettes/mono-ink.md","bytes":1780,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/palettes/mono-ink.md"},{"path":"references/palettes/neon.md","bytes":1025,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/palettes/neon.md"},{"path":"references/palettes/warm.md","bytes":1036,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/palettes/warm.md"},{"path":"references/prompt-construction.md","bytes":16697,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/prompt-construction.md"},{"path":"references/style-presets.md","bytes":5698,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/style-presets.md"},{"path":"references/styles.md","bytes":10640,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles.md"},{"path":"references/styles/blueprint.md","bytes":1844,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/blueprint.md"},{"path":"references/styles/chalkboard.md","bytes":2249,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/chalkboard.md"},{"path":"references/styles/editorial.md","bytes":1722,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/editorial.md"},{"path":"references/styles/elegant.md","bytes":1733,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/elegant.md"},{"path":"references/styles/fantasy-animation.md","bytes":1969,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/fantasy-animation.md"},{"path":"references/styles/flat-doodle.md","bytes":1869,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/flat-doodle.md"},{"path":"references/styles/flat.md","bytes":1688,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/flat.md"},{"path":"references/styles/ink-notes.md","bytes":4289,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/ink-notes.md"},{"path":"references/styles/intuition-machine.md","bytes":1850,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/intuition-machine.md"},{"path":"references/styles/minimal.md","bytes":1607,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/minimal.md"},{"path":"references/styles/nature.md","bytes":1703,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/nature.md"},{"path":"references/styles/notion.md","bytes":1636,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/notion.md"},{"path":"references/styles/pixel-art.md","bytes":1907,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/pixel-art.md"},{"path":"references/styles/playful.md","bytes":1707,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/playful.md"},{"path":"references/styles/retro.md","bytes":1682,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/retro.md"},{"path":"references/styles/scientific.md","bytes":1741,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/scientific.md"},{"path":"references/styles/screen-print.md","bytes":2680,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/screen-print.md"},{"path":"references/styles/sketch-notes.md","bytes":4704,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/sketch-notes.md"},{"path":"references/styles/sketch.md","bytes":1691,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/sketch.md"},{"path":"references/styles/vector-illustration.md","bytes":1940,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/vector-illustration.md"},{"path":"references/styles/vintage.md","bytes":1819,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/vintage.md"},{"path":"references/styles/warm.md","bytes":1760,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/warm.md"},{"path":"references/styles/watercolor.md","bytes":1815,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/styles/watercolor.md"},{"path":"references/usage.md","bytes":2425,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/usage.md"},{"path":"references/workflow.md","bytes":17940,"url":"https://shiliuai.cn/api/v2/skills/baoyu-article-illustrator/files/references/workflow.md"}],"content":"---\nname: baoyu-article-illustrator\ndescription: Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type \u00d7 Style \u00d7 Palette three-dimension approach. Use when user asks to \"illustrate article\", \"add images\", \"generate images for article\", or \"\u4e3a\u6587\u7ae0\u914d\u56fe\".\nversion: 1.117.4\nmetadata:\n  openclaw:\n    homepage: https://github.com/JimLiu/baoyu-skills#baoyu-article-illustrator\n---\n\n# Article Illustrator\n\nAnalyze articles, identify illustration positions, generate images with Type \u00d7 Style \u00d7 Palette consistency.\n\n## User Input Tools\n\nWhen this skill prompts the user, follow this tool-selection rule (priority order):\n\n1. **Prefer built-in user-input tools** exposed by the current agent runtime \u2014 e.g., `AskUserQuestion`, `request_user_input`, `clarify`, `ask_user`, or any equivalent.\n2. **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.\n3. **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.\n\nConcrete `AskUserQuestion` references below are examples \u2014 substitute the local equivalent in other runtimes.\n\n## Image Generation Tools\n\nWhen this skill needs to render an image, resolve the backend in this order:\n\n1. **Current-request override** \u2014 if the user names a specific backend in the current message, use it.\n2. **Saved preference** \u2014 if `EXTEND.md` sets `preferred_image_backend` to a backend available right now, use it.\n3. **Auto-select** (when the preference is `auto`, unset, or the pinned backend isn't available):\n   - **Codex (`imagegen`)** \u2014 first, inspect your available-skills / tool inventory. If a skill named `imagegen` is listed, you are running inside Codex and MUST use it: invoke via the `Skill` tool with `skill: \"imagegen\"`, passing the saved prompt file's content (plus output path and aspect ratio per Codex `imagegen`'s own args). Codex `imagegen` is the official raster backend in that runtime and outranks any non-native skill (e.g., `baoyu-image-gen`) unless the user has explicitly pinned a different `preferred_image_backend`.\n   - **Codex via `codex exec` (`codex-imagegen`)** \u2014 if the current runtime exposes no native `imagegen` skill but the `codex` CLI is on `PATH` with an active `codex login`, route through `baoyu-image-gen --provider codex-cli` (preferred), or \u2014 if baoyu-image-gen is unavailable \u2014 invoke the bundled wrapper directly. Details, parameters, and the runtime-discovery procedure live in [references/codex-imagegen.md](references/codex-imagegen.md) \u2014 load that file only when this branch is selected.\n   - **Cursor (`GenerateImage`)** \u2014 if the runtime exposes a native `GenerateImage` tool, you are running inside Cursor and it outranks any non-native skill the same way Codex `imagegen` does. Two hard caveats: (a) it has no aspect-ratio parameter \u2014 state the target aspect ratio / dimensions explicitly in the prompt text passed as `description`; (b) it does not accept an output directory \u2014 it saves to a tool-managed location, so after generation copy/move the file to the skill's expected output path (e.g., `outputs/.../NN-xxx.png`). Reference images go in `reference_image_paths`.\n   - **Other runtime-native tools** \u2014 if the runtime exposes a different native image tool (e.g., Hermes `image_generate`), use it the same way.\n   - Otherwise, if exactly one non-native backend is installed (e.g., `baoyu-image-gen`), use it.\n   - Otherwise (multiple non-native backends with no runtime-native tool), ask the user once \u2014 batch with any other initial questions.\n4. **If none are available**, tell the user and ask how to proceed.\n\n**\u26d4 Never substitute SVG, HTML, canvas, or other code-based rendering for raster image generation.** Codex `imagegen`'s own description says it should be used \"when the output should be a bitmap asset rather than repo-native code or vector.\" If you cannot resolve a raster backend via step 3, fall through to step 4 and ask the user \u2014 do **not** silently emit SVG, write inline `<svg>` markup, or produce HTML/CSS art as a substitute. This applies even if the article/section seems \"diagram-like\": the consumer skill calling this rule has already decided that a raster image is what it needs.\n\n**\u26d4 Never repair rendered text by painting over a generated bitmap.** Do not use ImageMagick, Pillow, Canvas, SVG, HTML/CSS, OCR scripts, or any other programmatic overlay to cover, rewrite, erase, stroke, or replace labels, captions, or any other text inside an already generated illustration. If text is wrong or unclear, regenerate from a corrected prompt, redraw with less or no on-image text, or ask the user which imperfect candidate to keep.\n\nSetting `preferred_image_backend: ask` forces the step-3 prompt every run regardless of available backends. Users change the pinned backend via the `## Changing Preferences` section below.\n\n**Prompt file requirement (hard)**: write each image's full, final prompt to a standalone file under `prompts/` (naming: `NN-{type}-[slug].md`) BEFORE invoking any backend. The backend receives the prompt file (or its content); the file is the reproducibility record and lets you switch backends without regenerating prompts.\n\nConcrete tool names (`imagegen`, `GenerateImage`, `image_generate`, `baoyu-image-gen`) above are examples \u2014 substitute the local equivalents under the same rule.\n\n## Batch Generation Policy\n\nAfter every prompt file for the run has been saved and verified, generate images in batches by default.\n\nPriority order:\n\n1. Use the chosen backend's native batch / multi-task interface if it exists. Each task must keep its own prompt file, output path, aspect ratio, and direct reference images.\n2. If no native batch interface exists but the runtime can issue parallel tool calls, dispatch up to `generation_batch_size` images at a time. Default: `4`. An explicit user request in the current message, such as `--batch-size 4` or \"\u5e76\u884c4\u5f20\u4e00\u8d77\u751f\u6210\", overrides EXTEND.md.\n3. If neither native batch nor parallel tool calls are available, generate sequentially.\n\nRules:\n\n- Never start the first batch until all prompt files for that batch exist on disk.\n- Retry failed items once without regenerating successful items.\n- Do not use subagents merely to parallelize image rendering. Use subagents only for separate prompt iteration or creative exploration.\n\n## Confirmation Policy\n\nDefault behavior: **confirm before generation**.\n\n- Treat explicit skill invocation, a file path, matched signals/presets, and `EXTEND.md` defaults as **recommendation inputs only**. None of them authorizes skipping confirmation.\n- Do **not** start Step 4 or later until the user completes Step 3.\n- Skip confirmation only when the current request explicitly says to do so, for example: \"\u76f4\u63a5\u751f\u6210\", \"\u4e0d\u7528\u786e\u8ba4\", \"\u8df3\u8fc7\u786e\u8ba4\", \"\u6309\u9ed8\u8ba4\u51fa\u56fe\", or equivalent wording.\n- If confirmation is skipped explicitly, state the assumed type / density / style / palette / language / backend in the next user-facing update before generating.\n\n## Reference Images\n\nUsers may supply reference images via `--ref <files...>` or by providing file paths / pasting images in conversation. Refs guide style, palette, composition, or subject for specific illustrations.\n\nFull detection, storage, and processing rules are in [references/workflow.md](references/workflow.md) (Step 1.0 saves to `references/NN-ref-{slug}.{ext}`; Step 5.3 processes per-illustration usage `direct | style | palette`). When the chosen backend supports batch input, `direct`-usage entries in each prompt file's `references:` frontmatter should be propagated into its batch payload so backends can pass them through (e.g. `baoyu-image-gen` accepts `ref` per task).\n\n## Three Dimensions\n\n| Dimension | Controls | Examples |\n|-----------|----------|----------|\n| **Type** | Information structure | infographic, scene, flowchart, comparison, framework, timeline |\n| **Style** | Rendering approach | notion, warm, minimal, blueprint, watercolor, elegant |\n| **Palette** | Color scheme (optional) | macaron, warm, neon \u2014 overrides style's default colors |\n\nCombine freely: `--type infographic --style vector-illustration --palette macaron`\n\nOr use presets: `--preset edu-visual` \u2192 type + style + palette in one flag. See [Style Presets](references/style-presets.md).\n\n## Types\n\n| Type | Best For |\n|------|----------|\n| `infographic` | Data, metrics, technical |\n| `scene` | Narratives, emotional |\n| `flowchart` | Processes, workflows |\n| `comparison` | Side-by-side, options |\n| `framework` | Models, architecture |\n| `timeline` | History, evolution |\n\n## Styles\n\nSee [references/styles.md](references/styles.md) for Core Styles, full gallery, and Type \u00d7 Style compatibility.\n\n## Workflow\n\n```\n- [ ] Step 1: Pre-check (EXTEND.md, references, config)\n- [ ] Step 2: Analyze content\n- [ ] Step 3: Confirm settings (AskUserQuestion)\n- [ ] Step 4: Generate outline\n- [ ] Step 5: Generate images\n- [ ] Step 6: Finalize\n```\n\n### Step 1: Pre-check\n\n**1.5 Load Preferences (EXTEND.md) \u26d4 BLOCKING**\n\nCheck EXTEND.md in priority order \u2014 the first one found wins:\n\n| Priority | Path | Scope |\n|----------|------|-------|\n| 1 | `.baoyu-skills/baoyu-article-illustrator/EXTEND.md` | Project |\n| 2 | `${XDG_CONFIG_HOME:-$HOME/.config}/baoyu-skills/baoyu-article-illustrator/EXTEND.md` | XDG |\n| 3 | `$HOME/.baoyu-skills/baoyu-article-illustrator/EXTEND.md` | User home |\n\n| Result | Action |\n|--------|--------|\n| Found | Read, parse, display summary |\n| Not found | \u26d4 Run [first-time-setup](references/config/first-time-setup.md) |\n\nFull procedures: [references/workflow.md](references/workflow.md#step-1-pre-check)\n\n### Step 2: Analyze\n\n| Analysis | Output |\n|----------|--------|\n| Content type | Technical / Tutorial / Methodology / Narrative |\n| Purpose | information / visualization / imagination |\n| Core arguments | 2-5 main points |\n| Positions | Where illustrations add value |\n\n**CRITICAL**: Metaphors \u2192 visualize underlying concept, NOT literal image.\n\nFull procedures: [references/workflow.md](references/workflow.md#step-2-setup--analyze)\n\n### Step 3: Confirm Settings \u26a0\ufe0f\n\n**Hard gate**: this step is mandatory per the [Confirmation Policy](#confirmation-policy) \u2014 Steps 4+ cannot start until the user confirms here (or explicitly opts out with \"\u76f4\u63a5\u751f\u6210\" / equivalent wording in the current request).\n\n**ONE AskUserQuestion, max 4 Qs. Q1-Q2 REQUIRED. Q3 required unless preset chosen.**\n\n| Q | Options |\n|---|---------|\n| **Q1: Preset or Type** | [Recommended preset], [alt preset], or manual: infographic, scene, flowchart, comparison, framework, timeline, mixed |\n| **Q2: Density** | minimal (1-2), balanced (3-5), per-section (Recommended), rich (6+) |\n| **Q3: Style** | [Recommended], minimal-flat, sci-fi, hand-drawn, editorial, scene, poster, Other \u2014 **skip if preset chosen** |\n| Q4: Palette | Default (style colors), macaron, warm, neon \u2014 **skip if preset includes palette or preferred_palette set** |\n| Q5: Language | When article language \u2260 EXTEND.md setting |\n\nFull procedures: [references/workflow.md](references/workflow.md#step-3-confirm-settings-)\n\n### Step 4: Generate Outline\n\nSave `outline.md` with frontmatter (type, density, style, palette, image_count) and entries:\n\n```yaml\n## Illustration 1\n**Position**: [section/paragraph]\n**Purpose**: [why]\n**Visual Content**: [what]\n**Filename**: 01-infographic-concept-name.png\n```\n\nFull template: [references/workflow.md](references/workflow.md#step-4-generate-outline)\n\n### Step 5: Generate Images\n\n\u26d4 **BLOCKING: Prompt files MUST be saved before ANY image generation.** This is a hard requirement regardless of which backend is chosen \u2014 the prompt file is the reproducibility record.\n\n1. For each illustration, create a prompt file per [references/prompt-construction.md](references/prompt-construction.md)\n2. Save to `prompts/NN-{type}-{slug}.md` with YAML frontmatter\n3. Prompts **MUST** use type-specific templates with structured sections (ZONES / LABELS / COLORS / STYLE / ASPECT)\n4. LABELS **MUST** include article-specific data: actual numbers, terms, metrics, quotes\n5. **DO NOT** pass ad-hoc inline prompts to `--prompt` without saving prompt files first\n6. Select the backend via the `## Image Generation Tools` rule at the top: use whatever is available; if multiple, ask the user once. Do this once per session before any generation.\n   - **`codex-imagegen` invocation**: when the rule resolves to `codex-imagegen`, see [references/codex-imagegen.md](references/codex-imagegen.md) for the invocation contract (preferred `baoyu-image-gen --provider codex-cli` path, runtime wrapper discovery, parameter notes, stdout schema, batch semantics).\n7. **Execution strategy**: Generate in batches per the `## Batch Generation Policy`: backend native batch first, runtime parallel tool calls second, sequential only as fallback. Default batch size is 4 unless EXTEND.md or the current request overrides it.\n8. Process references (`direct`/`style`/`palette`) per prompt frontmatter\n9. Apply watermark if EXTEND.md enabled\n10. Generate from saved prompt files; retry once on failure\n\nFull procedures: [references/workflow.md](references/workflow.md#step-5-generate-images)\n\n### Step 6: Finalize\n\nInsert `![description]({relative-path}/NN-{type}-{slug}.png)` after paragraphs. Path computed relative to article file based on output directory setting.\n\n```\nArticle Illustration Complete!\nArticle: [path] | Type: [type] | Density: [level] | Style: [style] | Palette: [palette or default]\nImages: X/N generated\n```\n\n## Output Directory\n\nOutput directory is determined by `default_output_dir` in EXTEND.md (set during first-time setup):\n\n| `default_output_dir` | Output Path | Markdown Insert Path |\n|----------------------|-------------|----------------------|\n| `imgs-subdir` (default) | `{article-dir}/imgs/` | `imgs/NN-{type}-{slug}.png` |\n| `same-dir` | `{article-dir}/` | `NN-{type}-{slug}.png` |\n| `illustrations-subdir` | `{article-dir}/illustrations/` | `illustrations/NN-{type}-{slug}.png` |\n| `independent` | `illustrations/{topic-slug}/` | `illustrations/{topic-slug}/NN-{type}-{slug}.png` (relative to cwd) |\n\nAll auxiliary files (outline, prompts) are saved inside the output directory:\n\n```\n{output-dir}/\n\u251c\u2500\u2500 outline.md\n\u251c\u2500\u2500 prompts/\n\u2502   \u2514\u2500\u2500 NN-{type}-{slug}.md\n\u2514\u2500\u2500 NN-{type}-{slug}.png\n```\n\nWhen input is **pasted content** (no file path), always uses `illustrations/{topic-slug}/` with `source-{slug}.{ext}` saved alongside.\n\n**Slug**: 2-4 words, kebab-case. **Conflict**: append `-YYYYMMDD-HHMMSS`.\n\n## Modification\n\n| Action | Steps |\n|--------|-------|\n| Edit | Update prompt \u2192 Regenerate \u2192 Update reference |\n| Add | Position \u2192 Prompt \u2192 Generate \u2192 Update outline \u2192 Insert |\n| Delete | Delete files \u2192 Remove reference \u2192 Update outline |\n\nText correction policy:\n\n- If any rendered text (labels, captions, etc.) is misspelled, garbled, hard to read, or visually weak, do not patch the bitmap with code.\n- For text-correction regenerations, write a new prompt file and a new output path so the flawed candidate is preserved for comparison.\n- Post-processing is limited to crop, resize, compression, or format conversion that does not alter text or the main composition.\n\n## References\n\n| File | Content |\n|------|---------|\n| [references/workflow.md](references/workflow.md) | Detailed procedures |\n| [references/usage.md](references/usage.md) | Command syntax |\n| [references/styles.md](references/styles.md) | Style gallery + Palette gallery |\n| [references/style-presets.md](references/style-presets.md) | Preset shortcuts (type + style + palette) |\n| [references/prompt-construction.md](references/prompt-construction.md) | Prompt templates |\n| [references/config/first-time-setup.md](references/config/first-time-setup.md) | First-time setup |\n\n## Changing Preferences\n\nEXTEND.md lives at the first matching path listed in Step 1.5. Three ways to change it:\n\n- **Edit directly** \u2014 open EXTEND.md and change fields. Full schema: `references/config/preferences-schema.md`.\n- **Reconfigure interactively** \u2014 delete EXTEND.md (or ask \"reconfigure baoyu-article-illustrator preferences\" / \"\u91cd\u65b0\u914d\u7f6e\"). The next run re-triggers first-time setup.\n- **Common one-line edits**:\n  - `preferred_image_backend: auto` \u2014 default; runtime-native tool wins, falls back to the only installed backend, asks only if multiple non-native are present.\n  - `preferred_image_backend: codex-imagegen` \u2014 pin to Codex's built-in.\n  - `preferred_image_backend: baoyu-image-gen` \u2014 pin to the baoyu-image-gen skill.\n  - `preferred_image_backend: ask` \u2014 confirm backend every run.\n  - `generation_batch_size: 4` \u2014 default number of images to render concurrently when the runtime supports parallel generation calls.\n  - `preferred_type: infographic`, `preferred_style: notion`, `preferred_palette: macaron`, `language: zh`.\n  - `default_output_dir: imgs-subdir` \u2014 where to write generated images relative to the article.\n","usage":"\u8bfb\u53d6 SKILL.md\uff0c\u5e76\u6309\u9700\u8bfb\u53d6\u914d\u5957\u6587\u4ef6\uff1b\u4e0b\u8f7d ZIP \u83b7\u53d6\u5b8c\u6574\u5305\u3002\u6280\u80fd\u662f\u4efb\u52a1\u65b9\u6cd5\uff0c\u4e0d\u6388\u4e88\u65b0\u589e\u8d26\u6237\u3001\u4ed8\u8d39\u6216\u7cfb\u7edf\u6743\u9650\u3002"}
