Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

seo-hreflang

Skill by AgriciDaniel

Audits, validates and generates hreflang tags for multi-language and multi-region sites. Checks return tags, language and region codes, and canonical alignment. Intended for SEO work on international websites.

  • Score 94
  • 33k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install seo-hreflang

Built from the published package, never by AI.

git clone --depth 1 https://github.com/AgriciDaniel/claude-seo /tmp/claude-seo && mkdir -p ~/.claude/skills && cp -r /tmp/claude-seo/skills/seo-hreflang ~/.claude/skills/seo-hreflang

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install seo-hreflang in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The seo-hreflang skill audits, validates and generates hreflang tags for sites that serve several languages or regions. It checks self-referencing tags, return tags, x-default usage, canonical alignment, protocol consistency and cross-domain setups. It also validates ISO 639-1 language codes, ISO 15924 script subtags and ISO 3166-1 region codes, and flags common errors such as eng instead of en or en-uk instead of en-GB.

Output can be HTML link tags, HTTP Link headers or an XML sitemap with xhtml:link entries, and the skill produces a validation report with a status for each URL. It also offers a cultural adaptation assessment with profiles for DACH, Francophone, Hispanic and Japanese markets, plus a content parity audit run with /seo hreflang audit. It is aimed at SEO teams and site owners working on international or multi-language sites. The source describes hreflang as a hint, not a directive.

Written from the project's SKILL.md and checked against it.

What it can do

  • Validation checksChecks self-referencing tags, return tags, x-default use and canonical URL alignment.
  • Language and region code checksValidates ISO 639-1, ISO 15924 script and ISO 3166-1 codes and flags common errors.
  • Hreflang generationDetects language versions, maps equivalent pages and generates the matching hreflang tags.
  • Multiple output formatsProduces HTML link tags, HTTP header values or hreflang sitemap XML.
  • Cultural adaptation assessmentScores each language version from 0 to 100 using market profiles for four regions.
  • Content parity auditRuns /seo hreflang audit to compare page existence, structure and word count across languages.
  • Region-specific search noteNotes EEA, Türkiye and South Africa search units in the report where relevant.

Try asking

  • Validate the hreflang tags on https://example.com and list any missing return tags
  • Generate an hreflang XML sitemap for my English, French and German pages
  • Run a content parity audit on my multi-language content directory

Good to know

  • hreflang is a hint, not a directive, according to the source.
  • The source says Google ignores locational meta tags and HTML geotargeting attributes.
  • Sitemap files split at 50,000 URLs or 50MB uncompressed.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/seo-hreflang/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • LICENSE.txt143 B
  • SKILL.md14 KB
  • references/content-parity.md4 KB
  • references/cultural-profiles.md5 KB
  • references/locale-formats.md3 KB
Show all 6 files
  • references/machine-translation-qa.md3 KB

Alternatives to seo-hreflang

All alternatives →

Compare with box, n8n-mcp-tools-expert or citation-management

seo-hreflang: common questions

Which hreflang method should I use?

The source suggests HTML link tags for sites with fewer than 50 variants per page. It recommends XML sitemaps for large sites and cross-domain setups, and HTTP headers for non-HTML files such as PDFs.

Why might hreflang tags be ignored?

According to the source, hreflang on a non-canonical URL is ignored, and missing self-referencing or return tags can invalidate the hreflang set.

Can I set country targeting in Search Console?

The source says the International Targeting report and the manual country-targeting setting were removed in 2022, so hreflang is the remaining lever.

How do I install seo-hreflang?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is seo-hreflang free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is seo-hreflang safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to seo-hreflang?

Similar skills: box, n8n-mcp-tools-expert, citation-management, exa-search.

seo-hreflang Install

Add to stack

Loading.