Skip to main content
skill CX Codex

og-image-design — Claude Code skill: OG cards, what it does, install

og-image-design builds the image behind a link preview: per-network sizes, text layout rules, and rendering through the inference.sh CLI.

no license 244 installs ★ 31 updated 2026-08-31

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add 101-skills/superpowers --skill og-image-design -a claude-code
Open on GitHub

What og-image-design does

The skill collects what a link preview needs. You get image sizes for Facebook, Twitter/X and LinkedIn, plus limits on headline length and padding from the edges. A fallback that works everywhere: 1200 x 630 px, PNG or JPG, under 5 MB. Dark cards stand out in feeds that are mostly white, and the templates here are dark.

Nothing gets drawn by hand. A block of HTML goes into the html field and the infsh/html-to-image app renders it through the belt CLI. For a cover with no text, falai/flux-dev-lora takes a prompt and the 1200 x 630 dimensions. Headline, subtitle and gradient all sit in the markup.

belt login comes first; the run commands assume an authenticated CLI. Tool access is pinned to Bash(belt *), so the skill stays inside belt. There is also a meta tag reference: og:title, og:description, og:image, og:url, and Twitter's summary_large_image card.

What it helps with

  • turn one layout into previews for Facebook and LinkedIn
  • check whether a headline fits the character limit
  • render a 1200 x 630 card without a design tool
  • wire up og:image and twitter:card on a page
  • pick text colors that pass the WCAG AA contrast bar

Example prompts for the agent

  • Make an OG image for my post on build times: dark gradient, headline under 60 characters, 1200 x 630.
  • Audit the og:title and twitter:card tags on this page for LinkedIn previews.
  • Generate a text-free cover with falai/flux-dev-lora at 1200 x 630.

How to install og-image-design

1Skills CLI (Vercel)

npx skills add 101-skills/superpowers --skill og-image-design -a claude-code

2Manually: put the files in place

~/.claude/skills/og-image-design/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/og-image-design/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about og-image-design

How do I install og-image-design in Claude Code?

Run npx skills add 101-skills/superpowers --skill og-image-design -a claude-code. The skill file ends up at ~/.claude/skills/og-image-design/SKILL.md.

What does og-image-design do?

It guides the making of a social sharing image: network-specific sizes and limits, layout rules for text, and ready commands that render the card through infsh/html-to-image.

What do I need before generating an image?

The belt CLI from inference.sh and a belt login session. The CLI itself comes from npx skills add belt-sh/cli, and belt app run will not go through without signing in.

Similar skills

All skills for Design →

From the same set81

The whole set →
image-upscaling The image-upscaling skill for Claude Code enlarges and enhances images through inference.sh using belt, for print or high-resolution displays. CX Codex +1 246installs text-to-speech text-to-speech gives the agent ready belt commands for speech synthesis: Kokoro, ElevenLabs, Inworld TTS-2 with emotion steering, and a few more models. CX Codex +1 246installs google-veo Generates videos with Google Veo models via the inference.sh CLI. Useful when creating cinematic clips and timelapses directly from text prompts. CX Codex +1 246installs content-repurposing content-repurposing is a Claude Code skill that reshapes one source into content for different channels. Ask it to adapt a blog post, podcast, or video into another format. CX Codex +1 245installs elevenlabs-sound-effects elevenlabs-sound-effects generates audio effects from text prompts using ElevenLabs and the inference.sh CLI tool. CX Codex +1 244installs ai-product-photography ai-product-photography turns a product brief into commercial images through the inference.sh CLI: studio shots, lifestyle scenes and marketplace cards. CX Codex +1 243installs background-removal background-removal cuts the background out of photos with the BiRefNet model through the belt CLI and returns a transparent PNG. Handy for product shots and headshots. CX Codex +1 243installs tools-ui tools-ui is a skill for building React/Next.js interfaces for agent tool calls, showing progress, approval prompts, and results. It makes tool activity visible before and after execution. CX Codex +1 243installs

Project sponsors

Companies that keep this analytics open