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.
npx skills add DavidROliverBA/ArchitectKB --skill check-weblinksgit clone --depth 1 https://github.com/DavidROliverBA/ArchitectKBWrote 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.
[](https://agentmods.dev/skills/davidroliverba/architectkb/check-weblinks)<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.
<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>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.
| Model | Per session | Once 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 |
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>"` 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-weblinks Skill
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
lastCheckedif --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
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.
- 3mo ago First seen · 211 lines · 0 tokens per session scan A 69a4c4d98b29
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.
check-weblinks compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| check-weblinksDavidROliverBA/ArchitectKB | Skill | 53 | 9mo ago | MIT | A | 0 | Claude Code |
| android-multiprofilechromium/chromium | Skill | 26k | today | BSD-3-Clause | A | 73 | Claude Code, Codex |
| pinchtab-mcppinchtab/pinchtab | Skill | 11k | 9d ago | MIT | A | 52 | Claude Code, Codex |
| azure-messaging-webpubsub-javamicrosoft/skills | Skill | 3.3k | today | MIT | A | 43 | Claude Code |
| cua-driverdavidondrej/skills | Skill | 4.4k | yesterday | MIT | A | 68 | Claude Code, Codex |
| open-design-browsercompozy/compozy | Skill | 2.9k | today | MIT | A | 56 | Claude Code, Codex |
| southwestborski/travel-hacking-toolkit | Skill | 1.1k | 3d ago | MIT | A | 40 | Claude Code |