No slash command · from anglesite
Generates branded Open Graph images for social sharing previews using Satori. Automatically creates site-wide and per-page OG images during design, page creation, SEO audits, and deploys.
Ships in anglesite. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate branded Open Graph images so every page has a social sharing preview. Called automatically during design, page creation, SEO audits, and deploy — not invoked directly by the owner.
/anglesite:start completes the design phase (site-wide OG image)og:image tagsTwo scripts work together:
| Script | Command | Output |
|---|---|---|
generate-images.ts | npm run ai-images | public/og-image.png (site-wide default, 1200x630) + public/apple-touch-icon.png |
generate-og-pages.ts | npm run ai-og | public/images/og/<slug>.png (per-page, 1200x630) |
Both use Satori to render HTML/CSS layouts to SVG, then rasterize to PNG via resvg. The font (Inter) is loaded from the @fontsource/inter npm package — no external fetch at build time.
BaseLayout auto-resolves og:image in this priority order:
image prop (e.g., blog post with a hero photo)ImmersiveLayout, a manually provided screenshot in public/images/experiments/<slug>.png (see below)/images/og/<slug>.png from npm run ai-og/og-image.png from npm run ai-images (fallback)Every page always emits an og:image meta tag — no page is left without a social preview.
Two OG image templates are available:
| Template | When to use | Layout |
|---|---|---|
text-only | No logo/favicon available | Page title + site name centered on brand primary color |
text-logo | public/favicon.svg exists | Logo top-left, title centered, site name below |
The script auto-selects text-logo when a favicon is present.
npm run ai-images
This creates public/og-image.png (site name on brand colors) and public/apple-touch-icon.png. Run this after any branding change.
npm run ai-og
This scans content collections (posts, services, events) and static pages, then generates an OG image for each page that lacks a custom image. Skips drafts and pages with a custom image in frontmatter.
After generation, tell the owner what happened:
"I generated social sharing preview images for your pages. When someone shares a link to your site on social media, they'll see a branded card with the page title instead of a blank preview."
If branding changed: "I regenerated your social preview images to match your new colors/logo."
The scripts read brand identity from these sources:
| Input | Source | Used for |
|---|---|---|
| Site name | SITE_NAME in .site-config | Title text on OG images |
| Primary color | --color-primary in src/styles/global.css | Background color |
| Background color | --color-bg in src/styles/global.css | Text color (for contrast) |
| Logo | public/favicon.svg | Logo in text-logo template |
If any of these change, regenerate by running both commands.
@fontsource/inter) and cached in node_modulespublic/images/og/ across buildsnode_modules is cached between deploys| Skill | Integration |
|---|---|
| start | Run npm run ai-images after design phase completes |
| design-interview | Run both commands after branding changes |
| new-page | Run npm run ai-og after creating the page |
| deploy | Run npm run ai-og before build to catch any missing images |
| seo | Run npm run ai-og when audit flags missing og:image |
| repurpose | Per-page OG images double as social card previews |
| creative-canvas | Experiment pages use owner-provided screenshots as OG images. Remind the owner to capture a screenshot of each experiment and save it to public/images/experiments/<slug>.png. If no screenshot is provided, the Satori text card is used as fallback. |
What SKILL.md sets; muted values are Claude Code's defaults
Use when the owner wants nicer link previews when pages are shared on social media or in messaging apps.
npx claudepluginhub anglesite/anglesite-skills --plugin anglesite56 skills in this plugin
/bookingEmbed appointment scheduling (Cal.com or Calendly) into the siteOther plugins' skills for the same job