vault-prefetch
CommunityPre-fetch vault context for faster sessions.
Authorwtyler2505
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Reduces session-start latency by generating a cached digest of relevant vault topics based on the current working context and recent activity, eliminating the need for immediate vault searches during the early part of a session.
Core Features & Use Cases
- Detects session context (cwd, recent git activity, and staged files) and maps it to vault topics.
- Queries the knowledge vault for matching MOCs and top notes to produce a concise digest.
- Writes the digest to ops/cache/prefetch-<branch>.md for fast ambient context in prompts.
- Can be invoked at session start via a SessionStart hook or manually with /vault-prefetch.
- Supports caching and fast refresh with a one-hour freshness window.
Quick Start
Run /vault-prefetch at session start to generate the digest used as ambient context for this session.
Dependency Matrix
Required Modules
PyYAML
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: vault-prefetch Download link: https://github.com/wtyler2505/ProtoPulse/archive/main.zip#vault-prefetch Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.