check-weblinks

check-weblinks is a skill for Claude Code from DavidROliverBA/ArchitectKB. It costs 0 tokens per session (1,379 once invoked), scanned A, original, MIT.

A vault-maintenance command that checks web links in notes. A web link is a clickable URL, and a stale or dead link no longer reaches the intended page.

In plain words
What is it for?
Use it to review all web links periodically and, with the fix option, record the check results in note metadata.
Why use it?
It finds broken, redirected, or unreachable links so outdated references do not remain unnoticed in the vault.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents; positional $N argument.

Good fit Use it to review all web links periodically and, with the fix option, record the check results in note metadata.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davidroliverba/architectkb/check-weblinks
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 DavidROliverBA/ArchitectKB --skill check-weblinks
Clone the repo
git clone --depth 1 https://github.com/DavidROliverBA/ArchitectKB

Made for: Claude Code.

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 check-weblinks

README.md
[![agentmods](https://agentmods.dev/badge/skills/davidroliverba/architectkb/check-weblinks/github.svg)](https://agentmods.dev/skills/davidroliverba/architectkb/check-weblinks)
Your own site
<a href="https://agentmods.dev/skills/davidroliverba/architectkb/check-weblinks"><img src="https://agentmods.dev/badge/skills/davidroliverba/architectkb/check-weblinks/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 check-weblinks

Your own site · 80×15
<a href="https://agentmods.dev/skills/davidroliverba/architectkb/check-weblinks"><img src="https://agentmods.dev/badge/skills/davidroliverba/architectkb/check-weblinks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,379 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.00000 $0.01379
Opus 5.5 $0.00000 $0.00552
Sonnet 5.5 $0.00000 $0.00276
Haiku 4.5 $0.00000 $0.00138

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

Security

Grade A, and why

check-weblinks 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 3mo 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. Test the URL using curl: `curl -I -L -s -o /dev/null -w "%{http_code}" "<url>"`
.claude/skills/check-weblinks/SKILL.md · 211 lines

How it starts

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

Check all weblinks in the vault to identify dead or stale links. Part of quarterly vault maintenance.

Usage

/check-weblinks
/check-weblinks --fix    # Also update frontmatter with results

Instructions

This skill uses a sub-agent to check weblinks in parallel for efficiency.

1. Find All Weblinks

Search for all notes with type: Weblink:

grep -l "type: Weblink" *.md

Or use Glob to find weblink files:

  • Pattern: Weblink - *.md

2. Launch Sub-Agent for Link Checking

Use the Task tool to spawn a sub-agent with model: "haiku" for efficiency:

Task: Check weblink health
Type: general-purpose
Model: haiku
Prompt: |
  Check the following weblinks and report their status.

  For each weblink:
  1. Read the file to get the URL from frontmatter
  2. Test the URL using curl: `curl -I -L -s -o /dev/null -w "%{http_code}" "<url>"`
  3. Classify the result:
     - 200-299: active
     - 301, 302, 308: redirected (note new URL)
     - 403, 404, 410: dead
     - 500-599: server error (may be temporary)
     - Timeout/error: unreachable

  Return a structured report with:
  - File name
  - URL
  - HTTP status code
  - Classification (active/redirected/dead/error)
  - New URL if redirected

  Files to check:
  [LIST OF WEBLINK FILES]

3. Process Results

Collect results from sub-agent and categorise:

Active (200-299)

  • No action needed
  • Update lastChecked if --fix flag

Redirected (301, 302, 308)

  • Note the redirect target
  • Consider updating URL in frontmatter
  • Flag for user review

Dead (403, 404, 410)

  • Mark as linkStatus: dead
  • Candidate for archiving (if not referenced) or deletion

Error (500+, timeout)

  • May be temporary
  • Recheck before marking dead
  • Mark as linkStatus: error

4. Update Frontmatter (if --fix)

For each checked weblink, update frontmatter:

type: Weblink
url: https://example.com/page
linkStatus: active | redirected | dead | error
lastChecked: 2026-01-10
redirectUrl: https://new-url.com  # If redirected

Read the full file on GitHub · 211 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. 3mo ago First seen · 211 lines · 0 tokens per session scan A 69a4c4d98b29

Subscribe to this mod's changes

check-weblinks is a skill published in the GitHub repository DavidROliverBA/ArchitectKB (53 stars, last pushed 9mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,379 tokens. 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

check-weblinks compared with skills from other repositories

check-weblinks next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
check-weblinksDavidROliverBA/ArchitectKBSkill539mo agoMITA0Claude Code
android-multiprofilechromium/chromiumSkill26ktodayBSD-3-ClauseA73Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k9d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.3ktodayMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.4kyesterdayMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.9ktodayMITA56Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill1.1k3d agoMITA40Claude Code