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 vault-maintenancegit 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/vault-maintenance)<a href="https://agentmods.dev/skills/davidroliverba/architectkb/vault-maintenance"><img src="https://agentmods.dev/badge/skills/davidroliverba/architectkb/vault-maintenance/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/vault-maintenance"><img src="https://agentmods.dev/badge/skills/davidroliverba/architectkb/vault-maintenance.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.01620 |
| Opus 5 | $0.00000 | $0.00810 |
| Sonnet 5 | $0.00000 | $0.00324 |
| Haiku 4.5 | $0.00000 | $0.00162 |
Grade A, and why
vault-maintenance scanned grade A with 0 findings 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 9d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 245 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/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 | 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 |
Instructions
1. Announce Maintenance Mode
## Vault Maintenance - 2026-01-10
Running quarterly health checks...
2. Launch Parallel Sub-Agents
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)
3. Check Descriptions
Weblinks Check
See: .claude/skills/check-weblinks/SKILL.md
- Test all URLs for 404/redirects
- Flag dead links for review
- Update
lastCheckedin frontmatter
Orphans Check
See: .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:
- Forgotten content
- Notes that should be linked from MOCs
- Candidates for deletion
Exceptions (not orphans):
- MOC files (they link out, not in)
- Daily notes (accessed by date)
- Dashboard
Broken Links Check
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
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.
- 9d ago First seen · 245 lines · 0 tokens per session scan A de722b885b7f
vault-maintenance 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,620 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
Cortex
Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…
Migrate
Intakes external content, classifies chunks against LifeOS taxonomy, commits with provenance. Sources: .md/.txt, stdin, LifeOS dirs, CLAUDE.md/Cursor/OpenAI Custom Instructions, Obsidian/Notion/Apple Notes exports. MigrateScan classifies → routing table. MigrateApprove with…
daily-briefing
Proactive daily briefing that fires on a recurring schedule, pulls recent memory and workspace context, composes a structured summary (action items, progress, radar, next steps), and delivers it to all active channels. Enable with a time like "set up my daily briefing at 9am". Disable, reschedule, or check status at…
company-brain
Your team's shared, AI-ready knowledge base — people, companies, meetings, SOPs, and decisions structured so Claude can answer questions on your team's behalf. Team-scope sibling to second-brain (which is personal-scope). Seven modes — capture (drop something into the right structured dir), compile (process into wiki…
email-assistant
Read, search, draft, and send emails via Himalaya CLI or Python IMAP/SMTP. Requires email account configuration.
calendar
Manage calendar events via CalDAV (Google/iCloud/Nextcloud) or local ICS files. View, create, and query events.