seo-hreflang

seo-hreflang is a skill for Claude Code from ZachArticulateV/designer-pro-and-seo. It costs 97 tokens per session (632 once invoked), scanned A, original, MIT.

A checker and generator for hreflang, the webpage annotations that tell search engines which language or regional version of a page to show. It works with HTML links, HTTP headers, and XML sitemaps.

In plain words
What is it for?
Use it to validate an existing hreflang set or generate annotations from a map of locales to page URLs.
Why use it?
International SEO annotations are easy to misconfigure, causing search engines to miss or misidentify translated and regional pages. It checks codes, URLs, duplicates, self-reference, and return links.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the designer-pro-and-seo plugin — 41 skills, 14 agents, 1 MCP server shipped together

Good fit Use it to validate an existing hreflang set or generate annotations from a map of locales to page URLs.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add ZachArticulateV/designer-pro-and-seo
Claude Code
/plugin install designer-pro-and-seo

Made for: Claude Code.

Or install designer-pro-and-seo, the plugin that ships this one along with the rest of its 41 skills, 14 agents, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for seo-hreflang

README.md
[![agentmods](https://agentmods.dev/badge/skills/zacharticulatev/designer-pro-and-seo/seo-hreflang/github.svg)](https://agentmods.dev/skills/zacharticulatev/designer-pro-and-seo/seo-hreflang)
Your own site
<a href="https://agentmods.dev/skills/zacharticulatev/designer-pro-and-seo/seo-hreflang"><img src="https://agentmods.dev/badge/skills/zacharticulatev/designer-pro-and-seo/seo-hreflang/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for seo-hreflang

Your own site · 80×15
<a href="https://agentmods.dev/skills/zacharticulatev/designer-pro-and-seo/seo-hreflang"><img src="https://agentmods.dev/badge/skills/zacharticulatev/designer-pro-and-seo/seo-hreflang.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 632 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00097 $0.00632
Opus 5 $0.00048 $0.00316
Sonnet 5 $0.00019 $0.00126
Haiku 4.5 $0.00010 $0.00063

Measured 12d ago against content hash 83b7e94b3b4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

seo-hreflang scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/seo-hreflang/SKILL.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

seo-hreflang

Family: seo Status: Stable

Purpose

Hreflang is one of the most-misimplemented SEO patterns. This skill validates and generates correct annotations and catches the mistakes that quietly break international ranking: invalid codes, missing self-reference, missing x-default, duplicates, and non-reciprocal return links.

Three valid signal locations: HTML <link rel="alternate" hreflang>, the HTTP Link: header, and XML sitemap xhtml:link entries.

Triggers

  • "hreflang" / "i18n seo" / "international seo"
  • "multi-language" / "multi-region" / "language tags" / "regional seo"

Inputs

  • Mode: validate | generate
  • Validate: the page's hreflang set (list of {hreflang, href}) + the page's own URL
  • Generate: a locale→URL map (+ optional x-default URL)

Steps

  1. Validate an existing set:
    python3 "${CLAUDE_PLUGIN_ROOT}/scripts/seo/hreflang_tools.py" --validate cluster.json --self <this-page-url>
    
    Checks ISO 639-1 language + ISO 3166-1 region codes, self-reference presence, x-default, duplicates, and absolute URLs; flags reciprocity to verify per-page.
  2. Generate a correct set:
    python3 "${CLAUDE_PLUGIN_ROOT}/scripts/seo/hreflang_tools.py" --generate --map locales.json --x-default https://site.com/
    
    Emits the <link rel="alternate"> tags to place on every alternate page (including a self-reference), or to return via the Link: header / sitemap.
  3. Reciprocity — remind the user that A→B requires B→A; for a full cluster, capture each page's set and cross-check (needs per-page fetch).
  4. Render the audit (violations by severity) or the generated blocks.

Outputs

  • Validation report (code/self/x-default/duplicate/reciprocity issues)
  • Generated hreflang blocks for the chosen delivery method

Dependencies

  • scripts/seo/hreflang_tools.py (required) — Python 3.10+, standard library only

Notes

Conditional in seo-audit — only fires when multi-locale signals are present. Don't audit hreflang on single-locale sites.

Read the full file on GitHub · 63 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 63 lines · 97 tokens per session scan A 83b7e94b3b4c

Subscribe to this mod's changes

seo-hreflang is a skill published in the GitHub repository ZachArticulateV/designer-pro-and-seo (8 stars, last pushed 2mo ago), licensed MIT. It adds 97 tokens to every session and 632 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

kit-adaptar

Lê um prompt de site que veio de fora — quase sempre em inglês, quase sempre sem contexto — e devolve em português o que ele é: tipo de site, escopo (hero solto ou landing inteira), seção por seção, técnica usada (hover, cursor, scroll, WebGL, vídeo), stack e dependências, e o mapa de assets com o caminho exato de…

harebeats/cannonball · 186 tokens

wp-polylang

Polylang multilingual methodology — one post per language joined by translation groups, driven through the pll API.

yojahny55/claude-wp-builder · 26 tokens

wp-bilingual

Bilingual/multilingual i18n methodology using ACF suffix pattern with transparent translation helpers.

yojahny55/claude-wp-builder · 23 tokens

hreflang-international

International / multilingual SEO audit focused on hreflang correctness. Detects and diagnoses the most common (and ranking-damaging) hreflang mistakes: missing or broken return tags, wrong language/region codes, missing x-default, self-referencing errors, conflicts between hreflang and canonical, and inconsistent…

nowork-studio/notfair-plugin · 242 tokens

designlang-tokens

Use when styling UI for cal.com — references the extracted design system tokens instead of inventing colors, spacing, or typography.

Manavarya09/design-extract · 30 tokens

multilingual-score

Score translated or localized content into one composite quality verdict — technical translation scoring (length ratio, formatting, do-not-translate terms, placeholders), content quality in the target language, brand voice consistency, and target-market compliance — classified as Publish Ready (85+), Native Speaker…

indranilbanerjee/digital-marketing-pro · 173 tokens