.claude/skills/vault-maintenance/SKILL.md
# /vault-maintenance Skill Run quarterly vault maintenance checks to keep the knowledge base healthy. Orchestrates multiple quality checks using parallel sub-agents. ## Usage ``` /vault-maintenance # Run all checks /vault-maintenance --report # Generate report only, no fixes /vault-maintenance weblinks # Run specific check only ``` ## Maintenance Checks | Check | Purpose | Frequency | |-------|---------|-----------| | `weblinks` | Verify external URLs are still active |
npx skillsauth add DavidROliverBA/ArchitectKB .claude/skills/vault-maintenanceInstall 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.
Run quarterly vault maintenance checks to keep the knowledge base healthy. Orchestrates multiple quality checks using parallel sub-agents.
/vault-maintenance # Run all checks
/vault-maintenance --report # Generate report only, no fixes
/vault-maintenance weblinks # Run specific check only
| Check | Purpose | Frequency |
|-------|---------|-----------|
| weblinks | Verify external URLs are still active | Quarterly |
| orphans | Find notes with no backlinks | Quarterly |
| broken-links | Find broken [[wiki-links]] | Quarterly |
| archive-candidates | Identify notes ready for archiving | Quarterly |
| frontmatter | Validate frontmatter consistency | Quarterly |
## Vault Maintenance - 2026-01-10
Running quarterly health checks...
Use Task tool to spawn multiple agents in parallel with model: "haiku" for efficiency:
[Task 1: Check Weblinks] (Haiku)
[Task 2: Find Orphans] (Haiku)
[Task 3: Check Broken Links] (Haiku)
[Task 4: Find Archive Candidates] (Haiku)
[Task 5: Validate Frontmatter] (Haiku)
See: .claude/skills/check-weblinks/SKILL.md
lastChecked in frontmatterSee: .claude/skills/orphans/SKILL.md
Find notes with no incoming links:
# For each note, check if any other note links to it
grep -l "[[Note Name]]" *.md
Orphaned notes may indicate:
Exceptions (not orphans):
See: .claude/skills/broken-links/SKILL.md
Find [[wiki-links]] that point to non-existent notes:
# Extract all [[links]] and check if target exists
grep -o '\[\[[^]]*\]\]' *.md | sort -u
Broken links may indicate:
Find notes ready for archiving based on rules:
| Type | Rule | Action |
|------|------|--------|
| Project | status: completed AND modified > 6 months ago | Archive candidate |
| Task | completed: true AND modified > 3 months ago | Archive candidate |
| Person | Has leftOrganisation AND > 3 months ago | Archive candidate |
Check all notes have valid frontmatter:
type fieldtitle fieldcreated dateCollect results from all sub-agents and compile:
## Vault Maintenance Report - 2026-01-10
### Summary
| Check | Issues | Action Required |
|-------|--------|-----------------|
| Weblinks | 3 dead, 4 redirected | 3 reviews |
| Orphans | 12 found | 12 reviews |
| Broken Links | 2 found | 2 fixes |
| Archive Candidates | 8 projects, 45 tasks | 53 archives |
| Frontmatter | 5 missing fields | 5 fixes |
### Total Actions
- **Reviews needed**: 15
- **Auto-fixable**: 50
- **Manual fixes**: 7
Run `/vault-maintenance --fix` to apply auto-fixes.
| File | Status | Action |
|------|--------|--------|
| Weblink - Old Docs.md | 404 | Archive |
| Weblink - Moved Page.md | 301 → new-url | Update URL |
| File | Type | Suggestion |
|------|------|------------|
| Page - Random Notes.md | Page | Link from relevant MOC or delete |
| AtomicNote - Old Idea.md | AtomicNote | Review relevance |
| File | Broken Link | Suggestion |
|------|-------------|------------|
| Project - Alpha.md | [[John Smithh]] | Did you mean [[John Smith]]? |
| Meeting - 2025-01-05.md | [[Deleted Project]] | Remove link |
| File | Type | Last Modified | Action |
|------|------|---------------|--------|
| Project - Legacy.md | Project | 2025-03-15 | Archive |
| Task - Old Thing.md | Task | 2025-08-01 | Archive |
| File | Issue |
|------|-------|
| Page - Quick Note.md | Missing `type` field |
| Meeting - Untitled.md | Missing `title` field |
Auto-fixes:
lastChecked on weblinkscreated dates (from file creation date)Manual review required:
Run quarterly:
Add to calendar or daily note reminder.
User: /vault-maintenance
Claude:
## Vault Maintenance - Q1 2026
Launching health checks in parallel...
[5 sub-agents running]
### Results
| Check | Issues |
|-------|--------|
| Weblinks | 3 dead, 4 redirected |
| Orphans | 12 notes |
| Broken Links | 2 found |
| Archive Candidates | 53 notes |
| Frontmatter | 5 issues |
### Priority Actions
1. **Fix 2 broken links** (quick wins)
- Project - Alpha.md: [[John Smithh]] → [[John Smith]]
- Meeting - 2025-01-05.md: Remove [[Deleted Project]]
2. **Archive 53 old notes** (batch operation)
- 8 completed projects (> 6 months)
- 45 completed tasks (> 3 months)
3. **Review 12 orphaned notes**
- May need linking or deletion
4. **Review 3 dead weblinks**
- 1 unreferenced (archive)
- 2 referenced (update or remove from sources)
Run `/vault-maintenance --fix` to apply auto-fixes.
/check-weblinks - Weblink health check/orphans - Find orphaned notes/broken-links - Find broken wiki-links/archive - Archive individual notes/archive batch tasks - Batch archive old taskstools
--- 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