naman10parikh/agentbench/memory-search

Claude Code and agent skill by naman10parikh/agentbench

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Query agentbench's own memory/brain/identity corpus with the in-code BM25 index instead of grep. Use when you need "what did we decide about X", "where is the scorer rationale", "search the brain", or any recall over this repo's durable docs before changing code. Ported from Energy's scripts/memory-search.sh.

Install

npx vskill@latest install naman10parikh/agentbench/memory-search

SKILL.md

The same SKILL.md was published earlier as naman10parikh/agentbench/memory-search.

Memory Search (BM25 over agentbench's own corpus)

agentbench carries a real queryable index (src/memory-index.ts) over its own brain: memory/, identity/, brain/, and the root knowledge docs (MEMORY.md / README / AGENTS / CLAUDE / CONTEXT). It builds an inverted index and ranks documents with Okapi BM25, then multiplies by source authority and recency — this is the in-code counterpart to Energy's scripts/memory-search.sh. Use it instead of grep so you get ranked, snippet-bearing recall, not a flat substring dump.

Trigger

  • "Did we already decide how <X> is scored / cached / isolated?"
  • "Where is the rationale for the 5-dimension score?"
  • "Search agentbench's memory/brain for <topic>" — before editing, to avoid re-deriving a decision.
  • Any recall step in the deep-ingest gate (.claude/rules/deep-ingest.md).

Steps

  1. Run the query from the repository root, since it indexes the folder you run it in (built CLI):

``bash node dist/src/index.js memory-search "<your query>" --limit 5 ` or, without a build, via tsx: `bash ./node_modules/.bin/tsx src/index.ts memory-search "<your query>" ``

  1. Read the ranked hits. Each line is [rank] path (score) + the best-matching snippet. The

score already folds in BM25 relevance × source weight (memory/MEMORY.md = 4, identity/brain = 3, root docs = 2) × recency.

  1. Open the top file for full context before you act. The snippet is a pointer, not the answer.
  1. `--json` for programmatic use (e.g. feeding hits into another step):

``bash node dist/src/index.js memory-search "<query>" --json ``

Verify

bash
node dist/src/index.js memory-search "harness model constant scaffold"
# Top hit should be identity/SOUL.md or memory/MEMORY.md with score > 15.

Expected output

A ranked list of repo-relative paths with BM25 scores and one-line snippets. Cite the top hit's path when you use what you found.

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/naman10parikh/agentbench/memory-search/badge)](https://verified-skill.com/skills/naman10parikh/agentbench/memory-search)

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