Install
openclaw skills install blog-polish-eng-single-imagePolish a technical blog draft into a 1000–1200 word, 4–5 section en-US article, preserve technical terms/code, and generate one consistent hero image prompt.
openclaw skills install blog-polish-eng-single-imageThis skill rewrites a technical blog draft into a polished English article and generates exactly one hero image as a PNG, using one matching hero prompt. It is intended for drafts that already contain technical content, code, commands, or product details that should be preserved while improving clarity, structure, and reading flow.
Use this skill when you want to turn a rough technical draft into a publishable article without losing domain-specific detail. The output should read naturally in en-US English, stay faithful to the original meaning, and keep technical terms, identifiers, code blocks, file paths, and command examples intact unless a correction is clearly needed.
This skill generates one hero image only. It does not create per-section images. The single hero image should summarize the whole article visually at a high level and should be consistent with the article’s subject and tone.
Use this skill when the source draft is one of the following:
Do not use this skill for short notes, changelogs, marketing copy, or posts that do not need technical preservation.
The rewrite should preserve the author’s intent while improving readability. Prefer shorter paragraphs, clearer transitions, and section headings that guide the reader through the main idea.
Rewrite the article in spoken, unofficial English that feels natural, clear, and conversational, while still preserving technical accuracy.
The skill should:
The skill should not:
draftPath points to the source markdown draft. If omitted, the skill reads the default latest draft file from the workspace. This should contain the original article text, headings, and any code samples that need preservation.
outputDir sets where the polished markdown file and image filename should be saved. If omitted, the skill uses the default polished-content directory.
subject is used to build the output filename. If not provided, the skill should infer a short slug from the article title.
style defines the visual language for the hero image. Use one style phrase consistently so the image matches the article’s mood.
background defines the backdrop for the hero image. Keep it simple and reusable across posts for consistency.
aspectRatioHero controls the hero image shape. Typical values are 16:9 horizontal or similar wide formats suitable for blog headers.
The skill produces one polished markdown file and one hero image prompt.
The polished file should contain:
The image output should contain:
This skill intentionally generates one image only.
The image should be:
The image should not be:
Maintain the meaning of the original draft. If the source contains code snippets, commands, paths, or configuration examples, keep them intact and formatted correctly. If the draft is sparse, improve clarity and organization, but do not fabricate missing technical content.
Keep the article focused and practical. Prefer specific explanations over generic filler. If the article has a narrow technical subject, the hero image should stay broad and conceptual rather than trying to depict every detail.
A draft about a Linux file synchronization workflow might be polished into a clear article with headings such as introduction, setup, common pitfalls, and conclusion. The hero image prompt could describe a clean technical illustration showing a laptop, file paths, and subtle sync arrows, but only as one overall image for the post.
The workflow should emit a single structured output object with these fields:
polishedPathimagePathimagePromptThe image must be written as a PNG file. It must use the same basename as the markdown file and be saved in the same directory as the markdown file. The skill should not emit arrays of images or prompts. It should not reference per-section image generation in the description, schema, or workflow.
Generate the image using OpenClaw’s default image model (agents.defaults.imageModel) unless an explicit image generation model is provided by the environment.