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,064 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,064 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.02064
Opus 5 $0.00080 $0.01032
Sonnet 5 $0.00032 $0.00413
Haiku 4.5 $0.00016 $0.00206

Measured 9d ago against content hash aa699bba0a22, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 9d 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 · 158 lines

How it starts

The opening of the file, as written. The whole thing — 158 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.


Trigger Conditions

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

繁體中文: 連結健檢, 死鏈, 失效連結, 斷鏈檢查, 連結審計

When This Skill Applies

  • 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.

Non-Trigger Scenarios

Scenario Skill / Tool to Use Instead
Fix a single broken link in a single file Direct Edit — no pipeline needed
Add a new URL to skill docs alterlab-scientific-writing or the relevant domain skill
Verify a bibliography actually exists (DOI/author resolution, fabricated/hallucinated citations) alterlab-citation-verifier — it cross-checks Crossref/OpenAlex/Semantic Scholar/arXiv. Link-health only repairs broken hyperlinks in docs; it never validates that a cited work exists.
Audit repo structure beyond links (schema, metadata) Separate schema-drift audit (out of scope)

Read the full file on GitHub · 158 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. 9d 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 (66 stars, last pushed 8d ago), licensed MIT. It adds 160 tokens to every session and 2,064 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-09-03.

Related

Other skills, from other repositories

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

ob-hrm-scale-adaptor

A guide for adapting organisational behaviour and human-resources survey scales across languages and cultures. It covers permission checks, translation and back-translation, expert review, participant interviews, and tests of whether groups interpret the scale comparably.

Nero1688/claude-academic-skills · 318 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 · 406 tokens

phd-milestone-tracker

A tracker for planning and monitoring the academic milestones of working business doctoral students.

Nero1688/claude-academic-skills · 394 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-scout

A research-planning guide that checks whether a proposed study can use data from a database such as TEJ, Taiwan’s financial and economic data service. It breaks the topic into variables, finds likely data sections, checks coverage and frequency, and notes gaps that still need confirmation.

Nero1688/claude-academic-skills · 233 tokens