social-metadata
Skill5 starsChanged 37 days agoMITView on GitHub
Audit and remediate Open Graph tags (og:title, og:description, og:image, og:url), Twitter/X card metadata, share-title entity parity, and brand favicons for rich link previews.
In this repository24 other files it gives its agents.
- one-step-seoSkill
- accessibility-seoSkill
- answer-engine-optimizationSkill
- content-qualitySkill
- core-web-vitalsSkill
- duplicate-contentSkill
- ecommerce-seoSkill
- entity-optimizationSkill
- geo-optimizationSkill
- http-statusSkill
- image-seoSkill
- internal-linkingSkill
- international-seoSkill
- javascript-seoSkill
- llms-txtSkill
- local-seoSkill
- onpage-optimizationSkill
- schema-validationSkill
- security-hygieneSkill
- seo-auditSkill
- seo-fixSkill
- seo-regressionSkill
- sitemap-robotsSkill
- technical-seoSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 0 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Run a focused social preview audit via --skills social-metadata (aliases: open-graph, social-cards, og-tags).
- Very specific: line 28
Ensure og:url matches report.finalUrl / report.page.canonical (W02-og-url P3) so share counters and canonical previews never point to …
- Very specific: line 30
Verify og:title names the same entity/topic as report.page.title (G04-entity P3) — omitting a " | Brand" suffix is fine, completely …
- Very specific: line 35
Run npx one-step-seo fix ./dist --only og,og-url,twitter-card,favicon --url <canonical-url> --og-image <https-image-url> to generate a …
- Very specific: line 67
Never invent placeholder og:image URLs when running fix --apply — always pass a real, publicly reachable https:// image URL via --og-image …
- Very specific: line 68
Always inspect the one-step-seo fix dry-run diff and confirm with the user before passing --apply.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
social-metadata — Open Graph, Social Cards & Brand Preview Hygiene
1. Description & Activation Criteria
Activate social-metadata when the user wants to:
- Fix broken, blank, or mismatched link previews across Slack, Discord, LinkedIn, X/Twitter, iMessage, WhatsApp, Facebook, and AI chat link unfurlers.
- Remediate incomplete Open Graph tags (
O06-ogP2), missing favicons (O07-faviconP2), missing Twitter cards (W01-socialP3),og:urlcanonical mismatches (W02-og-urlP3), orog:titlevs<title>entity drift (G04-entityP3). - Run a focused social preview audit via
--skills social-metadata(aliases:open-graph,social-cards,og-tags).
2. Inputs & Prerequisites
- Target: Live URL or local HTML file/build directory.
- Automated fixer support (
one-step-seo fix):og(O06-og),og-url(W02-og-url),twitter-card(W01-social), andfavicon(O07-favicon) all have built-in additive dry-run fixers inlib/fix.mjs!
3. Step-by-Step Workflow
- Run a social-metadata audit:
- Execute
npx one-step-seo page <url> --skills social-metadata --out ./seo-report.
- Execute
- Complete Open Graph essentials (
O06-og,W02-og-url):O06-og(P2) requires all three core properties:og:title,og:description, and an absolutehttps://og:image(recommended1200×630PNG/JPG/WebP).- Ensure
og:urlmatchesreport.finalUrl/report.page.canonical(W02-og-urlP3) so share counters and canonical previews never point to staging orlocalhostURLs.
- Align share title with document entity (
G04-entity):- Verify
og:titlenames the same entity/topic asreport.page.title(G04-entityP3) — omitting a" | Brand"suffix is fine, completely different clickbait wording is flagged.
- Verify
- Add Twitter/X card & crisp brand icons (
W01-social,O07-favicon):- Declare
<meta name="twitter:card" content="summary_large_image">(W01-socialP3). - Declare
<link rel="icon" href="/favicon.ico" sizes="any">+ an SVG<link rel="icon" href="/favicon.svg" type="image/svg+xml">(O07-faviconP2), which Google Search also displays directly in mobile and desktop SERP snippets.
- Declare
- Preview safe mechanical fixes on local HTML (
fix):- Run
npx one-step-seo fix ./dist --only og,og-url,twitter-card,favicon --url <canonical-url> --og-image <https-image-url>to generate a unified diff before applying.
- Run
4. Tools & CLI Commands
# Single-page Open Graph, Twitter Card, and favicon audit
npx one-step-seo page https://example.com/blog/launch --skills social-metadata --out ./seo-report
# Multi-page crawl to catch staging og:url leaks or missing og:image tags
npx one-step-seo audit https://example.com --pages 25 --skills open-graph --out ./seo-report
# Preview additive social card & favicon fixes on local build HTML
npx one-step-seo fix ./dist/index.html --only og,og-url,twitter-card,favicon --url https://example.com/ --og-image https://example.com/og.png5. Evidence Requirements
- Quote exact
O06-og(title:true/false desc:true/false img:true/false),O07-favicon,W01-social,W02-og-url, andG04-entityevidencestrings fromreport.findings. - Report
report.finalUrl,report.page.title, andreport.page.canonicalforog:urlandog:titlecomparison.
6. Expected Outputs
- Social Card Readiness Matrix: Status of
og:title,og:description,og:image,og:url,twitter:card, entity alignment, and favicon. - Copy-Paste
<head>Block /fixDiff: Verified<meta property="og:*">,<meta name="twitter:*">, and<link rel="icon">tags.
7. Limitations & External Data
- Image binary fetch:
O06-ogvalidates presence ofog:imagein HTML; verifying that theog:imageURL returns HTTP200, is under 5 MB, and isn't blocked byrobots.txtforTwitterbot/facebookexternalhitrequires checking the asset URL directly. - Offline support: 100% supported offline (
--offline).
8. Safety & Approval Rules
- Never invent placeholder
og:imageURLs when runningfix --apply— always pass a real, publicly reachablehttps://image URL via--og-image(otherwisefixsafely applies partialog:title/og:descriptiononly and notes the missing image). - Always inspect the
one-step-seo fixdry-run diff and confirm with the user before passing--apply.
9. Examples
# Inspect the social-metadata skill rules
npx one-step-seo skills social-metadata
# Audit offline static pages for missing social cards
npx one-step-seo audit ./dist --pages 15 --skills social-cards --offline --out ./seo-reportDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

