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 $0.00016 $0.00100
Sonnet 5 $0.00006 $0.00040
Haiku 4.5 $0.00003 $0.00020

Measured 12d ago against content hash 88c51da9aaa4, 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 · 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. 12d 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 (15 stars, last pushed yesterday), licensed MIT. It adds 32 tokens to every session and 200 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

page-metadata

When the user wants to optimize meta tags other than title, description, Open Graph, or Twitter Cards. Also use when the user mentions "hreflang," "meta robots," "viewport," "charset," "canonical meta," "other meta tags," "meta robots noindex," "meta robots nofollow," "hreflang tags," "viewport meta," or "meta…

kostja94/marketing-skills · 119 tokens

translation

When the user wants to translate content, create translation workflows, manage terminology, or optimize translation quality. Also use when the user mentions "translate," "translation," "localization copy," "glossary," "terminology," "style guide translation," "machine translation," "human translation," "TMS," or…

kostja94/marketing-skills · 79 tokens

localization-strategy

When the user wants to plan or implement localization strategy for multilingual and global growth. Also use when the user mentions "localization," "multilingual," "i18n," "global expansion," "market entry," "localization strategy," "hreflang," "multi-language SEO," or "international SEO." For translation workflow…

kostja94/marketing-skills · 81 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

extract-source-sample

Given the path to a finished content-goose ad-run folder, extract everything that defines that ad — recipe shot list, VO script, characters, voices, world, atom-skills, master mp4 — and emit a source-sample.json in the exact shape the upload-ad-sample skill writes to the Goose Ads library. Also links every character…

gooseworks-ai/goose-skills · 160 tokens

speak-human-tw

A Traditional Chinese editing guide for making public-facing writing sound more natural and less machine-generated. It also checks wording associated with Mainland China and half-width punctuation.

Raymondhou0917/speak-human-tw · 220 tokens