agentleFS
star-gastar-ga/mind-mem/skills/memory-recall/SKILL.md

memory-recall

Skill22 starsChanged 6 months agoApache-2.0View on GitHub

Search across all structured memory files. Default backend: BM25 scoring with Porter stemming and domain-aware query expansion. Optional: graph-based cross-reference boosting (--graph). Optional: vector/embedding backend (configure in mind-mem.json). Returns ranked results with block ID, type, score, excerpt, and file path.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 2

    Distinctive

    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
  1. Very specific:

    Search across all structured memory files.

    line 3
  2. Distinctive:

    Before making decisions (check if a similar decision already exists)

    line 6
  3. Distinctive:

    When asked about past events, decisions, or tasks

    line 7

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/recall — Memory Search

Search across all structured memory files. Default backend: BM25 scoring with Porter stemming and domain-aware query expansion. Optional: graph-based cross-reference boosting (--graph). Optional: vector/embedding backend (configure in mind-mem.json). Returns ranked results with block ID, type, score, excerpt, and file path.

When to Use

  • Before making decisions (check if a similar decision already exists)
  • When asked about past events, decisions, or tasks
  • To find related context for a current problem
  • To check what's known about a person, project, or tool
  • To explore connections between decisions and tasks (--graph)

How to Run

Basic Search

python3 maintenance/recall.py --query "authentication" --workspace "${MIND_MEM_WORKSPACE:-.}"

Graph-Boosted Search (cross-reference neighbor discovery)

python3 maintenance/recall.py --query "database" --graph --workspace "${MIND_MEM_WORKSPACE:-.}"

JSON Output (for programmatic use)

python3 maintenance/recall.py --query "auth" --workspace "${MIND_MEM_WORKSPACE:-.}" --json --limit 5

Active Items Only

python3 maintenance/recall.py --query "deadline" --workspace "${MIND_MEM_WORKSPACE:-.}" --active-only

What It Searches

  • decisions/DECISIONS.md — All decisions
  • tasks/TASKS.md — All tasks
  • entities/projects.md — Projects
  • entities/people.md — People
  • entities/tools.md — Tools
  • entities/incidents.md — Incidents
  • intelligence/CONTRADICTIONS.md — Known contradictions
  • intelligence/DRIFT.md — Drift detections
  • intelligence/SIGNALS.md — Captured signals

Scoring

Results are ranked by BM25 relevance (k1=1.2, b=0.75) with:

  • Stemming — "queries" matches "query", "deployed" matches "deployment"
  • Query expansion — "auth" expands to include "authentication", "login", "oauth", "jwt"
  • Recency — Recent items score higher
  • Active status — Active items get 1.2x boost
  • Priority — P0/P1 items get 1.1x boost
  • Graph neighbors — With --graph, blocks connected via cross-references to keyword matches get a 0.3x boost (tagged [graph] in output)

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.