- Home
- Skills
- Marketing & SEO
- seo hreflang reciprocity auditor
seo hreflang reciprocity auditor
Audit and repair multilingual hreflang clusters, ISO code errors, and reciprocal link failures in XML sitemaps.
$15
Works with the AI Agents you already use
seo hreflang reciprocity auditor
Example session with this skill installed
Audit these tags for reciprocity
- https://site.com/ (en-us)
- https://site.com/uk/ (en-uk)
- https://site.com/fr/ (fr)
The UK page only links to the US page.
- Read your context and instructions
- Compiled the seo hreflang reciprocity
I have audited the hreflang cluster provided. I identified two critical syntax errors and a major reciprocity failure where the UK and French versions do not properly reference the full cluster.
Hreflang Audit Matrix
| Issue Type | URL / Tag | Error Detail | Priority |
|---|---|---|---|
| Critical | en-uk | Invalid ISO code. Must be en-gb for United Kingdom. | High |
| Critical | https://site.com/uk/ | Missing reciprocal link to fr. Only references en-us. | High |
| Critical | https://site.com/fr/ | Missing self-referencing tag. | High |
| Warning | x-default | No x-default declared for this cluster. | Medium |
Repaired XML Sitemap Snippet
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://site.com/</loc>
<xhtml:link rel="alternate" hreflang="en-us" href="https://site.com/"/>
<xhtml:link rel="alternate" hreflang="en-gb" href="https://site.com/uk/"/>
<xhtml:link rel="alternate" hreflang="fr" href="https://site.com/fr/"/>
<xhtml:link rel="alternate" hreflang="x-default" href="https://site.com/"/>
</url>
<url>
<loc>https://site.com/uk/</loc>
<xhtml:link rel="alternate" hreflang="en-us" href="https://site.com/"/>
<xhtml:link rel="alternate" hreflang="en-gb" href="https://site.com/uk/"/>
<xhtml:link rel="alternate" hreflang="fr" href="https://site.com/fr/"/>
<xhtml:link rel="alternate" hreflang="x-default" href="https://site.com/"/>
</url>
<url>
<loc>https://site.com/fr/</loc>
<xhtml:link rel="alternate" hreflang="en-us" href="https://site.com/"/>
<xhtml:link rel="alternate" hreflang="en-gb" href="https://site.com/uk/"/>
<xhtml:link rel="alternate" hreflang="fr" href="https://site.com/fr/"/>
<xhtml:link rel="alternate" hreflang="x-default" href="https://site.com/"/>
</url>
</urlset>
Next steps
- Update the locale folder or tag from
en-uktoen-gbin your CMS. - Deploy the generated XML sitemap to your root directory.
- Validate the live URLs in Search Console to ensure the tags are now seen as a complete cluster.
Connects securely to your tools. The creator never sees your data.
About this skill
International SEO is fragile, and one missing reciprocal link can break your global indexing. This skill audits large URL sets and XML sitemaps to find broken hreflang clusters and syntax errors that lead to duplicate content issues.
What it does
- Reciprocity checks identifies URLs that do not link back to the source, breaking the cluster.
- Self-reference validation ensures every page includes a tag pointing to itself as required by search engines.
- ISO code auditing flags common errors like
en-UKinstead ofen-GBor underscore separators. - Status code verification detects if alternate URLs lead to 404s, 301 redirects, or noindexed pages.
- Conflict detection finds mismatched canonical tags that contradict your hreflang signals.
How it works
- Analyze: Input a list of multilingual URLs or a snippet of an existing XML sitemap.
- Audit: The agent parses the cluster graph to identify missing return links and syntax violations.
- Report: Review a prioritized matrix of critical failures and warnings.
- Repair: Receive a formatted, valid XML sitemap with all reciprocal links restored.
Frameworks & tools
Works with standard XML sitemaps, ISO 639-1 language codes, and ISO 3166-1 alpha-2 region codes.
Why this beats prompting it yourself
Generic prompts often miss the logic of "return tags," where every page in a group must reference every other page. This skill enforces strict reciprocity logic and ISO syntax validation that standard LLM conversations overlook.
Use cases
- Auditing a new multilingual site launch for indexing readiness.
- Fixing "hreflang tags with no return tags" errors in Search Console.
- Converting legacy underscore locale codes to standard dash-separated tags.
- Generating valid xhtml:link sitemaps for sites with 5+ language versions.
Known limitations
Does not support non-standard language codes outside of ISO 639-1/3166-1. Large sitemaps should be processed in chunks to avoid context window limits.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Marketing & SEO.
Requires ISO 639-1/3166-1 codes. Cannot fix server-side header implementations without direct access. Processing limit depends on model context window for large XML files.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago
Permissions
No special permissions declared or detected