kb-session-flush - Install Knowledge Vault session hooks
Installs Claude Code hooks that flush session transcripts to the Knowledge Vault and inject relevant knowledge at session start and before prompts.
Tags
Updated: 2026-11-06Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Install Claude Code hooks
- Flush session transcripts
- Inject session-start context
- Recall prompt-related knowledge
- Detect KB connection modes
- Register event dispatchers
Inputs
- Claude Code installation
- Session transcripts
- Repository commit subjects
- KB endpoint and bearer token
- Claude.ai account connector
Outputs
- Installed hook scripts
- Claude Code settings changes
- Knowledge Vault transcript entries
- Injected KB context
- Hook status logs
Requirements
- Bash
- curl
- jq or python3
- Claude Code
- Write access to ~/.claude
- No root privileges
