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 sickn33

Audits, validates and generates hreflang tags for multi-language and multi-region websites. It is aimed at SEO and web teams who manage international sites.

  • Score 91
  • 51k 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/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/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

This skill for AI assistants audits, validates and generates hreflang annotations for multi-language and multi-region websites. It checks self-referencing tags, return tags, x-default usage, ISO 639-1 language codes, ISO 3166-1 region codes, canonical URL alignment, and protocol consistency. Each issue gets a severity rating and a suggested fix.

It can output hreflang as HTML link tags, HTTP Link headers, or an XML sitemap, and the source includes a sitemap example with the xhtml namespace. It also reports when no hreflang tags are found and recommends an implementation method. The source says it is for sites with multiple language or region variants, and that it should be used only when the task fits its scope.

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

What it can do

  • Self-reference checkChecks that every page includes an hreflang tag pointing to itself.
  • Return tag checkConfirms every hreflang relationship is bidirectional across alternates.
  • Language code validationFlags codes such as eng or jp and suggests ISO 639-1 replacements.
  • Region code validationFlags codes such as en-uk and suggests ISO 3166-1 Alpha-2 codes.
  • Canonical alignment checkChecks that hreflang tags appear only on canonical URLs.
  • Protocol consistency checkChecks that all URLs in an hreflang set use the same protocol.
  • Hreflang generationMaps page equivalents across languages and generates tags for each page.
  • Sitemap generationProduces XML sitemap entries with xhtml:link alternates for each URL.
  • Method comparisonCompares HTML link tags, HTTP headers and XML sitemaps for a given site.

Try asking

  • Audit the hreflang tags on https://example.com and list any missing return tags.
  • Check my language and region codes for invalid values like eng or en-uk.
  • Generate hreflang sitemap entries for my English, French and German pages.

Good to know

  • The source says it is not a substitute for environment-specific validation or expert review.
  • HTML link tags are described as best for sites with fewer than 50 variants per page.
  • Use only when the task clearly matches the scope described in the source.

Security check

B
  • Allowed to use Bash without limitsIn SKILL.md

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

Allowed tools: ReadGrepGlobBashWebFetch

  • SKILL.md9 KB

Alternatives to seo-hreflang

All alternatives →

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

seo-hreflang: common questions

What does the seo-hreflang skill check?

It checks self-referencing tags, return tags, x-default usage, language and region code validity, canonical alignment and protocol consistency.

Which hreflang method does the skill recommend for large sites?

The source recommends the XML sitemap method for large sites and for cross-domain setups.

Does the skill require Search Console access?

No. The source says Search Console access helps diagnostics but is not a prerequisite for cross-domain hreflang.

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 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use bash without limits). 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.