.claude/skills/check-weblinks/SKILL.md
# /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`: ```bash grep -l "type: Weblink" *.md ``` Or use Glob to find weblink files: - Pattern: `Weblink - *.md` #
npx skillsauth add DavidROliverBA/ArchitectKB .claude/skills/check-weblinksInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Check all weblinks in the vault to identify dead or stale links. Part of quarterly vault maintenance.
/check-weblinks
/check-weblinks --fix # Also update frontmatter with results
This skill uses a sub-agent to check weblinks in parallel for efficiency.
Search for all notes with type: Weblink:
grep -l "type: Weblink" *.md
Or use Glob to find weblink files:
Weblink - *.mdUse 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]
Collect results from sub-agent and categorise:
Active (200-299)
lastChecked if --fix flagRedirected (301, 302, 308)
Dead (403, 404, 410)
linkStatus: deadError (500+, timeout)
linkStatus: errorFor 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
Output a summary:
## Weblink Health Check - 2026-01-10
### Summary
- Total weblinks: 45
- Active: 38 (84%)
- Redirected: 4 (9%)
- Dead: 2 (4%)
- Error: 1 (2%)
### Action Required
#### Dead Links
| File | URL | Status | Referenced? |
|------|-----|--------|-------------|
| Weblink - Old API Docs.md | https://old.api.com/docs | 404 | No → Archive candidate |
| Weblink - Deprecated Tool.md | https://tool.io/gone | 410 | Yes (in [[ADR - Tool Selection]]) → Review |
#### Redirected Links
| File | Original URL | Redirects To |
|------|--------------|--------------|
| Weblink - AWS Guide.md | https://old.aws.com | https://docs.aws.amazon.com/new |
### Recommendations
1. Archive: Weblink - Old API Docs.md (dead, unreferenced)
2. Update URL: Weblink - AWS Guide.md (redirected)
3. Review: Weblink - Deprecated Tool.md (dead but referenced)
For dead links, check if they're referenced anywhere:
grep -l "Weblink - Old API Docs" *.md
The sub-agent should run this check for each URL:
#!/bin/bash
# check_url.sh
URL="$1"
TIMEOUT=10
# Follow redirects, get final status code
STATUS=$(curl -I -L -s -o /dev/null -w "%{http_code}" --max-time $TIMEOUT "$URL" 2>/dev/null)
if [ -z "$STATUS" ] || [ "$STATUS" = "000" ]; then
echo "error:timeout"
else
echo "status:$STATUS"
fi
Run quarterly as part of vault maintenance:
This skill is part of the /vault-maintenance suite:
/check-weblinks - Verify external links/orphans - Find notes with no backlinks/broken-links - Find broken wiki-links/archive batch tasks - Archive old completed tasksUser: /check-weblinks
Claude: Checking 45 weblinks in the vault...
[Launches sub-agent to check URLs in parallel]
## Weblink Health Check Complete
- Active: 38 (84%)
- Redirected: 4 (9%)
- Dead: 2 (4%)
- Error: 1 (2%)
### Dead Links Found:
1. **Weblink - Old API Docs.md** - 404 Not Found
- Not referenced anywhere
- Recommendation: Archive
2. **Weblink - Deprecated Tool.md** - 410 Gone
- Referenced in: [[ADR - Tool Selection]]
- Recommendation: Review the ADR, may need updating
### Redirected Links:
1. **Weblink - AWS Guide.md**
- Redirects to: https://docs.aws.amazon.com/new-path
- Recommendation: Update URL
Run `/check-weblinks --fix` to update frontmatter with check results.
tools
--- context: fork --- # /youtube Save a YouTube video as both a Weblink (quick reference) and a detailed Page (full analysis). ## Usage ``` /youtube <url> /youtube <url> <optional title override> ``` ## Examples ``` /youtube https://www.youtube.com/watch?v=0TpON5T-Sw4 /youtube https://youtu.be/abc123 AWS re:Invent Keynote ``` ## Prerequisites This skill uses the MCP Docker YouTube tools: - `mcp__MCP_DOCKER__get_video_info` - Video metadata - `mcp__MCP_DOCKER__get_transcript` - Full trans
data-ai
Create and manage git worktrees for parallel agent sessions
testing
--- context: fork --- # /wipe Generate a context handoff summary, clear the session, and resume in a fresh conversation. Detects environment and provides automated (tmux) or manual workflow. ## Usage ``` /wipe /wipe quick # Minimal handoff, just essentials /wipe detailed # Comprehensive handoff with full context ``` ## Instructions When the user invokes `/wipe`: ### Phase 1: Detect Environment First, check the terminal environment: ```bash echo "Environment Detection:"
data-ai
--- context: fork --- # /weekly-summary Generate comprehensive weekly summary from daily notes, meetings, tasks, and project updates using parallel sub-agents. ## Usage ``` /weekly-summary /weekly-summary --last-week /weekly-summary --from 2026-01-01 --to 2026-01-07 /weekly-summary --output page # Create Page note instead of just outputting ``` ## Instructions This skill uses **5 parallel sub-agents** to gather data concurrently from different vault areas, then synthesizes a comprehensi