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.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.svg" alt="Measured on agentmods" 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 $0.00000 $0.00690
Sonnet 5 $0.00000 $0.00276
Haiku 4.5 $0.00000 $0.00138

Measured 8d ago against content hash 69a4c4d98b29, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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. 8d 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 (52 stars, last pushed 6mo 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

Other skills, from other repositories

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

google-safe-browsing

Prevent and fix Google Safe Browsing "Dangerous site" flags. Use when launching a public web app, buying/picking a domain, building a login or signup page, or when any site shows a red "Dangerous site" / "Deceptive site" warning in Chrome, Brave, Safari, Firefox, or Edge. Triggers on "dangerous site", "deceptive…

davidondrej/skills · 105 tokens