seo-hreflang

seo-hreflang is a skill for Claude Code from seoskillsai/seo-skills-ai. It costs 32 tokens per session (200 once invoked), scanned A, original, MIT.

A set of rules for websites available in multiple languages or regions, including hreflang tags that tell search engines which version to show. It checks that language versions link back correctly and use appropriate canonical URLs.

In plain words
What is it for?
Use it to audit or create multilingual URL structures, return hreflang links, fallback language settings, and self-referencing canonical tags.
Why use it?
It helps prevent search engines from confusing similar pages in different languages and sending visitors to the wrong version.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the seo-skills plugin — 27 skills, 2 hooks, 1 MCP server shipped together

Good fit Use it to audit or create multilingual URL structures, return hreflang links, fallback language settings, and self-referencing canonical tags.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/seoskillsai/seo-skills-ai/seo-hreflang
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add seoskillsai/seo-skills-ai --skill seo-hreflang
Clone the repo
git clone --depth 1 https://github.com/seoskillsai/seo-skills-ai

Made for: Claude Code.

Or install seo-skills, the plugin that ships this one along with the rest of its 27 skills, 2 hooks, 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/seoskillsai/seo-skills-ai/seo-hreflang/github.svg)](https://agentmods.dev/skills/seoskillsai/seo-skills-ai/seo-hreflang)
Your own site
<a href="https://agentmods.dev/skills/seoskillsai/seo-skills-ai/seo-hreflang"><img src="https://agentmods.dev/badge/skills/seoskillsai/seo-skills-ai/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/seoskillsai/seo-skills-ai/seo-hreflang"><img src="https://agentmods.dev/badge/skills/seoskillsai/seo-skills-ai/seo-hreflang.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 200 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.00032 $0.00200
Opus 5.5 $0.00013 $0.00080
Sonnet 5.5 $0.00006 $0.00040
Haiku 4.5 $0.00003 $0.00020

Measured 1mo ago against content hash 88c51da9aaa4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 21 lines

What it actually says

International SEO & Hreflang Validation

Audits and generates international URL architectures to eliminate cross-language cannibalization.


🌐 Hreflang Validation Rules

  1. Bidirectional Return Tag Verification: If Page A links to Page B with hreflang="de", Page B MUST link back to Page A with hreflang="en".
  2. x-default Fallback: Always include hreflang="x-default" pointing to the global language selector or default locale.
  3. Canonical Self-Alignment: Each localized variant must specify its own URL as the canonical tag (never point canonicals across different language versions).
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 21 lines · 32 tokens per session scan A 88c51da9aaa4

Subscribe to this mod's changes

seo-hreflang is a skill published in the GitHub repository seoskillsai/seo-skills-ai (20 stars, last pushed 5d ago), licensed MIT. It adds 32 tokens to every session and 200 once invoked, about $0.0001 per session on Opus 5.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-30.

Related

Other skills, from other repositories

page-metadata

When the user wants a full-page metadata audit or implementation across discovery, search intent, title, description, canonical, robots, hreflang, Open Graph, Twitter Cards, code or CMS changes, build validation, rendered HTML, production verification, localization, or post-release observation. Also use for "metadata…

kostja94/marketing-skills · 116 tokens

localization-strategy

Plan, audit, implement, migrate, or validate localization for multilingual products and websites, including locale scope, market readiness, URL architecture, content coverage, hreflang coordination, rollout, and production verification. Use translation for the actual translation, glossary, and language review work.

kostja94/marketing-skills · 60 tokens

translation

Translate, transcreate, review, or maintain multilingual product and marketing content, including source locking, glossary decisions, language style, machine-assisted workflows, legal-content safeguards, QA, and source-change synchronization. Use localization-strategy for market scope, locale architecture, rollout…

kostja94/marketing-skills · 60 tokens

chinese-documentation

A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.

jnMetaCode/superpowers-zh · 62 tokens

github

When the user wants to use GitHub for SEO, parasite SEO, GEO, open source marketing, README optimization, or curated Awesome lists. Also use when the user mentions "GitHub," "GitHub SEO," "GitHub parasite SEO," "GitHub GEO," "awesome list," "GitHub README," "profile README," "pinned repositories," "Trending,"…

kostja94/marketing-skills · 165 tokens

schema-markup

When the user wants to add or optimize structured data (Schema.org, JSON-LD). Also use when the user mentions "schema," "structured data," "JSON-LD," "rich results," "rich snippets," "Google rich snippets," "featured snippet schema," "add schema to page," "missing structured data," "schema validation error," "Schema…

kostja94/marketing-skills · 181 tokens