generate-blog-cover

Generate blog cover images via dice-driven prompts and upload to Cloudflare R2.

Updated Jan 19, 2026
One-click install
npx skills add https://github.com/dMcCaffree/personal-story --skill generate-blog-cover
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-blog-cover
Source: https://github.com/dMcCaffree/personal-story/tree/main/.cursor/skills/generate-blog-cover
Command: npx skills add https://github.com/dMcCaffree/personal-story --skill generate-blog-cover

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires dotenv, replicate, @fal-ai/client, @aws-sdk/client-s3, and includes scripts (resource) components.

What problem does it solve?

Generate a unique, compelling blog cover image automatically by describing the article and generating an image through AI, ensuring visual consistency with your content.

Core Features & Use Cases

  • End-to-end cover generation: From MDX metadata to a hosted image on Cloudflare R2.
  • Dice-driven prompts: Uses a dice system to produce diverse, creative prompts.
  • Automated publishing-ready assets: Updates cover metadata in MDX files to point to the new image.

Quick Start

Run the generate-blog-cover script with a blog slug to generate and publish a cover image.

Frequently Asked Questions about generate-blog-cover

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

FAQPage Schema
How do I generate AI cover images for my MDX blog posts automatically?

To generate AI cover images for MDX blog posts automatically, you run a script with a blog slug. It reads the MDX metadata, creates a prompt using a dice system, generates the image via AI, uploads it to Cloudflare R2, and updates the MDX metadata to reference the new cover.

How does the dice system work for creating diverse AI image prompts?

The dice system works by rolling 13 dice across various categories to build a unique, creative prompt for the AI image generator. This mechanism ensures every generated blog cover image features diverse visual characteristics while remaining contextually relevant to the article.

Can I use Cloudflare R2 to host and update MDX blog cover images automatically?

Yes, you can use Cloudflare R2 to host and update MDX blog cover images automatically. The workflow uploads the generated AI image directly to your R2 storage and then modifies the MDX file metadata to point to the newly hosted cover image URL.

Do I need specific environment variables to generate and publish AI blog covers?

Yes, you need specific environment variables to generate and publish AI blog covers. The workflow relies on dependencies like dotenv, replicate, and the FAL AI client, requiring proper API credentials and storage configurations configured in your environment to execute the end-to-end automation.

What's the best way to override the AI prompt dice rolls for a specific blog cover?

The best way to override the AI prompt dice rolls for a specific blog cover is to use pinned dice overrides. This feature allows you to lock specific category outcomes, ensuring the generated prompt and resulting image align precisely with your visual design preferences.