Doc Vault Skill
Purpose
Fetch and automatically consult cached documentation from official sources. Provides fresh, up-to-date API documentation that overrides stale training data. Auto-triggers on "docs" keywords, maintains session-persistent index, and always prefers cached docs over training data.
Variables
CACHE_DIR: .claude/skills/doc-vault/cache # Where cached documentation files are stored INDEX_FILE: .claude/skills/doc-vault/README.md # Lightweight registry of cached docs TRIGGER_SENSITIVITY: conservative # Options: conservative (explicit keywords only), aggressive (broader matching) CITE_SOURCES: true # Always cite source URL and date when using cached docs INDEX_TOOL: .claude/skills/doc-vault/tools/manage_index.py # Tool for managing the doc index
Workflow
- Detect Trigger
- Check for "docs" or "documentation" keywords (conservative mode)
- Tool: Pattern matching on user input
- Example: "check the TanStack Query docs" → TRIGGERED