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.
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-hardeningRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install social-metadata-hardening in Claude Code
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/social-metadata-hardening ~/.gemini/antigravity-cli/skills/social-metadata-hardeningAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install social-metadata-hardening in Antigravity CLI
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
ANo 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 →Box lets an AI assistant search, read, upload, download, move, rename, delete, restore and share Box content. It also manages comments and metadata. It suits people who work with files stored in Box.
Guides AI assistants in using n8n-mcp MCP tools to search nodes, validate configs, browse templates and manage n8n workflows. Aimed at people building n8n workflows through MCP.
Manages citations across the research and writing process. It covers searching Google Scholar and PubMed, converting DOIs, PMIDs and arXiv IDs to BibTeX, and validating bibliographies. It is for researchers building bibliographies for manuscripts or theses.
Exa Search is a skill that guides an AI assistant to use the Exa MCP server for neural search. It covers web pages, code, companies, and people, and is for users who need current information or research during development tasks.
Runs recent community and social trend research over the last 30 days. It suits teams who need to know what people are saying now about a topic or launch.
seo-flow adds the FLOW SEO framework to Claude SEO. It surfaces stage-specific AI prompts from the FLOW knowledge base across the Find, Leverage, Optimize and Win stages. It is for SEO practitioners who want evidence-led prompts.
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.
