
Hreflang audit
Checks hreflang annotations on a site crawl for reciprocity, codes and x-default
Hreflang audit is an open-source agent skill for marketing and seo. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 26
- Last commit
- License
- AGPL-3.0
- Listing updated
Similar skills
About Hreflang audit
This skill reviews hreflang and multi-language SEO annotations using an existing Screaming Frog crawl export rather than fetching the site itself. It builds a reciprocity graph of alternate-language links, validates language and region codes, and checks that x-default is handled, then joins return targets against indexability, canonical and status data from the same crawl.
The workflow runs a pure transform over the hreflang, canonical and internal-URL exports, compares the site's declared content locale with what the pages actually declare, and writes findings with an HF- prefix to a robots_txt sheet in a project workbook after the user approves. It also renders a markdown report with a verdict. When a site has no hreflang annotations at all, the verdict is NOT_APPLICABLE rather than a failure. The skill is recommendation-only and does not change the site.
It expects a prepared crawl export folder, a project configuration file and a master spreadsheet, and it is written in Python with Markdown templates. An optional live mode can query Screaming Frog through MCP, with a fallback to the file-based path.
When your agent uses it
Use when: kullanıcı "hreflang audit", "hreflang denetimi", "i18n", "dil versiyonları", "uluslararası SEO", "x-default", "hreflang reciprocity", "tek-yönlü hreflang", "yanlış dil/bölge kodu", "en-UK" der ya da /pseo-hreflang-audit çağırır. Free (paid MCP yok) — SF hreflang export okur. Also use when: aktif projenin SF crawl export'u alındı (projects/{slug}/sf-exports/{date}/raw/hreflang_all.csv); çok-dilli bir müşteri imzalandı; bulgular master.xlsx#robots_txt'ye HF- prefix'li yazılacak. TEK DİLLİ portföyde (tr-TR / en-CA / en-NG) ucuz hijyen kontrolü: stray hreflang yoksa NOT_APPLICABLE (hreflang yokluğu doğru, kusur değil). Do not use when: faceted-nav / parametre denetimi (facet-nav-audit, ayrı); robots.txt/noindex lifecycle (robots-policy-audit, ayrı); SF export yok (sf-import önce, DURUR); master.xlsx yokken (init-project önce). NOT: motor hreflang ÜRETMEZ (çok-dilli istemci + platform write access yok) — sadece dener.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (9 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the platinum-seo-engine plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add popiliadam/platinum-seo-engine
/plugin install platinum-seo-engine@platinum-seo-marketplaceOr copy only this skill to ~/.claude/skills/hreflang-audit:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/popiliadam/platinum-seo-engine.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/hreflang-audit &&
cp -R "$tmp/skills/discovery/hreflang-audit" ~/.claude/skills/hreflang-audit &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/hreflang-audit inside it instead.
Copy the skill folder to ~/.agents/skills/hreflang-audit to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/popiliadam/platinum-seo-engine.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/hreflang-audit &&
cp -R "$tmp/skills/discovery/hreflang-audit" ~/.agents/skills/hreflang-audit &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/hreflang-audit inside it instead.
Copy the skill folder to ~/.cursor/skills/hreflang-audit to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/popiliadam/platinum-seo-engine.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/hreflang-audit &&
cp -R "$tmp/skills/discovery/hreflang-audit" ~/.cursor/skills/hreflang-audit &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/hreflang-audit inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/popiliadam/platinum-seo-engine.git --path skills/discovery/hreflang-auditOr copy the folder to ~/.gemini/skills/hreflang-audit yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/hreflang-audit:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/popiliadam/platinum-seo-engine.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/hreflang-audit &&
cp -R "$tmp/skills/discovery/hreflang-audit" ~/.copilot/skills/hreflang-audit &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/hreflang-audit inside it instead.
Get the folder:
git clone --depth 1 https://github.com/popiliadam/platinum-seo-engine.gitThen copy platinum-seo-engine/skills/discovery/hreflang-audit into your agent's skills folder as hreflang-audit. Agents that support SKILL.md read one folder per skill.
What it does
- Reciprocity graph check
- Finds alternate-language links that do not point back to the source page.
- Language code validation
- Flags invalid or mistaken region codes while accepting valid script-tagged codes.
- x-default verification
- Checks the x-default fallback declaration across page clusters.
- Indexability join
- Matches return targets against indexability, canonical and status data from the crawl.
- Locale consistency check
- Compares the project's configured content locale with the locales pages declare.
- Findings written to workbook
- Adds HF- prefixed rows to a robots_txt sheet after approval, without duplicating prior runs.
Good for
- Audit hreflang tags after a Screaming Frog crawl of a multilingual site
- Find one-way hreflang links between language versions
- Check whether x-default is set correctly across language clusters
- Spot wrong language or region codes such as en-UK in hreflang tags
- Confirm that a single-language site has no stray hreflang annotations
Hreflang audit FAQ
What input does the skill need?
It reads the hreflang, canonical and internal URL CSV exports from a Screaming Frog crawl stored in the project's sf-exports folder, plus the project configuration file and master workbook.
Does Hreflang audit change the website?
No. It produces findings and a report only. The operator fixes the site, and the workbook write needs approval first.
What happens on a site with no hreflang tags?
The verdict is NOT_APPLICABLE with an empty findings set and a rendered report, since the absence of hreflang is expected on a single-language site.
Does Hreflang audit cost anything to run?
The skill is free and uses no paid MCP service; a Google Search Console inspection is only an optional spot-check.
Should Hreflang audit run after every crawl import?
Yes. The sf-import step clears the robots_txt sheet, so the audit should be re-run after each import.
How do I install Hreflang audit in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/hreflang-audit to use it in all your projects, or to .claude/skills/hreflang-audit in one project. Or install the platinum-seo-engine plugin, which includes it: /plugin marketplace add popiliadam/platinum-seo-engine, then /plugin install platinum-seo-engine@platinum-seo-marketplace.
Does Hreflang audit run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Hreflang audit?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Hreflang audit?
The closest alternatives to Hreflang audit are Hreflang international, SEO hreflang, Internal links, Facet nav audit and SEO audit edho ferdian.
Where this comes from
- Description: from the skill's own SKILL.md.
More from popiliadam/platinum-seo-engine

Maps which top-ranking pages an AI Overview cites and their content-quality signals
- Open source
- 26 GitHub stars
- Marketing and SEO

Finds queries where two or more of your pages compete, using Search Console data
- Open source
- 26 GitHub stars
- Marketing and SEO

Monitors competitor sites with snapshots, content hashes and weekly diffs
- Open source
- 26 GitHub stars
- Marketing and SEO

Finds SEO pages losing clicks by comparing two equal 90-day Search Console windows
- Open source
- 26 GitHub stars
- Marketing and SEO

Finds keyword gaps and content opportunities via DataForSEO for a seed keyword
- Open source
- 26 GitHub stars
- Web search and scraping

Audits faceted navigation and URL parameters to quantify crawl budget and index bloat
- Open source
- 26 GitHub stars
- Marketing and SEO



