search-memory
Skill17 starsChanged 9 months agoMITView on GitHub
Search project memory: observations, decisions, problems. Query by type, file, concept, date. Use when: (1) "What decisions did we make about auth?", (2) "All bugs in project X", (3) "What do we know about caching?", (4) "Open problems across all projects". Triggers: "/search-memory", "search memory", "what do we know about".
2 other projects use a version of this.
Adopted by
Most recently taken up by
- YehudaFrankel/clankbraintheir own version, first seen Apr 16, 2026
- shahshrey/unclawtheir own version, first seen Apr 8, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- shahshrey/unclaw★ 16same name
- YehudaFrankel/clankbrain★ 16same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- action-itemsSkill
- aqal-reviewSkill
- directorsSkill
- dream-teamSkill
- frameworksSkill
- learned-lessonsSkill
- memory-healthSkill
- memory-initSkill
- miracle-securitySkill
- miracle-unstuckSkill
- orchestrateSkill
- project-statusSkill
- researching-webSkill
- session-saveSkill
- checkupSkill
- transcript-to-proposalSkill
- triangulateSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 46
If project: is specified, search only that project
- Distinctive: line 47
If not specified, search all projects
- Distinctive: line 128
All observations affecting that file.
- Distinctive: line 134
Progressive disclosure: always start with the index, load details only for matches
- Distinctive: line 137
Maximum 20 results: If more, show first 20 and state how many remain
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Search Memory
Searches observations and dossiers across all projects. Like type:decision file:auth.ts from structured memory systems, with zero external dependencies.
Query Syntax
Supports filter combinations:
| Filter | Example | Searches |
| Free text | caching | Summary and details across all observations |
| type: | type:decision | By type: decision, bugfix, feature, discovery, problem |
| project: | project:my-app | Within a specific project |
| file: | file:auth.ts | By affected files |
| date: | date:2026-02 | By date (year-month or year-month-day) |
| status: | status:open | Open problems (problem without resolution) |
Example queries
/search-memory type:decision caching
/search-memory project:my-app type:problem
/search-memory file:dashboard
/search-memory type:problem status:open
/search-memory date:2026-02 type:feature
/search-memory what do we know about websocketsSearch Algorithm
Step 1: Determine scope
- If
project:is specified, search only that project - If not specified, search all projects
Step 2: Load indexes
For each project in scope:
Read ~/.claude/memory/projects/{project}.observations.mdParse only the Index table first (progressive disclosure: do not load Details).
Step 3: Filter by index
Apply filters to index rows:
type:matches the Type columndate:matches the Date columnfile:matches the Files column- Free text matches the Summary column
Step 4: Load details (on demand)
For matched entries, load the Details section only for those matches.
This is progressive disclosure: index costs ~40 tokens per entry, details cost ~150 tokens. With 100 observations, savings: 4,000 tokens instead of 15,000.
Step 5: Also search dossiers
Additionally check {project}.md dossier files:
- "Decisions Made" section
- "Unresolved Problems" section
- "Next Steps" section
Output Format
## Search results: "{query}"
Found: {N} observations in {M} projects
### project-name ({n} matches)
| # | Date | Type | Summary |
|---|------|------|---------|
| 3 | 2026-01-02 | problem | Scraping too expensive |
**[3] Details:**
Before: High bills
After: Not resolved
Files: scheduler/*, worker/*
### another-project ({n} matches)
...Special Queries
"All open problems"
/search-memory type:problem status:openFinds all entries of type problem where Details does not contain "Status: Resolved".
"What do we know about X?"
/search-memory {concept}Searches all fields: summary, details, files. Also checks dossiers.
"Decision history for project"
/search-memory project:my-app type:decisionChronological list of all decisions with before/after context.
"What changed in file X?"
/search-memory file:dashboard_api.pyAll observations affecting that file.
Important
- Progressive disclosure: always start with the index, load details only for matches
- Sort results by date (newest first)
- If nothing found, say so directly. Do not make things up
- Maximum 20 results. If more, show first 20 and state how many remain
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

