og-image-builder

Analyze a codebase to generate brand-aligned Open Graph images with Playwright.

8|4|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/jscraik/Agent-Skills --skill og-image-builder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: og-image-builder
Source: https://github.com/jscraik/Agent-Skills/tree/main/frontend/graphics/og-image-creator
Command: npx skills add https://github.com/jscraik/Agent-Skills --skill og-image-builder

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation of Open Graph (OG) images for web pages, ensuring they are visually consistent with a brand's identity and contextually relevant to the page's content.

Core Features & Use Cases

  • Codebase Analysis: Inspects a web project to identify routes, brand colors, fonts, and logos.
  • Contextual Image Generation: Creates OG images (1200x630px) tailored to different page types (landing, article, product, etc.).
  • Framework Integration: Provides guidance for integrating generated images into popular frameworks like Next.js, Astro, and React.
  • Use Case: Automatically generate social media preview images for all product pages on an e-commerce site, ensuring each image reflects the product's branding and details.

Quick Start

Analyze your codebase to generate OG images for all detected routes.

Frequently Asked Questions about og-image-builder

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

FAQPage Schema
How do I automatically generate Open Graph images for my web application routes?

To automatically generate Open Graph images, this Skill analyzes your web project codebase to extract routes, brand colors, and logos, then uses Playwright to render and save brand-aligned OG images. It inspects your project structure to identify pages and creates visually consistent social cards for each route.

Can I create contextual social cards for different page types like articles and products?

Yes, you can create contextual social cards for different page types. The Skill generates OG images tailored to specific page contexts, such as landing pages, articles, or products, ensuring each social card reflects the unique content and brand identity of that specific route.

Does this OG image generator work with Next.js and Astro frameworks?

Yes, this OG image generator works with Next.js and Astro frameworks. It analyzes your codebase to detect routes and provides specific integration guidance for popular frameworks including Next.js, Astro, and React to seamlessly embed the generated social card images.

Do I need Playwright installed to render OG images from my codebase?

Yes, you need Playwright installed to render OG images from your codebase. The Skill relies on Playwright as a core dependency to programmatically render web pages and capture the 1200x630px Open Graph images based on your extracted brand identity and page context.

What is the best way to ensure my OG images match my website's brand identity?

The best way to ensure OG images match your brand identity is using a codebase analysis tool that automatically extracts your brand colors, fonts, and logos. This Skill inspects your web project to apply those exact brand elements to every generated social card.