Skip to content
Back to skills

Meta Tags

ASecurity

Add SEO, OpenGraph, and Twitter Card meta tags plus canonical and structured data for rich link previews.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 3, 2026
ai-agentsgo

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add black141312/ada --skill meta-tags --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Meta Tags?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Meta Tags
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/black141312-meta-tags/badge)](https://www.skillsdirectory.com/skills/black141312-meta-tags)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: meta-tags
description: Add SEO, OpenGraph, and Twitter Card meta tags plus canonical and structured data for rich link previews.
category: html
---

# Meta Tags

Use when a page needs to rank and to unfurl well when shared on social/chat. Covers the core `<head>` tags search engines and link-preview crawlers read.

1. Set the basics: unique `<title>` (~50-60 chars), `<meta name="description">` (~150-160 chars), `<meta charset="utf-8">`, and `<meta name="viewport">`.
2. Add `<link rel="canonical" href="https://...">` (absolute URL) to prevent duplicate-content splits across query strings and trailing slashes.
3. Add OpenGraph: `og:title`, `og:description`, `og:type`, `og:url`, `og:image` (absolute URL, 1200x630), and `og:site_name`.
4. Add Twitter Card: `twitter:card` = `summary_large_image`, `twitter:title`, `twitter:description`, `twitter:image`.
5. Add JSON-LD structured data (`<script type="application/ld+json">`) for the page type (Article, Product, Organization, BreadcrumbList) to enable rich results.
6. Set `<meta name="robots">` intentionally (`index,follow` or `noindex`) and verify with a link-preview debugger (Facebook Sharing Debugger, Twitter Card Validator) and Google Rich Results test.

## Rules
- Every URL in meta tags (canonical, og:image, og:url) must be absolute with scheme; relative URLs break crawlers.
- `og:image` must be a real, publicly reachable file at 1200x630 (~under 5MB); social crawlers don't run JS.
- One canonical per page; don't point canonical at a redirect or a noindexed URL.
- Keep title/description unique per page — don't template the same description sitewide.
- Validate JSON-LD; a syntax error silently disables the rich result.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.