New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Practical Open Graph guidance for social share previews, covering the four essential tags and their implementation.

skills.sh installs
1.3K
GitHub stars
1.1K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the four essential tags (og:title, og:description, og:image, og:url) plus recommended extras like og:type, og:site_name, and image dimensions
  • Includes image rules for absolute https URLs, 1200×630 as a cross-platform starting size, and one representative image per page
  • Enforces that og:url match the canonical URL and that og and SEO copy identify the same page without requiring identical strings
  • Designed for developers adding social previews to Next.js or generic HTML sites, with Facebook and LinkedIn debugger checks

Install

$ npx -y skills add kostja94/marketing-skills --skill open-graph -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

SEO On-Page: Open Graph

Owns Open Graph writing and implementation rules for social previews. page-metadata owns the full-page lifecycle and release verification.

When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.

Scope (Social Sharing)

  • Open Graph: Facebook-originated protocol; controls preview card when links are shared on social platforms

The 4 Essential Tags

Every shareable page requires these minimum tags:

<meta property="og:title" content="Your Page Title">
<meta property="og:description" content="Your description">
<meta property="og:image" content="https://yourdomain.com/image.png">
<meta property="og:url" content="https://yourdomain.com/page">

Details

Repository
github.com/kostja94/marketing-skills
Categories
Marketing, SEO & Ads, Frontend & UI Code
First seen
May 16, 2026

More from kostja94/marketing-skills

All 171

Similar to Open Graph

More Marketing, SEO & Ads