Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

social-metadata-hardening

Skill by sickn33

Fixes social sharing previews so shared URLs render as rich cards on Facebook, LinkedIn, X/Twitter, WhatsApp, Telegram and other platforms. It is for developers and site owners whose links show missing, stale or wrong previews.

  • Score 88
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install social-metadata-hardening

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/social-metadata-hardening ~/.claude/skills/social-metadata-hardening

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install social-metadata-hardening in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an assistant through fixing social sharing previews for a web app. It covers Open Graph tags, Twitter card tags, absolute image URLs and the metadataBase setting. It explains common causes of broken previews, such as relative image URLs, wrong image sizes, tags added by client-side JavaScript and cached old metadata.

The skill provides a shared helper, buildSocialMetadata, with Next.js App Router examples for static and dynamic pages. It also includes an OG image checklist, platform-specific notes for Facebook, X, LinkedIn, WhatsApp, Telegram, Slack and Discord, and debugging steps using curl and platform validators. It is aimed at developers preparing public pages for launch or auditing metadata coverage.

Written from the project's SKILL.md and checked against it.

What it can do

  • Shared metadata helperBuilds Open Graph and Twitter card metadata from one buildSocialMetadata function.
  • Absolute image URLsConverts image and page paths into absolute HTTPS URLs and rejects non-HTTPS values.
  • Page-level applicationShows how to apply the helper to static pages, dynamic blog posts and the homepage.
  • OG image checklistLists size, file size, format and access requirements for Open Graph images.
  • Platform notesDescribes caching and tag behavior for Facebook, X, LinkedIn, WhatsApp, Telegram, Slack and Discord.
  • Preview debuggingExplains how to check raw HTML for tags and validate previews with platform debugger tools.
  • Pre-launch checklistProvides a checklist covering metadataBase, image specs, card type, alt text and cache refresh.

What you need

  • A Next.js App Router project (the examples use it)
  • A publicly reachable deployed URL for validation with platform debuggers

Try asking

  • Audit my blog post pages for missing Open Graph and Twitter card tags.
  • Create a buildSocialMetadata helper for my Next.js App Router site.
  • Check whether my OG image URLs are absolute, HTTPS and 1200x630px.

Good to know

  • Cannot force an immediate cache refresh on every social platform.
  • Needs publicly reachable deployed URLs for reliable platform validation.
  • Does not replace brand, accessibility or legal review of image text and preview copy.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/social-metadata-hardening/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB

Alternatives to social-metadata-hardening

All alternatives →

Compare with box, n8n-mcp-tools-expert or citation-management

social-metadata-hardening: common questions

Why does my link show no preview on social media?

The skill says this is often caused by missing og:title, og:description or og:image tags. It also notes that tags added only by client-side JavaScript are not seen by crawlers.

Which Twitter card type should I use for large images?

The skill recommends summary_large_image for full-width images. It says summary shows a tiny image.

Why do my previews still look old after a fix?

Platforms cache metadata, and the skill says some previews may stay stale after a correct fix. It suggests using each platform's debugger to fetch new scrape information.

How do I install social-metadata-hardening?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is social-metadata-hardening free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is social-metadata-hardening safe to use?

It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to social-metadata-hardening?

Similar skills: box, n8n-mcp-tools-expert, citation-management, exa-search.

social-metadata-hardening Install

Add to stack

Loading.