seo-hreflang

seo-hreflang is a skill for Claude Code from amirjahfar1/automate-seo-with-claude. It costs 101 tokens per session (4,156 once invoked), scanned A, a copy of seo-hreflang, MIT.

An audit tool for hreflang on websites with different language or regional versions. Hreflang is a web-page setting that tells search engines which language and country version to show to a visitor.

In plain words
What is it for?
Use it to review multilingual or multi-region sites, compare the HTML and sitemap hreflang settings, and produce a PASS, NEEDS-FIX, or BROKEN result with prioritized fixes.
Why use it?
It finds mismatches between page tags, canonical URLs, and XML sitemaps that can cause the wrong regional page to appear in search. It also checks whether language and region codes and return links are valid.

Skill for Claude Code

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is (Or: `GSC verification: not configured (run bash extensions/google/install.sh)`.).

Part of the seo-skills plugin — 26 skills shipped together

Good fit Use it to review multilingual or multi-region sites, compare the HTML and sitemap hreflang settings, and produce a PASS, NEEDS-FIX, or BROKEN result with prioritized fixes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/amirjahfar1/automate-seo-with-claude
agentmods
npx agentmods add skills/amirjahfar1/automate-seo-with-claude/seo-hreflang

Made for: Claude Code.

Or install seo-skills, the plugin that ships this one along with the rest of its 26 skills.

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/amirjahfar1/automate-seo-with-claude/seo-hreflang/github.svg)](https://agentmods.dev/skills/amirjahfar1/automate-seo-with-claude/seo-hreflang)
Your own site
<a href="https://agentmods.dev/skills/amirjahfar1/automate-seo-with-claude/seo-hreflang"><img src="https://agentmods.dev/badge/skills/amirjahfar1/automate-seo-with-claude/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/amirjahfar1/automate-seo-with-claude/seo-hreflang"><img src="https://agentmods.dev/badge/skills/amirjahfar1/automate-seo-with-claude/seo-hreflang.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,156 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 88% copy Near-identical to another mod 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.00101 $0.04156
Opus 5.5 $0.00040 $0.01662
Sonnet 5.5 $0.00020 $0.00831
Haiku 4.5 $0.00010 $0.00416

Measured 3mo ago against content hash 992f6beaae97, 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 3mo 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.

Origin

This is a copy

88% identical to seo-hreflang — 61 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

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

How it starts

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

Example output: examples/seo-hreflang-airbnb-com-20260514/HREFLANG-REPORT.md

Hreflang Audit

Adapted from AgriciDaniel/claude-seo's seo-hreflang skill (MIT). Concept and validation rules originate there; this implementation is rebuilt against our backend (DataForSEO On-Page loop + Firecrawl + WebFetch + GSC + Google APIs via seo-google).

Validate hreflang implementations on a multi-language or multi-region site. Read the actual <link rel="alternate" hreflang="…"> tags pages emit — primarily from the DataForSEO on_page_instant_pages loop (which returns each page's hreflang set) plus Firecrawl/WebFetch for raw <head> markup — cross-check the XML sitemap's hreflang, weight by which country/language pages get impressions in GSC, and produce one of three verdicts — PASS, NEEDS-FIX, or BROKEN — with a top-fixes table anchored in objective signals.

Prerequisites

  • DataForSEO MCP server connected — on_page_instant_pages returns each fetched page's hreflang set, the primary signal source here.
  • GSC (mcp__gscServer__*) recommended — for which country/language pages actually get impressions (traffic-weighting the audit) and cross-domain hreflang verification (step 6). Firecrawl optional — for raw <head> HTML where exact <link rel="alternate"> attributes matter; WebFetch is the fallback.
  • Claude's WebFetch tool available (fallback when Firecrawl is unavailable).
  • User provides: a target domain (e.g. example.com). Optional: explicit list of representative pages to inventory; explicit sitemap URL if not at /sitemap.xml.
  • Predecessor (recommended): seo-technical-audit or seo-sitemap already run on this domain — its discovered URL set + On-Page hreflang fields can be reused. Without it, the skill discovers and fetches its own sample.

Optional accelerator: if you have a hosted-crawl MCP you can substitute it for the URL-discovery + fetch loop — not required.

Read the full file on GitHub · 184 lines

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. 3mo ago First seen · 184 lines · 101 tokens per session scan A 992f6beaae97

Subscribe to this mod's changes

seo-hreflang is a skill published in the GitHub repository amirjahfar1/automate-seo-with-claude (3 stars, last pushed 5mo ago), licensed MIT. It adds 101 tokens to every session and 4,156 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to seo-hreflang, differing in 61 lines, and is treated as a copy.

Related

seo-hreflang compared with skills from other repositories

seo-hreflang next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
seo-hreflangamirjahfar1/automate-seo-with-claudeSkill35mo agoMITA101Claude Code
seo-site-audit-prolionkiii/claude-seo-skillsSkill225mo agoMITA90Claude Code
seo-contentlionkiii/claude-seo-skillsSkill225mo agoMITA83Claude Code
seo-lighthouse-auditlionkiii/claude-seo-skillsSkill225mo agoMITA78Claude Code
seo-obsidian-kblionkiii/claude-seo-skillsSkill225mo agoMITA35Claude Code
seo-core-web-vitalslionkiii/claude-seo-skillsSkill225mo agoMITA99Claude Code
seo-geolionkiii/claude-seo-skillsSkill225mo agoMITA119Claude Code