og-tags
What it does
This skill checks the social sharing tags in a page's head section and adds any that are missing. It is for site owners who want their shared links to look clear and inviting.
When to use it
- ✓When you ask the agent to check whether your pages have the right social sharing tags.
- ✓When links shared on social platforms show guessed titles or the wrong image.
- ✓When you publish new pages and want them to be ready for sharing with complete tags.
Skill link
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/og-tags/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you check my pages for social sharing tags and add any that are missing?”
5 new skills a week. 1 minute to read.
How it works
The agent looks in the page head for og:title, og:description, og:image, og:url, and og:type. It fills in any missing tags with values that are not empty and use absolute HTTPS addresses for images and URLs.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Open Graph Tags
Open Graph tags control how your pages appear when shared on Facebook, LinkedIn, Slack, and other platforms—missing or incorrect tags result in unappealing link previews that reduce click-through rates.
Quick Reference
- Include og:title, og:description, og:image, and og:url on every page
- Use absolute URLs for og:image and og:url
- og:image should be at least 1200×630 px for optimal display
- og:type defaults to 'website' if omitted, but setting it explicitly is best practice
Check
Check the <head> for Open Graph meta tags: og:title, og:description, og:image, og:url, and og:type. Verify all values are non-empty and og:image/og:url use absolute HTTPS URLs.
Fix
Add the four required Open Graph meta tags to the <head>: og:title (≤95 chars), og:description (≤200 chars), og:image (absolute HTTPS URL, 1200×630), og:url (canonical absolute URL). Add og:type='website' for standard pages.
Explain
Open Graph tags control how this page is displayed when shared on social platforms like Facebook, LinkedIn, and Slack. Without them, platforms fall back to guessing the title, description, and image, often with poor results.
Code Review
Check the rendered <head> for all five core OG properties: og:title, og:description, og:image, og:url, og:type. Verify og:image and og:url values start with 'https://'. Flag any empty content attributes. Compare og:url against the canonical tag — they must match exactly.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
FAQ
Which tags are required?
The skill lists og:title, og:description, og:image, and og:url as core tags on every page, with og:type recommended as well.
Why do the URLs need to be absolute?
Social platforms need a full address to fetch the image and page reliably.
What happens without these tags?
Platforms guess the title, description, and image, which often gives poor results.
Details
Original description by the author
Use when auditing a web page's social sharing metadata. Applies to any page users might share on social networks or messaging apps.
Popularity
- GitHub stars
- 75k
- Ranking position
- #2960
- License
- MIT
- Updated
- 10/31/2026
Comments
- …
More skills from this repository
frontendchecklist
75kChecks frontend code and live pages against 380+ rules for accessibility, speed, SEO and security, using a command-line tool.
frontend-checklist-global
75kAudits a frontend project against all 386 Front-End Checklist rules, and gives a specific fix for each issue found.
404-page
75kChecks that your missing-page screen offers helpful links and returns a real 404 status, to help lost visitors find their way.
about-page
75kReviews whether your site has a clear About page that explains who runs it, to build trust with visitors and search engines.
Similar skills
xurl
394kHelps your agent post, reply, search, and read on X, send direct messages, and upload media, using the authenticated xurl tool.
connections-optimizer
280kImproves your social network connections. It suggests who to follow or unfollow and helps create personalized messages to expand your network.
content-engine
280kCreates content for different platforms. It helps produce posts, scripts, and content calendars that work well on networks like X, LinkedIn, and YouTube.