vault-maintenance

vault-maintenance is a skill for Claude Code from DavidROliverBA/ArchitectKB. It costs 0 tokens per session (1,620 once invoked), scanned A, original, MIT.

A maintenance tool for a digital knowledge base, such as a collection of linked notes. It checks links, note connections, archive candidates, and metadata fields.

In plain words
What is it for?
It is for running scheduled health checks, reviewing a report, or checking one area such as external links or archive candidates.
Why use it?
It helps find stale links, isolated notes, broken internal references, and inconsistent note details before the knowledge base becomes difficult to trust.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions subagents.

Good fit It is for running scheduled health checks, reviewing a report, or checking one area such as external links or archive candidates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davidroliverba/architectkb/vault-maintenance
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 vault-maintenance
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 vault-maintenance

README.md
[![agentmods](https://agentmods.dev/badge/skills/davidroliverba/architectkb/vault-maintenance/github.svg)](https://agentmods.dev/skills/davidroliverba/architectkb/vault-maintenance)
Your own site
<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.

agentmods 80×15 button for vault-maintenance

Your own site · 80×15
<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>
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,620 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.01620
Opus 5 $0.00000 $0.00810
Sonnet 5 $0.00000 $0.00324
Haiku 4.5 $0.00000 $0.00162

Measured 9d ago against content hash de722b885b7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

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.

.claude/skills/vault-maintenance/SKILL.md · 245 lines

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 lastChecked in 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

Read the full file on GitHub · 245 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. 9d ago First seen · 245 lines · 0 tokens per session scan A de722b885b7f

Subscribe to this mod's changes

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.

Related

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…

danielmiessler/LifeOS · 196 tokens

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…

danielmiessler/LifeOS · 158 tokens

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…

vellum-ai/vellum-assistant · 75 tokens

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…

coreyhaines31/makerskills · 322 tokens

email-assistant

Read, search, draft, and send emails via Himalaya CLI or Python IMAP/SMTP. Requires email account configuration.

fuyuxiang/echo-agent · 29 tokens

calendar

Manage calendar events via CalDAV (Google/iCloud/Nextcloud) or local ICS files. View, create, and query events.

fuyuxiang/echo-agent · 29 tokens