og-image-creator

Generate per-route Open Graph images from analyzed codebases using Playwright.

28|9|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/chongdashu/cc-skills --skill og-image-creator-chongdashu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: og-image-creator
Source: https://github.com/chongdashu/cc-skills/tree/main/.claude/skills/og-image-creator
Command: npx skills add https://github.com/chongdashu/cc-skills --skill og-image-creator-chongdashu

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Open Graph image generation that studies your codebase to produce brand-aligned Open Graph images for routes and pages.

Core Features & Use Cases

  • Analyze the project to detect framework, routes, and extract brand identity (colors, fonts, logo)
  • Generate per-route OG images that match the site's design system using Playwright
  • Provide framework-specific integration guidance (Next.js, Astro, React SPAs)

Quick Start

Generate OG images for all routes based on the analyzed codebase.

Frequently Asked Questions about og-image-creator

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

FAQPage Schema
How do I generate Open Graph images automatically from my codebase?

Open Graph image generation is automated by analyzing your codebase to detect routes, extract brand identity like colors and fonts, and render per-route images at 1200x630 using Playwright. It automatically outputs the images to your public/og directory.

Can I automatically generate OG images for Next.js, Astro, and React sites?

Yes, you can generate OG images for Next.js, Astro, and React SPAs. The Skill detects your specific framework, analyzes your routes, and provides framework-specific integration guidance to ensure the Open Graph images match your site's design system.

How do I ensure my OG images match my brand colors and fonts?

To ensure your OG images match your brand, the Skill extracts your brand colors, fonts, and logo directly from your project's codebase. It then applies these design system elements to every per-route Open Graph image it renders.

Do I need Playwright installed to render Open Graph images?

Yes, Playwright is required as a dependency to render Open Graph images. The Skill relies on Playwright to render the brand-aligned OG images at the standard 1200x630 pixel dimensions and output them to your project.

What size are the Open Graph images rendered from my codebase?

The Open Graph images rendered from your codebase are 1200x630 pixels. This standard OG image size is generated by Playwright for all your site's routes and saved directly to the public/og directory.