tedhaley/pensieve/pensieve-search

Claude Code and agent skill by tedhaley/pensieve

Trust tier 3
  • community
Source check pending

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-search

SKILL.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

  1. Call search with 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
  1. Open the top result's path 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).

  1. 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.

  1. 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.

  1. 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.

  1. If a hit says 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.

  1. Use git log on the folder to find who changed it and in which PR.
  2. Call 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).

Use Grep for

  • every usage of a name you already know (search returns 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tedhaley/pensieve/pensieve-search/badge)](https://verified-skill.com/skills/tedhaley/pensieve/pensieve-search)

Something wrong with this skill or its page? Tell us.