Always the freshest context
The hook reads the vault at session start, so Claude Code never opens against a brief that has gone stale since it was last written.
Claude Code pulls a live, project-aware brief from your vault at every session start.
Beyond static instruction-file blocks, Auto-Inject can install a Claude Code SessionStart hook. Rather than writing a fixed brief once, the hook queries the vault live each time a session begins and hands Claude Code the freshest project-aware context available. Because it runs at startup, there is no stale block to refresh — every new session reflects what the vault knows at that moment.
The hook derives the project from the current working directory, so opening Claude Code in one repo loads that repo's memory and switching folders switches the context automatically. In the Auto-Inject tab, this target is marked as managed by a hook rather than a static file, making it clear which agents read live memory and which read a written block.
The hook reads the vault at session start, so Claude Code never opens against a brief that has gone stale since it was last written.
Context is derived from the working directory, so each repo's session begins with that repo's memory and no manual switching.
Because the brief is generated live, there is no static block to refresh — the hook keeps Claude Code current on its own.
In the Auto-Inject tab, enable the Claude Code target as a SessionStart hook.
Open Claude Code inside a project directory.
Let the hook read the vault at startup and inject project-aware context before your first message.
It runs at Claude Code's SessionStart, reads your vault live, and injects a project-aware memory brief so each session begins with current context derived from your working directory.
Yes. A static block is written once into an instruction file and refreshed manually, while the hook regenerates context from the vault at every session start, so it is always fresh and never needs refreshing.
Start new agent sessions with a fresh vault brief so important memory reaches the CLI before you repeat context.
Learn moreChoose how much memory is written into agent startup files based on the work and model context budget.
Learn moreAuto-Inject can scope memory to the current project so agents start with context that matches the workspace.
Learn moreStart free, import real conversations, and reuse your memory across every AI agent you already use.