# og-image-design

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

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 244 installs · ★ 31 repo stars
- Author: 101-skills
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/101-skills/superpowers/tree/HEAD/guides/design/og-image-design/SKILL.md
- Updated: 2026-08-31
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/og-image-design

## What it 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.

## Requirements
- Works with: LinkedIn

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add 101-skills/superpowers --skill og-image-design -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/og-image-design/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/og-image-design/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add 101-skills/superpowers --skill og-image-design -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/og-image-design/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add 101-skills/superpowers --skill og-image-design -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/og-image-design/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install 101-skills/superpowers guides/design/og-image-design
```

2. **Manually: put the files in place**
- File: `.github/skills/og-image-design/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add 101-skills/superpowers --skill og-image-design -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/101-skills/superpowers --path guides/design/og-image-design
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/og-image-design/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add 101-skills/superpowers --skill og-image-design -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/101-skills/superpowers/tree/HEAD/guides/design/og-image-design/SKILL.md

## When to use it
- 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
- 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.

## Similar
- [social-media-image-sizes](https://affpapa.org/en/nevibecode/skills/social-media-image-sizes.md) — skill · 1900 installs
- [seo-image-gen](https://affpapa.org/en/nevibecode/skills/seo-image-gen.md) — skill · 7100 installs
- [serp-markup-builder](https://affpapa.org/en/nevibecode/skills/serp-markup-builder.md) — skill · 1600 installs
- [banner-design](https://affpapa.org/en/nevibecode/skills/banner-design.md) — skill · 50900 installs
- [open-graph](https://affpapa.org/en/nevibecode/skills/open-graph.md) — skill · 1300 installs
- [web-asset-generator](https://affpapa.org/en/nevibecode/skills/web-asset-generator.md) — skill · 1000 installs

From the same set: [101-skills/superpowers](https://affpapa.org/en/nevibecode/by/101-skills/superpowers.md) — 81 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
