cover-image

Generate 1200x630 PNG blog covers and social previews from article context.

4|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/widnyana/eyay-toolkits --skill cover-image-widnyana
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cover-image
Source: https://github.com/widnyana/eyay-toolkits/tree/main/plugins/visual-gen/skills/cover-image
Command: npx skills add https://github.com/widnyana/eyay-toolkits --skill cover-image-widnyana

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

It eliminates the time-consuming, manual design work of creating consistent blog cover and Open Graph/social preview images by producing a ready-to-use PNG directly from your article content and styling rules.

Core Features & Use Cases

  • 1200x630 PNG generation: Produces a social-ready cover image as a fixed-size PNG for OG/social link previews.
  • Self-contained HTML+CSS rendering: Generates a static HTML document (no external images or JavaScript) and captures it via Chrome headless for reliable output.
  • Tone-aware design directions: Selects dark, light, or gradient styling based on the post topic (technical, tutorial, architecture, announcements).
  • Integration-ready output: Produces an image that can be referenced in Hugo front matter and OG/Twitter card metadata workflows.
  • Safe layout & readability safeguards: Enforces safe margins and visual constraints to reduce clipping and rendering issues.

Quick Start

Use the skill to create a cover image PNG for your post title by specifying the output path you want the PNG saved to.

Frequently Asked Questions about cover-image

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Open Graph images for my blog posts automatically?

You can generate Open Graph images by rendering a self-contained HTML+CSS document at exactly 1200x630 pixels and capturing it with Chrome headless. This skill outputs a ready-to-use PNG directly from your article context and styling direction.

Can I use HTML and CSS to create social preview images without external dependencies?

Yes, you can create social preview images using a self-contained HTML+CSS document that strictly enforces no external images or JavaScript. Fonts are loaded internally via @import, ensuring reliable Chrome headless rendering without external dependencies.

What is the standard size for blog cover and social sharing thumbnails?

The standard size for blog cover and social sharing thumbnails is exactly 1200x630 pixels. This fixed dimension ensures the generated PNG displays optimally across Open Graph and Twitter card metadata link previews.

Does this approach support different styling themes like dark or gradient variants?

Yes, the approach supports dark, light, and gradient styling variants selected based on your post topic. It applies tone-aware design directions for technical, tutorial, architecture, or announcement posts to match content context.

When should I avoid using automated HTML to PNG generation for cover images?

You should avoid automated HTML to PNG generation for diagram or process-flow use cases. The skill specifically excludes these scenarios, focusing on blog thumbnails and enforcing safe margins to reduce clipping in static text layouts.

How do I integrate generated PNG files into Hugo front matter workflows?

You integrate generated PNG files into Hugo front matter by specifying an output path during generation. The resulting 1200x630 PNG is integration-ready and can be referenced directly in your OG and Twitter card metadata workflows.