redirect-audit

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

A website check that follows each URL's redirects, the automatic forwarding from one web address to another, and reports SEO problems.

In plain words
What is it for?
Use it to check a full site, sitemap, or selected URL list for clean migrations, correct HTTPS behavior, and links that do not point to redirecting or broken pages.
Why use it?
It finds forwarding chains, loops, broken destinations, unsuitable temporary redirects, insecure downgrades, and other URL-handling issues.

Skill for Claude CodeCodex

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

Good fit Use it to check a full site, sitemap, or selected URL list for clean migrations, correct HTTPS behavior, and links that do not point to redirecting or broken pages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jakelabate/claude-seo-skills/redirect-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 redirect-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 redirect-audit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jakelabate/claude-seo-skills/redirect-audit"><img src="https://agentmods.dev/badge/skills/jakelabate/claude-seo-skills/redirect-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,644 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.00120 $0.01644
Opus 5 $0.00060 $0.00822
Sonnet 5 $0.00024 $0.00329
Haiku 4.5 $0.00012 $0.00164

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

Security

Grade A, and why

redirect-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 4 executable files (scripts/audit_redirects.py, scripts/collect_redirects.py, scripts/findings_to_csv.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/redirect-audit/SKILL.md · 127 lines

How it starts

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

Redirect Audit

Resolve and audit the redirects 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 a site's redirects, 301s, 302s, or redirect rules
  • Find redirect chains, redirect loops, or redirects that end in 404s/errors
  • Verify an HTTP→HTTPS or domain/www migration redirects cleanly in one hop
  • Find temporary (302/307) redirects that should be permanent (301/308)
  • Detect meta-refresh or JavaScript redirects that should be server-side 301s
  • Check that canonical tags and sitemap URLs don't point at redirecting URLs

Inputs to collect

Before starting, confirm with the user:

  1. Site URL or URL set — a live site root URL (e.g., https://example.com), a sitemap URL (--sitemap), or a text file of specific URLs (--url-list). Sitemap and URL-list modes are best for verifying a known migration map.
  2. Scope — full crawl, a sitemap, or an explicit list. For a migration, supply the list of old URLs so each is checked for a clean single hop.
  3. Crawl limits — max pages (default 500) and max hops to follow (default 10).
  4. Chain tolerance — the maximum acceptable number of redirect hops before flagging (default 1; every redirect should reach its destination in a single hop).

Workflow

Step 1: Resolve redirect chains

Use scripts/collect_redirects.py to follow each URL one hop at a time and record the full chain:

python3 scripts/collect_redirects.py https://example.com --max-pages 500 --output redirect_inventory.json

Other input modes:

python3 scripts/collect_redirects.py https://example.com/sitemap.xml --sitemap --output redirect_inventory.json
python3 scripts/collect_redirects.py old_urls.txt --url-list --output redirect_inventory.json

For every URL the inventory records each hop (URL, status code, target), the chain length, the final URL and status, whether the chain loops or exceeds the hop limit, scheme/host changes, HTTPS→HTTP downgrades, dropped query strings, the final page's canonical, and any meta-refresh or JavaScript redirect on the final page.

Read the full file on GitHub · 127 lines

Files

What ships with it

6 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 · 127 lines · 120 tokens per session scan A c4db6352bae6

Subscribe to this mod's changes

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