blog-image-embedder
v1.0.4Analyze polished zh-CN blog markdown, generate hero + per-section image prompts, embed image placeholders into the markdown, and save updated version.
Installation
Please help me install the skill `blog-image-embedder` from SkillHub official store.
npx skills add j3ffyang/blog-image-embedder
Blog Image Embedder
Analyzes polished zh-CN markdown, generates consistent image prompts (hero + 1 per section), embeds [image:x] placeholders, saves illustrated version.
When to Use
Use after blog-polish-zhcn completes. Input is polishedPath from first skill. Triggers: "add images to my polished blog", "generate image prompts for sections".
Defaults
style:clean flat vector illustration, minimal isometric, software-engineering diagram vibebackground: default:white background with subtle gridaspectRatioHero:16:9 horizontalaspectRatioSection:16:9
Workflow Summary
- Read polished markdown from
input.polishedPath - Parse structure: Extract title + ## section headings (expect 3-4 sections)
- Generate prompts:
- Hero:
[Hero of {title}]: {topic summary}, {style}, {background}, 16:9 - Section N:
[Section {N} of {title}]: {section summary}, {style}, {background}, 16:9 - Embed placeholders: Insert
nn[image:0]nnafter title,nn[image:1]nnafter first section, etc. - Save:
${outputDir}/${ts}-illustrated.md - Return:
{ illustratedPath, imagePrompts: [...], imagePaths: [...] }
Output Format
```json { "illustratedPath": "/home/jeff/.openclaw/workspace/contentPolished/2603142145-illustrated.md", "imagePrompts": ["Hero prompt...", "Section 1 prompt...", "Section 2 prompt..."], "imagePaths": ["2603142145-main.png", "2603142145-section1.png", "2603142145-section2.png"] }