alterlab-link-health

alterlab-link-health is a skill for Claude Code from AlterLab-IEU/AlterLab-Academic-Skills. It costs 160 tokens per session (2,038 once invoked), scanned A, original, MIT.

A workflow for checking and repairing Markdown links across a documentation repository, including links to local files and web pages.

In plain words
What is it for?
Use it to audit documentation links, repair file references and URLs, handle remaining exceptions, and prepare follow-up cleanup work.
Why use it?
It helps find dead or incorrect links and reduces the chance of breaking links that already work while fixing others.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

Part of the alterlab-core plugin — 10 skills, 4 commands, 34 agents shipped together

Good fit Use it to audit documentation links, repair file references and URLs, handle remaining exceptions, and prepare follow-up cleanup work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alterlab-ieu/alterlab-academic-skills/alterlab-link-health
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 AlterLab-IEU/AlterLab-Academic-Skills --skill alterlab-link-health
Clone the repo
git clone --depth 1 https://github.com/AlterLab-IEU/AlterLab-Academic-Skills

Made for: Claude Code.

Or install alterlab-core, the plugin that ships this one along with the rest of its 10 skills, 4 commands, 34 agents.

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 alterlab-link-health

README.md
[![agentmods](https://agentmods.dev/badge/skills/alterlab-ieu/alterlab-academic-skills/alterlab-link-health/github.svg)](https://agentmods.dev/skills/alterlab-ieu/alterlab-academic-skills/alterlab-link-health)
Your own site
<a href="https://agentmods.dev/skills/alterlab-ieu/alterlab-academic-skills/alterlab-link-health"><img src="https://agentmods.dev/badge/skills/alterlab-ieu/alterlab-academic-skills/alterlab-link-health/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 alterlab-link-health

Your own site · 80×15
<a href="https://agentmods.dev/skills/alterlab-ieu/alterlab-academic-skills/alterlab-link-health"><img src="https://agentmods.dev/badge/skills/alterlab-ieu/alterlab-academic-skills/alterlab-link-health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 160 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,038 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 77
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00160 $0.02038
Opus 5.5 $0.00064 $0.00815
Sonnet 5.5 $0.00032 $0.00408
Haiku 4.5 $0.00016 $0.00204

Measured 1mo ago against content hash cda8aec4e9d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

alterlab-link-health 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 1mo 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. For HTTP URLs: `curl -sSI -L --max-time 15 '<new>'` — final status must be 200 (after redirects).
skills/core/alterlab-link-health/SKILL.md · 153 lines

How it starts

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

A reusable methodology for bringing a broken docs-heavy repo's link checker to green. Codified from a real audit that took AlterLab-IEU/AlterLab-Academic-Skills from 1208 errors out of 1966 links to 0 errors out of 1912 links across 8 commits, with an auto-detected Tier 3 regression that validated the guardrail rule.

Quick Start

Full audit (fresh repo, failing link checker):

Audit and repair the link health of <owner/repo>. Run the full four-tier pipeline.

→ Dispatch the 10-agent audit from playbooks/full-audit.md, then the tiered APPLY phase.

Targeted residual pass (first dispatch reduced errors but some remain):

The link checker is down from 1208 to 67 errors. Close the residuals.

→ Dispatch the 3-agent followup pass from playbooks/followup-pass.md.

Post-merge cleanup (PR is green, need to finalize human-decision items):

Finalize the post-merge cleanup: resolve pending human-decision items, file follow-up issues, document link debt.

→ Dispatch the 4-agent post-merge pass from playbooks/post-merge.md.


When to Use This Skill

  • A weekly Check Links (or similar lychee / markdown-link-check) workflow has been failing.
  • The user mentions a large error count (hundreds+) that they suspect is mostly config-driven false positives.
  • The user wants to refactor broken intra-repo file references across many skills / docs.
  • The user wants a reusable process for link debt maintenance going forward.

Trigger keywords — English: link audit, dead links, link health, lychee, broken links, link checker, markdown link audit, link-health audit, 404 audit, check-links failing, CI link-check. 繁體中文: 連結健檢, 死鏈, 失效連結, 斷鏈檢查, 連結審計.

Does NOT Trigger

Scenario Use Instead
Verify that cited works exist (DOI/author resolution, fabricated or hallucinated references, retractions) alterlab-citation-verifier — link-health only repairs hyperlinks; it never validates that a cited work exists
Fix a single broken link in a single file A direct edit — no pipeline needed
Audit repo structure beyond links (schema, frontmatter, metadata) A separate schema-drift audit (out of scope here)

Read the full file on GitHub · 153 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. 1mo ago Changed · -5 lines cda8aec4e9d3
  2. 1mo ago First seen · 158 lines · 160 tokens per session scan A aa699bba0a22

Subscribe to this mod's changes

alterlab-link-health is a skill published in the GitHub repository AlterLab-IEU/AlterLab-Academic-Skills (78 stars, last pushed 4d ago), licensed MIT. It adds 160 tokens to every session and 2,038 once invoked, about $0.0006 per session on Opus 5.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-09-03.

Related

Other skills, from other repositories

pair-programming

AI-assisted pair programming with multiple modes (driver/navigator/switch), real-time verification, quality monitoring, and comprehensive testing. Supports TDD, debugging, refactoring, and learning sessions. Features automatic role switching, continuous code review, security scanning, and performance optimization with…

frankxai/claude-skills-library · 85 tokens

performance-analysis

Performance analysis, bottleneck detection, and optimization recommendations. Use when profiling slow code or systems, hunting a performance regression, or producing an optimization plan with measurable targets.

frankxai/claude-skills-library · 36 tokens

academic-slides

Create Beamer-inspired academic HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build slides for a conference talk, lecture, seminar, or thesis defense. Supports theorem environments, KaTeX equations, algorithm pseudocode, and citations. Helps academics discover their…

Nero1688/claude-academic-skills · 74 tokens

r-spss-syntax-architect

A guide for turning research hypotheses into repeatable R or SPSS code for statistical analysis. It covers panel data, where the same companies or other units are observed over time, as well as interaction effects, curves, and mediation.

Nero1688/claude-academic-skills · 535 tokens

q1-journal-reviewer

A simulated anonymous review by a demanding business-research journal referee. It examines a complete paper for contribution, causal reasoning, robustness checks, mechanisms, and the difference between statistical and real-world importance.

Nero1688/claude-academic-skills · 353 tokens

tej-data-wrangler

A data-cleaning workflow for raw TEJ files. TEJ, the Taiwan Economic Journal, provides financial and company data; this workflow turns its Excel or CSV downloads into analysis-ready panel data, where observations are tracked across companies and time.

Nero1688/claude-academic-skills · 327 tokens