Peek Plugin for Claude Code: Automatic Steering Through Session Memory

What Peek Does
Peek is a plugin for Claude Code that addresses the problem of the AI assistant ignoring markdown files and user preferences after plan mode. The developers built it after getting tired of Claude Code not following their markdown files consistently.
How It Works
The plugin automatically captures memories and corrections without requiring manual reminders. It merges, updates, and distills these memories, then injects the most relevant ones after each user prompt. This happens automatically without needing to remind Claude Code to use the corrections.
Technical Approach
Peek uses fusion search with multiple components:
- User prompt embeddings + BM25
- Correction embeddings + BM25
- Time decay weighting
- Target query embeddings
- Exclusion filters
- Metadata hard filters (such as specific files)
Setup Commands
From the Claude Code interface:
/plugin marketplace add Project-White-Rabbit/peek-claude-plugin
Then:
/plugin install peek
After installation:
/exit
Resume Claude Code:
claude --resume
Login to Peek:
/peek:login
Context and Limitations
The developers mention they've tried various approaches before building Peek: heavily using plan mode (which works well), CLAUDE.md, AGENTS.md, MEMORY.md files, local context folders (with upkeep challenges), Cursor rules (for Cursor users), and claude-mem (an open-source tool that handles session continuity but not steering).
The team is currently working on benchmarks to measure how effective context injection actually is for steering Claude Code. They acknowledge needing to improve extraction, search algorithms, and add more integrations. Their broader vision involves creating a real-time, personalized context layer for AI agents that can understand user-specific references and bring personal context into a secure, structured layer accessible to multiple agents.
📖 Read the full source: HN AI Agents
👀 See Also

Relational Memory for LLMs: Three-Layer System Models User Relationships
An open-source Python tool that adds relational memory to LLMs by modeling user-AI relationships across seven psychological dimensions, using a three-layer narrative structure instead of flat fact storage.

Nelson: A Claude Code Plugin for Coordinating AI Agents Like a Naval Fleet
Nelson is a Claude Code plugin that structures AI agent coordination using naval fleet principles, featuring three execution modes, a risk classification system, hull integrity monitoring, and standing order gates to prevent common anti-patterns.

LobsterBoard adds theme system and template gallery
LobsterBoard now includes a theme system with five visual options and a template gallery that allows users to export and import dashboard layouts with automatic sensitive data stripping.
MartinLoop: Open-Source Control Plane for AI Coding Agents with Budget Stops and Audit Trails
MartinLoop is an open-source control plane that adds hard budget stops, JSONL audit trails, failure classification, and test-verified completion checks to AI coding agents.