/posts-design:og-image <the page, e.g. homepage or pricing>from posts.design
Designs and builds Open Graph images (social previews/link previews) for Next.js sites. Searches posts.design for reference OG images matching the page type and brand, then generates an opengraph-image.tsx with the project's colors, fonts, and logo.
Ships in posts.design. 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.
You design your person's link preview image from real OG images that fit their page, then build it in their project. The
posts.design MCP (the posts server in this plugin) holds the library; every image carries its source.
Call get_my_access (free). If the posts.design tools are not connected or ask for sign-in, tell your person to connect posts.design and sign in with a free account
(in Claude, in the plugin's connectors; in Claude Code, run /mcp and choose posts.design), then ask whether to connect first or carry on
without posts.design references; if they carry on, say the work isn't grounded in the library. On the first call of the conversation, share
the plan and credits left in one line.
A search page or an opened reference costs one credit; this skill spends one to three.
Read the brand from the project before asking: colours (CSS variables, the Tailwind or theme config), fonts, logo files,
the page's title and description, and any OG image it already has (opengraph-image.*, an og:image tag, an og file
in its public folder). The best images come from the brand's font files, its logo as SVG and a real screenshot of the
page's product. You need which page the image is for; ask only for what the project doesn't hold.
If the person's brand is in the library, search its own OG images first (brand set to it, limit: 5, an empty
query, and pageType as below; nothing back costs nothing). Then call search_references with collection: "og-images", limit: 5, the product's category in a word or two as query ("invoicing"), and up to two more phrasings
in alsoQueries: what it is and who it's for ("invoicing app for freelancers"), and the look; colour and type words
match little on their own. Set pageType when the page is one of product, pricing, docs, blog, changelog, company,
careers, security or solutions; if no result is in the product's field, search once more without it. Results past
total are looser matches (matched says how), and with total 0 all of them are: judge those by how they look. Each
result's pageUrl is the page it previews.
Pick up to five that fit, preferring different brands and layouts, and say when none is in the product's field. If your
tools can show images, download their previewUrls into a temporary folder (ask first) in one command and look at
them; if they can't, work from the description, palette and classification and say you haven't seen them. Open one with
get_reference only for its exact on-image text (description.visibleText).
Say what the closest references share (layout, headline size, logo placement, product shot or none, colour) and pick one direction for the person's image, naming the reference each idea comes from. Borrow structure, not identity: their colours, type and logo, never a reference's.
Make it 1200×630 (1.91:1). The words are theirs: the page's own title or heading, never a claim you can't check (a
price, "simple", "free"). Keep any text meant to be read large enough at a third of that width (about 72 px or more at
full size), and keep text and the logo clear of the lower-left corner, where X lays the site's domain over the image;
many references put their logo there, so move it rather than copy it. With no real product screenshot, make it type-led
and say where one would go. Most platforms that preview a link read og:image, so one 1200×630 image serves them; for another size or platform, check
that platform's own documentation, and your person can read posts.design/opengraph/size.
Use the project's stack and its real assets: the logo file, a real screenshot of the product, the brand's fonts. Never draw a stand-in logo or invent UI; when the logo file is an icon alone, set the name beside it in the brand's font and say so. When the page doesn't exist yet, add only the image in its route folder and say the page still needs building; don't write the page.
opengraph-image.tsx in the page's route folder (app/ for the whole site), exporting
size (1200×630), contentType (image/png), alt, and a default function that returns an ImageResponse from
next/og. If the project's Next.js version behaves differently, its own docs are in node_modules/next/dist/docs/.
The renderer takes flexbox only (an element with more than one child needs display: "flex"; no grid), fonts as ttf,
otf or woff (not woff2) read once at module scope, images as absolute URLs or data URIs (a relative path doesn't
load), and a bundle under 500 KB, fonts and images included. Set metadataBase in the root layout's metadata so the
image URL is absolute, taking the domain from the project (README, package.json, a canonical tag) and saying where.og:image tag (absolute URL) and og:image:width, og:image:height and og:image:alt.Check that the page sets twitter:card to summary_large_image, or X shows a small square card; X takes the image from
og:image. In Next.js that is metadata.twitter.card, set wherever a page sets twitter, since a page's twitter
replaces the layout's. Say which files you changed. When the brand's font file isn't in the project, ask before fetching
one: build with a fallback that can't fail the build (the renderer's default is a sans), and name the file to add.
Install a package only after asking.
Look at the result: open the image route or the PNG, and view it at about 400 pixels wide as a timeline shows it. Check the headline reads, nothing important sits under the domain corner, and the colours hold on light and dark timelines. If you can't render it here, say so and list those checks for the person. Leave deploying to the person.
Cite each reference you used with its posts.design url and, when it differs from pageUrl, its sourceUrl. For a
profile banner, offer the x-header skill next.
get_my_access's reconnect matters only when they want to save references.rate_limited or in_progress carry retryAfterSeconds: wait that long, then retry once. Run reads one after
another, not all at once.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
og-image, social-preview, link-preview, open-graph, nextjs-og
npx claudepluginhub posts-design/mcp --plugin posts-design12 skills in this plugin
/competitor-auditAudit a brand's launch posts on posts.design - recurring formats, hooks, visual style and copy, what changed over time, and what to borrow without copying. Use when someone asks how a competitor or a brand they admire launches, announces or posts, or wants to compare their launches with another brand's./creative-processTake a piece of launch design from a blank page to export-ready files the way a working designer does - context, real references shown as pictures, a close copy of the one your person likes, every detail checked and changed until it means something for their product, iteration, a final review. Use when someone wants to design a launch post, video, OG image, header, landing section or brand asset and has no direction yet, asks how to approach it, or wants to be walked through it. For one known step, use that skill directly (launch-references, launch-brief, og-image, x-header, launch-copy)./launch-briefTurn a one-line idea for a launch post or video into the creative brief its author would have written - one committed look, moves worth copying and numbered beats, each grounded in real launches on posts.design. Use when someone has only an idea or a vibe ("a launch video for our API, like Stripe", "something bold for our funding news") and wants a brief, a concept or a creative direction before making anything./launch-copyWrite the caption for a launch post - the first line, length, line breaks, mentions and link - from how real launch posts on posts.design are written. Use when someone asks for a launch tweet, announcement copy, a caption, a hook or a first line for a launch, feature or funding post, or wants their draft caption checked against real launches./launch-referencesFind the closest real launch posts for a product on posts.design and turn them into a direction for the person's own post. Use when someone is planning a launch, announcement, feature or funding post (an image, carousel, video, OG image or X header) and wants examples, references, inspiration or a direction. For a beat-by-beat plan of a video, use launch-video-direction./launch-video-directionDirect a launch video beat by beat from real launch videos on posts.design - the hook, each beat with what is on screen and its timing, type, colour and the end card. Use when someone is planning, scripting or storyboarding a launch video, product film, demo video, teaser or announcement video, or wants to know how a launch video in the posts.design library is directed.Other plugins' skills for the same job