Agent skill · Content & Marketing

social-metadata-hardening

Fix social sharing previews so URLs render as rich cards on Facebook, LinkedIn, X/Twitter, WhatsApp, Telegram, and more. Covers OG tags, Twitter cards, absolute image URLs, and debugging.

Nick44,086★ · +407/wk · 1 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add sickn33/agentic-awesome-skills --skill social-metadata-hardening --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 7 KB
Bundled scripts: none
Version: 1.0.0
Declared author: Whoisabhishekadhikari
Path: skills/social-metadata-hardening/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Social Metadata Hardening Skill Fix social sharing so every important URL unfurls as a rich card across all platforms. --- ## When to Use - Use when shared links show missing, stale, cropped, or incorrect previews on social and chat platforms. - Use when auditing Open Graph, Twitter/X card, image URL, alt text, or `metadataBase` coverage in a web app. - Use before launch when every public page needs predictable rich previews across LinkedIn, X, Facebook, WhatsApp, Slack, Discord, and Telegram. --- ## Why Previews Break | Problem | Root Cause | |---------|-----------| | No preview at all | Missing og:title, og:description, or og:image | | Broken image | Relative URL (must be absolute) | | Wrong image size | Image not 1200×630px (OG standard) | | Plain text card | Twitter card type missing or set to `summary` | | Stale preview | Platform caching old metadata | | Metadata missing on crawl | Tags added by client-side JS (crawlers don't run JS) | --- ## The Gold Standard Metadata Block Every shareable page needs ALL of these in static HTML: ```js // Next.js App Router — lib/socialMetadata.js export function buildSocialMetadata({ title, description, path, // '/blog/my-post' image, // '

What's inside
Steps it walks through
  1. When to Use
  2. Why Previews Break
  3. The Gold Standard Metadata Block
  4. Applying the Helper
  5. Static page
  6. Dynamic page (blog post, tool page)
  7. Homepage (app/layout.js or app/page.js)
  8. OG Image Checklist
  9. Platform-Specific Notes
  10. Facebook / Meta
  11. X / Twitter
  12. LinkedIn
  13. WhatsApp / Telegram
  14. Slack / Discord
Commands it runs
Verify your OG image is reachable and correct size
curl -sI https://www.yourdomain.com/images/og/home.jpg | grep -i "content-type\|content-length\|status"
curl -s https://www.yourdomain.com/blog/my-post | grep -i "og:\|twitter:"
More from agentic-awesome-skills
All skills →
About this skill
What does the social-metadata-hardening skill do?

Fix social sharing previews so URLs render as rich cards on Facebook, LinkedIn, X/Twitter, WhatsApp, Telegram, and more. Covers OG tags, Twitter cards, absolute image URLs, and debugging.

How do I install it?

Run `npx skills add sickn33/agentic-awesome-skills --skill social-metadata-hardening --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going