broken-links

broken-links is a skill for Claude Code from akii-technologies-ltd/akii-seo-ai-search-optimizer. It costs 162 tokens per session (2,831 once invoked), scanned A, original, MIT.

A tool for finding and fixing broken links in local files or on webpages. A broken link is a URL that no longer leads to the intended page or resource.

In plain words
What is it for?
Use it to inspect links in a local repository, check one live webpage, or audit a whole site when the required site-audit connection is available.
Why use it?
It checks links at a scale appropriate to the target instead of implying that one run can crawl an entire large website. It also explains the limits when no dedicated site-audit service is available.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the akii-seo-ai-search-optimizer plugin — 12 skills, 3 commands, 5 agents, 1 hook shipped together

Good fit Use it to inspect links in a local repository, check one live webpage, or audit a whole site when the required site-audit connection is available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/akii-technologies-ltd/akii-seo-ai-search-optimizer/broken-links
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 akii-technologies-ltd/akii-seo-ai-search-optimizer --skill broken-links
Clone the repo
git clone --depth 1 https://github.com/akii-technologies-ltd/akii-seo-ai-search-optimizer

Made for: Claude Code.

Or install akii-seo-ai-search-optimizer, the plugin that ships this one along with the rest of its 12 skills, 3 commands, 5 agents, 1 hook.

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 broken-links

README.md
[![agentmods](https://agentmods.dev/badge/skills/akii-technologies-ltd/akii-seo-ai-search-optimizer/broken-links/github.svg)](https://agentmods.dev/skills/akii-technologies-ltd/akii-seo-ai-search-optimizer/broken-links)
Your own site
<a href="https://agentmods.dev/skills/akii-technologies-ltd/akii-seo-ai-search-optimizer/broken-links"><img src="https://agentmods.dev/badge/skills/akii-technologies-ltd/akii-seo-ai-search-optimizer/broken-links/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 broken-links

Your own site · 80×15
<a href="https://agentmods.dev/skills/akii-technologies-ltd/akii-seo-ai-search-optimizer/broken-links"><img src="https://agentmods.dev/badge/skills/akii-technologies-ltd/akii-seo-ai-search-optimizer/broken-links.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 162 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,831 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00162 $0.02831
Opus 5 $0.00081 $0.01416
Sonnet 5 $0.00032 $0.00566
Haiku 4.5 $0.00016 $0.00283

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

Security

Grade A, and why

broken-links scanned grade A with 1 finding 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 12d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

2. Verify each link sequentially via `Bash` curl HEAD requests
skills/broken-links/SKILL.md · 142 lines

How it starts

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

You are a broken-link auditor powered by Akii. Be honest about scale up front — this skill does NOT have a built-in crawler. It executes a procedure using Claude Code's available tools (Glob, Grep, WebFetch, Bash).

How this actually works (architecture)

There is no background crawler binary, no concurrency queue, no persistent state across sessions. The skill body tells Claude to:

  1. Find links (via Glob + Grep for local repos, or WebFetch HTML parsing for live URLs)
  2. Verify each link sequentially via Bash curl HEAD requests
  3. Classify + report

That means the skill's scale ceiling is bounded by Claude Code's per-turn tool-call budget (typically ~25-50 sequential calls before context pressure) and per-fetch latency (~2-5s for live URLs).

If the user expects a 5,000-page crawl with one slash command, set expectations first — see Mode site below.

Modes

Detect from target shape if not specified explicitly. Default order: local if target is a directory path; page if target is a single URL; site if user says "across my site" / "whole site" / "5000 pages" / similar.

Mode Target Scale ceiling Mechanism
local Directory path (default for any local repo) No upper limit on link discoveryGlob + Grep scale to millions of lines. Link verification is bounded by tool budget — batch externally if the link set exceeds ~50. Glob HTML/MD/MDX files, Grep href= / src=, dedupe, verify each via Bash curl
page Single URL ~30-100 outbound links per run WebFetch the page, extract <a> + <img> + <link> URLs, verify each via Bash curl
site Multi-page live crawl Requires Ahrefs site-audit MCP. Without it, refuse and explain. If mcp__plugin_marketing_ahrefs__site-audit-* is available, query its crawl issues for 404s/redirect chains/mixed content. Otherwise stop and tell user.

Procedure

Mode local — local repo audit (the strongest mode)

Read the full file on GitHub · 142 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. 12d ago First seen · 142 lines · 162 tokens per session scan A 8b3802fe41ab

Subscribe to this mod's changes

broken-links is a skill published in the GitHub repository akii-technologies-ltd/akii-seo-ai-search-optimizer (76 stars, last pushed 3mo ago), licensed MIT. It adds 162 tokens to every session and 2,831 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

operating-cadence

Designs the rhythm an organization runs on — which reviews happen weekly, monthly and quarterly, what each one decides, who owns the numbers presented, and how a signal at the front line reaches the people who can act on it. Use this to set up a management operating system, fix a meeting calendar that produces no…

cbrock84/headcount · 95 tokens

analyze

Deep-dive codebase analysis that explains how things actually work — business rules, architecture patterns, auth flows, data models, integrations, and performance hotspots. Use whenever the user asks "how does X work", "map the Y flow", "what are the business rules for Z", "trace the auth path", "explore the codebase…

rsmdt/the-startup · 118 tokens

debug

Systematically diagnose and resolve bugs through conversational investigation and root cause analysis.

rsmdt/the-startup · 15 tokens

testing

Writing effective tests and running them successfully. Covers layer-specific mocking rules, test design principles, debugging failures, and flaky test management. Use when writing tests, reviewing test quality, or debugging test failures.

rsmdt/the-startup · 42 tokens

performance-analysis

Measurement approaches, profiling patterns, bottleneck identification, and optimization guidance. Use when diagnosing performance issues, establishing baselines, identifying bottlenecks, or planning for scale. Always measure before optimizing.

rsmdt/the-startup · 42 tokens

sofa-search

Search Stack Overflow for Agents (SOFA) for a peer-verified solution before solving from scratch. TRIGGER when: about to debug an unfamiliar error, integrate a new API/library, or research an unfamiliar pattern, and SOFA is configured. SKIP: trivial/familiar tasks; SOFA unconfigured (no-op); contributing (future…

komluk/scaffolding · 74 tokens