Install
openclaw skills install @skillmelody/article-html-to-pptTurn articles into formal brand-consistent decks with gated export checks.
openclaw skills install @skillmelody/article-html-to-pptConvert articles into speakable, professionally designed slide decks. The workflow is: normalize source, build storyboard, define a formal brand-consistent visual direction, produce preview artifacts, export to PPTX or Feishu Slides, then verify honestly.
Do not mechanically slice a long article into slides. Do not let article-specific visual metaphors fragment the deck. Content-fit design must operate inside a stable visual system so the final deck feels like a deliberate, professional product from the owner.
A visual system is more than a color palette. It includes layout grid, page rhythm, typography hierarchy, footer/source pattern, caption style, shape language, evidence labels, brand marks, and export verification language.
This skill must be honest about rights, capabilities, and verification. A deck is not final merely because files were created. If the export cannot be rendered or read back, say so and deliver the best verified artifact with clear limits.
Default to formal brand-consistent deck design, unless the user explicitly asks for an experimental keynote, poster-like deck, or highly expressive editorial style.
A good default deck should feel:
Use article-specific visual metaphors as motifs, diagrams, section markers, or accent treatments, not as a reason for every slide to change background system.
Use this skill when the user asks to:
Do not use this for ordinary document editing, raw article writing, or a one-off visual image request.
Prefer inferring from local context before asking. Ask only when rights, export target, audience, or brand constraints cannot be reasonably inferred.
Required:
html-preview, pptx, feishu-slides, or both.Optional:
These checkpoints are mandatory for non-trivial decks and for any external article. Do not bury checkpoint failures in a successful-looking handoff.
Before generating an export intended for sharing, classify the source:
owned: written by the user or their team.licensed: user provided permission, template, or explicit reuse rights.external-reference: public article or third-party source used for analysis or private transformation.unknown: rights are unclear.Rules:
owned or licensed, continue normally.external-reference, produce a private/internal working deck unless the user confirms public redistribution is allowed.unknown, ask for confirmation before uploading a public or broadly shared deck.Record the decision in the handoff as Source rights: ....
Before export, state what the current environment can actually do:
| Capability | Check | If Missing |
|---|---|---|
| HTML preview | Can write and inspect local HTML | Deliver storyboard + preview source, report limit |
| PPTX export | PptxGenJS / Marp / Pandoc or local helper available | Do not promise PPTX; offer HTML or Feishu path |
| Feishu Slides create/write | Relevant Lark/Feishu scopes available | Ask for auth or deliver local preview |
| Feishu Slides readback/screenshot | Read scope or render route available | Mark Feishu verification as creation-only |
| Image upload/use | Asset rights and upload scope available | Use placeholders/prompts with captions |
The final handoff must distinguish:
Created: artifact was generated or uploaded.Rendered: artifact was opened or rendered locally.Read back: exported platform content was inspected after creation.Final: all required checks passed, or remaining limits were accepted by the user.Before batch-generating all slides, validate representative pages whenever practical:
Each gate page must pass:
If the user says the deck should be more formal, professional, or brand-consistent, reduce visual variation first. Do not defend expressive variation as the default.
Extract structured content into:
Keep source citations or file paths when available. Do not invent historical screenshots, metrics, quotes, or examples.
Create a storyboard before making slides.
Each storyboard frame should include:
Default deck shape for long articles:
Before choosing colors or XML layout, write a short visual_design_brief:
Then select one visual archetype from references/visual-design-archetypes.md, or define a task-specific archetype if none fits. Archetype selection does not override brand consistency.
Select a brand or column visual system from references/visual-systems.md if present. Use it as the primary design frame:
Allowed variation:
Avoid:
The deck must pass the brand consistency test:
For every slide, assign a visual job before writing XML/PPTX:
Reuse a stable layout library. A professional deck can vary slide type without varying the entire visual system.
For non-trivial decks, create an HTML preview before final export unless the user asks for direct PPTX only.
HTML preview should make these easy to inspect:
Use responsive slide containers or print-friendly HTML. Avoid decorative complexity that cannot survive PPTX export.
Choose the export method based on target and local capabilities:
pptx: prefer PptxGenJS or an existing slides/PPTX helper if available.feishu-slides: use the Lark/Feishu slides skill or lark-cli route when available.marp: acceptable for Markdown-first decks, especially if the deck is text-heavy and HTML/PDF/PPTX output is enough.html-preview: deliver the preview path or published app link.When using Feishu assets, route through the relevant Feishu/Lark skill instead of ad hoc API calls.
If a requested export is blocked, produce the strongest available intermediate artifact and make the missing capability explicit.
At minimum:
Do not call a deck final if only creation succeeded but rendering/readback failed or was unavailable. Use created, previewed, or needs visual readback instead.
| Failure Mode | Trigger | Required Response |
|---|---|---|
| Source rights unclear | External article, third-party images, unknown author | Ask or mark as private/internal; preserve attribution |
| Fixed brand shell | Same layout/palette ignores article meaning | Keep brand frame but add content-specific motif/diagram |
| Visual fragmentation | Backgrounds/layouts change too much | Reduce to one dominant background family and one contrast mode |
| Weak brand signal | Deck could be mistaken for generic AI output | Add consistent brand marker, footer, typography, semantic palette |
| Fake evidence | Reconstructed UI, inferred timeline, synthetic diagram | Label as reconstruction or assumption visibly |
| Scope/auth missing | Feishu/PPTX export cannot be created/read | Report exact missing capability and deliver preview/storyboard |
| Dependency missing | No pptx/marp/pandoc/helper available | Do not promise PPTX; pick available route |
| Text overflow | HTML/PPTX has clipped text or crowded slide | Reduce copy, split slide, or change layout before handoff |
| Visual mismatch | User says deck is ugly/generic/mismatched | Diagnose mismatch, revise visual brief, regenerate representative pages first |
| Platform mismatch | HTML looks good but Feishu/PPTX constraints differ | Simplify shapes/layouts and verify platform output when possible |
| Privacy leak | Tokens, raw local paths, unpublished names, account names | Redact before export and mention redaction class |
Never do these:
When source content belongs to MeowClawLab / 夜猫子弦月, first produce a professional MeowClawLab deck, then adapt content motifs inside it.
Default constraint palette:
moon-ink #14161Flunar-slate #2A3142claw-coral #FF6B5Fcopper-glow #C9824Bmist-white #F6F4EFterminal-green #2DBE7Ewarning-amber #F2B84BRecommended formal deck modes:
formal-light: mist-white / paper background, moon-ink text, coral/copper accents. Best for professional readability.formal-dark: moon-ink background, mist-white text, restrained coral/copper accents. Best for keynote mood.hybrid-formal: one dominant mode plus a limited contrast mode for cover/dividers only.Default for article-to-PPT unless otherwise specified: formal-light or hybrid-formal with light body pages.
Use colors semantically:
claw-coral: rupture, warning, action, core tension.copper-glow: warmth, human context, narrative emphasis.mist-white: reading surface, framework diagrams, tutorial clarity.terminal-green: verified/pass state, workflow continuation.warning-amber: cost/risk/caveat.Required recurring brand elements:
MeowClawLab or the user-approved brand name on content pages.Required labels for current article family:
基于功能演进复原的界面示意图,非历史截图.基于拦截逻辑复盘的示意图.For a complete deck task, produce one primary deliverable plus a short handoff.
Recommended local files:
storyboard.mdvisual-design-brief.md or visual-system.jsonbrand-consistency-check.mdslides-preview.htmldeck.pptx or Feishu Slides linkverification-report.md for non-trivial or externally shared decksHandoff should include:
For one-shot conversions, prefer run/one-shot execution and write durable output files. Do not rely on a long chat history as the deck state. When delegating to another agent, pass the source path, rights boundary, capability matrix, storyboard requirements, formal brand direction, selected brand constraints, export target, and expected final deliverable.