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.
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-hreflangRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/AgriciDaniel/claude-seo /tmp/claude-seo && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-seo/skills/seo-hreflang ~/.gemini/antigravity-cli/skills/seo-hreflangAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Box lets an AI assistant search, read, upload, download, move, rename, delete, restore and share Box content. It also manages comments and metadata. It suits people who work with files stored in Box.
Guides AI assistants in using n8n-mcp MCP tools to search nodes, validate configs, browse templates and manage n8n workflows. Aimed at people building n8n workflows through MCP.
Manages citations across the research and writing process. It covers searching Google Scholar and PubMed, converting DOIs, PMIDs and arXiv IDs to BibTeX, and validating bibliographies. It is for researchers building bibliographies for manuscripts or theses.
Exa Search is a skill that guides an AI assistant to use the Exa MCP server for neural search. It covers web pages, code, companies, and people, and is for users who need current information or research during development tasks.
Runs recent community and social trend research over the last 30 days. It suits teams who need to know what people are saying now about a topic or launch.
seo-flow adds the FLOW SEO framework to Claude SEO. It surfaces stage-specific AI prompts from the FLOW knowledge base across the Find, Leverage, Optimize and Win stages. It is for SEO practitioners who want evidence-led prompts.
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.
