/pensieve:pensieve-searchfrom pensieve
Searches code, docs, and past agent sessions using Pensieve's MCP tool. Faster than grep for locating implementations, identifiers, error messages, or recalling prior decisions.
Ships in pensieve. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Pensieve's search ranks a whole repo by meaning, keywords and exact names in one call. On its benchmark the
right file is the first result for ~96% of error strings, ~92% of identifiers and ~67% of plain-English
descriptions, and agents using it solve more lookups with ~40% fewer tool calls than grep-first searching.
search with the request as you understand it. Good queries:
where do we refresh expired OAuth tokensfetchCompanies, build_unified_recordEntity value still existsfetchCompanies retry on 429path at its line with your normal file reader. Check the next two or three results only
if the first doesn't fit; they're usually siblings (a test, a twin person_/company_ file).search tells you where the code is. The files tell you what the code does.
about: is the file's own summary. next to it: lists the files in the
same folder. The answer is often in one of these files: a job YAML, a README, a test.read(id) on a code hit gives the whole function that holds the hit, if you want only that.defines Databricks job, call jobs(path) to find out if the job is deployed, paused, and
when it last ran. The code cannot tell you this.git log on the folder to find who changed it and in which PR.threads only when the user asks about their own open work. A question about how code works does
not need it.With no kind: or project:, search returns only code and files. Add kind:session for agent history and
kind:doc for tickets and PRs.
Filters: kind:code (just code), kind:file (documents), kind:session (agent history), in:<repo or folder>,
ext:<extension>, -word to exclude, "exact phrase" to require text, since:3d and until:2026-10-01 (a date,
12h, 3d, 2w, 1m, today or yesterday), and project:<name> (agent sessions of that project).
search returns the best files, not an exhaustive list);search for code that already does something similar, then similar(id) on the best hit. Reuse its
helpers and conventions; mention near-duplicates you found rather than adding another.
search with kind:session finds earlier agent sessions on a topic; read(id) shows the transcript and summary.
Add since:, until: or project: for "last week's sessions in this repo". With no topic words
(kind:session since:2d), the result is the matching sessions, newest first.
Use it when the user says "like we did before" or "what did we decide about …".
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/pensieve-planGround a plan for new code in what already exists and who knows it, using Pensieve. Use when planning a feature, refactor or new module, writing a design doc, or before starting a large change./pensieve-teammatesSuggest which teammates to talk to, using Pensieve's git-blame knowledge map. Use when the user is stuck in unfamiliar code, asks who owns or knows an area, is about to change code mostly written by others, or wants a reviewer./pensieve-wrap-upClose out the user's open threads with Pensieve, by shipping or discarding their work. Gets the threads closest to done and does the steps that close each one in git, GitHub and the issue tracker. Use when the user asks to wrap up, ship, close out, tidy, discard or finish their threads, asks "what is left to close", or asks whether the last thread is done.npx claudepluginhub tedhaley/pensieve --plugin pensieveOther plugins' skills for the same job