seo-hreflang

seo-hreflang is a skill for Claude Code from naveedharri/benai-skills. It costs 88 tokens per session (3,114 once invoked), scanned A, original, MIT.

A workflow for checking or creating hreflang, the tags and headers that tell search engines which language or regional version of a page to show. It handles HTML, HTTP headers, and XML sitemaps for multilingual or multi-region sites.

In plain words
What is it for?
Use it to audit or generate hreflang implementations for websites serving different languages or regions.
Why use it?
It helps catch invalid language or region codes and other international SEO mistakes before they affect page targeting. It also guides the choice between validating existing tags and generating new ones.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the all-skills plugin — 109 skills shipped together

Good fit Use it to audit or generate hreflang implementations for websites serving different languages or regions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/naveedharri/benai-skills/seo-hreflang
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add naveedharri/benai-skills --skill seo-hreflang
Clone the repo
git clone --depth 1 https://github.com/naveedharri/benai-skills

Made for: Claude Code.

Or install all-skills, the plugin that ships this one along with the rest of its 109 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for seo-hreflang

README.md
[![agentmods](https://agentmods.dev/badge/skills/naveedharri/benai-skills/seo-hreflang/github.svg)](https://agentmods.dev/skills/naveedharri/benai-skills/seo-hreflang)
Your own site
<a href="https://agentmods.dev/skills/naveedharri/benai-skills/seo-hreflang"><img src="https://agentmods.dev/badge/skills/naveedharri/benai-skills/seo-hreflang/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for seo-hreflang

Your own site · 80×15
<a href="https://agentmods.dev/skills/naveedharri/benai-skills/seo-hreflang"><img src="https://agentmods.dev/badge/skills/naveedharri/benai-skills/seo-hreflang.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,114 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00088 $0.03114
Opus 5 $0.00044 $0.01557
Sonnet 5 $0.00018 $0.00623
Haiku 4.5 $0.00009 $0.00311

Measured 7d ago against content hash 4bf9788ed64b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

seo-hreflang scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/all-skills/skills/seo-hreflang/SKILL.md · 287 lines

How it starts

The opening of the file, as written. The whole thing — 287 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Hreflang & International SEO

You are an expert in international SEO and hreflang implementation. Your job is to walk the user through a structured, interactive process to either validate existing hreflang tags or generate correct new ones for multi-language and multi-region sites. Supports HTML, HTTP header, and XML sitemap implementations.

This is a phase-based, interactive process. You never skip phases or dump a full validation report without going through each stage. Each phase ends with a user approval gate before moving on.


Phase 1: Discovery — Validate or Generate?

Goal: Understand the user's goal and gather the inputs needed.

STOP and ask the user:

  1. What do you need? Present these two paths:

    Path Description When to choose
    A. Validate existing hreflang Audit current hreflang implementation for errors You already have hreflang tags and want to check for issues
    B. Generate new hreflang tags Create correct hreflang implementation from scratch You need to add multi-language support to a site
  2. URL(s) to work with:

    • For validation: Which page(s) or sitemap URL should I audit? (Can be a single URL, a list, or a sitemap.)
    • For generation: What is the base site URL and structure? (e.g., subdirectory /fr/, subdomain fr.example.com, or separate domain example.fr)
  3. Target languages and regions:

    • Which languages does the site support (or will support)?
    • Are there region-specific variants? (e.g., en-US vs en-GB, pt-BR vs pt-PT)
  4. Implementation method preference (if generating):

    Method Best For Pros Cons
    HTML link tags Small sites (<50 variants) Easy to implement, visible in source Bloats <head>, hard to maintain at scale
    HTTP headers Non-HTML files (PDFs, docs) Works for PDFs, images Complex server config, not visible in HTML
    XML sitemap Large sites, cross-domain Scalable, centralized management Not visible on page, requires sitemap maintenance

Read the full file on GitHub · 287 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 287 lines · 88 tokens per session scan A 4bf9788ed64b

Subscribe to this mod's changes

seo-hreflang is a skill published in the GitHub repository naveedharri/benai-skills (61 stars, last pushed yesterday), licensed MIT. It adds 88 tokens to every session and 3,114 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

localize

Full localization pipeline: scan for hardcoded strings, extract and manage string tables, validate translations, generate translator briefings, run cultural/sensitivity review, manage VO localization, test RTL/platform requirements, enforce string freeze, and report coverage.

Donchitos/Claude-Code-Game-Studios · 50 tokens

project

A single starting point for setting up an AI-assisted project in Claude Cowork. It asks questions about the work, reviews available add-ons, and creates project instructions, custom agents, and connected workflows.

modu-ai/moai-cowork · 475 tokens

design-sync-upload

An uploader for design-system files such as DESIGN.md, tokens, logos, fonts, and images into Claude Design. It can either use an authenticated connection or prepare a folder and guide for manual upload.

modu-ai/moai-cowork · 211 tokens

doc-html-slide

A renderer that turns presentation content into a single HTML slide deck that opens directly in a browser. It creates a 16:9 slide sequence with navigation, fullscreen viewing, printing to PDF, and speaker-note controls.

modu-ai/moai-cowork · 469 tokens

cs-channel-message

A channel-message writing tool for search ads, advertising, customer relationship messages, and app notifications. It uses the NCM sequence—Need, Channel, Moment, Message, and CTA—to adapt wording to where and when customers see it.

modu-ai/moai-cowork · 470 tokens

media-higgsfield-explainer

A Higgsfield workflow for making non-photorealistic narrated explainer videos. It pairs each narration line with a 10-second animated clip and joins the clips into one finished video.

modu-ai/moai-cowork · 236 tokens