tedhaley/pensieve/pensieve-search
Claude Code and agent skill by tedhaley/pensieve
- community
Checking that the SKILL.md file is still in the repository.
Find code, docs or past agent sessions fast with Pensieve's MCP search instead of chains of grep. Use whenever you need to locate where something is implemented, find code similar to what you're about to write, look up an error message or identifier, or recall what an earlier session decided.
Install
npx vskill@latest install tedhaley/pensieve/pensieve-searchSKILL.md
Finding things with Pensieve
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.
Locate code
- Call
searchwith the request as you understand it. Good queries:
- what it does:
where do we refresh expired OAuth tokens - a name:
fetchCompanies,build_unified_record - an error or log line, unquoted:
Entity value still exists - a mix:
fetchCompanies retry on 429
- Open the top result's
pathat itslinewith 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).
- If nothing fits, rephrase once in the codebase's vocabulary (names you saw in the results), then fall back to
Grep. Don't run more than two searches for the same thing.
Search to locate, then switch tools
search tells you where the code is. The files tell you what the code does.
- Read the lines under each top hit.
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.
- After a hit gives you the folder, stop searching for that question. Read the files with your file reader.
read(id) on a code hit gives the whole function that holds the hit, if you want only that.
- If a hit says
defines Databricks job, calljobs(path)to find out if the job is deployed, paused, and
when it last ran. The code cannot tell you this.
- Use
git logon the folder to find who changed it and in which PR. - Call
threadsonly 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).
Use Grep for
- every usage of a name you already know (
searchreturns the best files, not an exhaustive list); - confirming an exact string before an edit.
Before writing new code
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.
Recall earlier work
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 …".
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpensieve/integrations/skills/pensieve-search/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tedhaley/pensieve/pensieve-search)