Peek Plugin for Claude Code: Automatic Steering Through Session Memory

✍️ OpenClawRadar📅 Published: March 15, 2026🔗 Source
Peek Plugin for Claude Code: Automatic Steering Through Session Memory
Ad

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
Ad

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

Ad

👀 See Also