external-link-audit

external-link-audit is a skill for Claude Code, Codex from JakeLabate/Claude-SEO-Skills. It costs 90 tokens per session (1,519 once invoked), scanned A, original, MIT.

An audit of a website's links to other websites, checking whether they work, redirect, use secure addresses, and have appropriate link settings.

In plain words
What is it for?
Use it to crawl a website or local HTML files, review external domains, detect link problems, and produce an actionable report.
Why use it?
It finds broken or risky outbound links and missing labels on paid links that could harm site quality or search-engine optimization.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to crawl a website or local HTML files, review external domains, detect link problems, and produce an actionable report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jakelabate/claude-seo-skills/external-link-audit
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 JakeLabate/Claude-SEO-Skills --skill external-link-audit
Clone the repo
git clone --depth 1 https://github.com/JakeLabate/Claude-SEO-Skills

Made for: Claude Code, Codex.

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 external-link-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/jakelabate/claude-seo-skills/external-link-audit/github.svg)](https://agentmods.dev/skills/jakelabate/claude-seo-skills/external-link-audit)
Your own site
<a href="https://agentmods.dev/skills/jakelabate/claude-seo-skills/external-link-audit"><img src="https://agentmods.dev/badge/skills/jakelabate/claude-seo-skills/external-link-audit/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 external-link-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/jakelabate/claude-seo-skills/external-link-audit"><img src="https://agentmods.dev/badge/skills/jakelabate/claude-seo-skills/external-link-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,519 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.
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.00090 $0.01519
Opus 5 $0.00045 $0.00759
Sonnet 5 $0.00018 $0.00304
Haiku 4.5 $0.00009 $0.00152

Measured 11d ago against content hash 1ce7f8550035, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

external-link-audit 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 11d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/check_external_links.py, scripts/extract_external_links.py, scripts/fetch_pages.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/external-link-audit/SKILL.md · 122 lines

How it starts

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

Audit the external (outbound) links of a website and produce an actionable SEO report.

When to use this skill

Use this skill when the user asks to:

  • Audit or analyze external/outbound links on a website
  • Find broken external links (link rot) or redirected destinations
  • Check affiliate, sponsored, or paid links for correct rel attribution
  • Find insecure http:// outbound links or unsafe target="_blank" usage
  • Review which external domains a site links to and how often

Inputs to collect

Before starting, confirm with the user:

  1. Site URL or local files — a live site root URL (e.g., https://example.com), a sitemap URL, or a local folder of HTML files.
  2. Scope — full site, a specific section (e.g., /blog/), or a list of URLs.
  3. Crawl limits — max pages (default 500) and max depth (default 5) for live crawls.
  4. Known paid/affiliate domains — domains that must carry rel="sponsored" (e.g., amzn.to, affiliate networks), if any.

Workflow

Step 1: Gather the page set and extract external links

  • If a sitemap is available (/sitemap.xml), fetch it to get the canonical page list.
  • Otherwise, crawl from the homepage following only same-host links.
  • For local HTML folders, enumerate all .html files.

Use scripts/extract_external_links.py to crawl the site and collect every external link into a JSON inventory:

python3 scripts/extract_external_links.py https://example.com --max-pages 500 --max-depth 5 --output external_links.json
# already crawled once (e.g. in a full SEO audit)? skip the crawl and reuse the shared cache:
# python3 scripts/fetch_pages.py https://example.com --output page_cache.json
# python3 scripts/extract_external_links.py --from-cache page_cache.json --output external_links.json

For every external link, the inventory records: source page, target URL, target domain, anchor text, rel attributes, target attribute, and whether the link is in <nav>/<footer> or in main content.

Read the full file on GitHub · 122 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 122 lines · 90 tokens per session scan A 1ce7f8550035

Subscribe to this mod's changes

external-link-audit is a skill published in the GitHub repository JakeLabate/Claude-SEO-Skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 90 tokens to every session and 1,519 once invoked, about $0.0005 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-08-31.