agentleFS
kriscardkriscard/Skills/skills/obsidian/memory-recall/SKILL.md

memory-recall

Skill14 starsChanged 4 months agoMITView on GitHub

Searches the Obsidian vault for prior knowledge, past decisions, and accumulated learnings — and finds unexpected connections between domains. Make sure to use this skill whenever the user asks "do I have notes on", "what do I know about", "what did I write about", "find in my vault", "check my notes about", "have I learned about", "what did I decide about", "connect [A] and [B]", "find bridges between", or any phrasing that implies consulting personal vault knowledge rather than answering from general knowledge. Also fires when user references prior sessions or wants to know what they already know about a topic.

9 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. 0 are common, 11 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Recall is index-first (Karpathy's LLM-wiki principle): Read the catalog (index.md) first to find relevant pages, then drill into those …

    line 20
  2. Very specific:

    If $ARGUMENTS is provided (e.g.

    line 25
  3. Distinctive:

    Read the catalog by ABSOLUTE path so this works from any directory, not just the vault:

    line 41
  4. Distinctive:

    If the index skim is ambiguous, returns nothing obvious, or the topic might live in page bodies not reflected in summaries, search content:

    line 53
  5. Distinctive:

    Add the qmd hits to the candidate set.

    line 72
  6. Very specific:

    Read the candidate pages in full before answering.

    line 80
  7. Very specific:

    Follow [[backlinks]] and resolve aliases via obsidian to pull in connected pages the catalog/search missed.

    line 88
  8. Distinctive:

    If the synthesis is worth keeping (a new connection, comparison, or decision), offer to file it as a wiki page via the save-note skill.

    line 99
  9. Distinctive:

    When the user asks to connect two domains ("connect A and B", "bridges between"):

    line 104
  10. Very specific:

    Map each domain index-first: read index.md, collect the pages under each domain by title/tag.

    line 106
  11. Distinctive:

    Be honest about gaps: No index match and qmd < 0.5 means say so, then offer general knowledge.

    line 137
  12. Distinctive:

    Don't skip the index. Index-first is the rule.

    line 143
  13. Distinctive:

    Don't write or modify notes — recall is strictly read-only (filing back is the save-note skill).

    line 144
  14. Distinctive:

    Don't answer from snippets alone — read the pages that matter first.

    line 145
  15. Distinctive:

    Don't hallucinate citations — if you can't find a note, say "no match found".

    line 146
  16. Distinctive:

    Don't stretch a sub-0.5 match into a confident answer — flag the gap instead.

    line 147

“Common” is measured: kept by at least 6 in 10 of the 7 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

Memory Recall

Surface what the user already knows from their vault before answering from training data. The vault is the source of truth for personal decisions, accumulated learnings, and prior context.

Recall is index-first (Karpathy's LLM-wiki principle). Read the catalog (index.md) first to find relevant pages, then drill into those pages. qmd is a search accelerator used only when the index alone is not enough. This is faithful to the wiki pattern and works better than blind semantic retrieval at this scale.

If $ARGUMENTS is provided (e.g. /memory-recall what do I know about useEffect), that string is the topic. Otherwise infer the topic from the conversation.

Tool roles (the hybrid)

  • index.md = the curated catalog. Read FIRST. The navigation map: titles, one-line summaries, tags, [[wikilinks]].
  • qmd = content search across the whole vault. Use as a FALLBACK when the index skim is ambiguous or to catch pages whose body matches but whose summary does not.
  • obsidian CLI = navigation. Follow [[backlinks]], resolve aliases, read a known page, list a folder, read the live vault (no index lag).

Recall Flow (Mode A — topic recall)

Step 1 — Read the index first (always)

Read the catalog by ABSOLUTE path so this works from any directory, not just the vault:

Read /Users/kriscard/obsidian-vault-kriscard/index.md

Skim the ## Concept notes (claude-memory) section (and ## Articles / ## Videos if relevant). Pick 3–8 candidate pages whose title, one-line summary, or tags match the topic. This selection is reasoning over the catalog, not keyword scoring.

Step 2 — qmd only if the index is not enough

If the index skim is ambiguous, returns nothing obvious, or the topic might live in page bodies not reflected in summaries, search content:

qmd query "<topic>" --json -n 8 2>/dev/null

The single-line form auto-expands (qmd generates lex/vec/hyde internally). Escalate for harder cases:

  • Ambiguous term — this vault mixes domains, so "performance" could be React render perf, Hyrox fitness, or team health. Add intent to steer expansion and reranking toward the sense you mean.
  • Unknown vocabulary — add a hyde: line: 50–100 words of the answer you expect.
  • Max recall — structured lex: + vec:; put the best guess first (it gets 2x fusion weight).
qmd query $'intent: react render performance, not fitness\nlex: useEffect rerender\nvec: how to avoid unnecessary renders' --json -n 8 2>/dev/null

Add the qmd hits to the candidate set. Score bands: ≥ 0.7 strong, 0.5–0.7 probable, < 0.5 weak.

qmd gotchas: (1) progress goes to stderr, so always append 2>/dev/null to keep --json output clean for parsing. (2) In lex/vec/hyde lines a hyphen inside a word like re-render is parsed as -negation and errors; drop the hyphen or rephrase.

Step 3 — Drill into the actual pages (navigation = obsidian CLI)

Read the candidate pages in full before answering. Use obsidian CLI to read the live page and follow the wiki's link structure; use qmd get "#docid" for a quick body pull of a qmd hit.

obsidian read path="3 - Resources/<subfolder>/<page>.md"
qmd get "#<docid>"

Follow [[backlinks]] and resolve aliases via obsidian to pull in connected pages the catalog/search missed.

Step 4 — Synthesize with citations

Answer from the pages, citing each with [[wikilink]]. Synthesize across pages; do not dump full notes unless asked. Be honest about gaps: if no index entry matches AND qmd top score < 0.5, say the vault has no coverage and offer a general-knowledge answer.

Step 5 — Offer to file the answer back

If the synthesis is worth keeping (a new connection, comparison, or decision), offer to file it as a wiki page via the save-note skill. Good answers compound into the wiki.

Connection Discovery Mode (Mode B)

When the user asks to connect two domains ("connect A and B", "bridges between"):

  1. Map each domain index-first: read index.md, collect the pages under each domain by title/tag; augment with qmd query "<domain>" --json 2>/dev/null if the catalog is thin.
  2. Pull hubs and follow backlinks 2–3 hops via obsidian CLI. If one domain has far fewer notes, go 3–4 hops deep on the sparse side — that is where surprises are.
  3. Find overlaps: shared references (notes in both backlink chains), shared themes (same concept in both, even if unlinked), shared patterns (both stuck on the same problem). A useful qmd trick: feed one domain's vocabulary as a hyde: query against the other to surface adjacent pages.
  4. Synthesize each bridge:
Bridge [#]: [Title]
  In Domain A: [how it appears]
  In Domain B: [how it appears differently]
  The connection: [what links them]
  Depth: Surface / Structural / Foundational
  Implication: [what this suggests for either domain]

Surface the strongest bridge and any missing links (connections that should exist but have not been made). The test: the best output makes you see both domains differently. Do not force connections; if the domains genuinely do not connect, say so.

Completion: each domain has been mapped index-first, candidate pages from both domains were read, 2–3 backlink hops were attempted or explicitly skipped as unavailable, and every bridge cites at least one source note from each domain. If those criteria cannot be met, report the gap instead of forcing a connection.

How to Report Findings

  • Cite the source with the file path / [[wikilink]] so the user can navigate.
  • Synthesize, do not dump. Summarize what the pages collectively say.
  • Be honest about gaps. No index match and qmd < 0.5 means say so, then offer general knowledge.
  • Distinguish note types: TIL (3 - Resources/TIL/) = first-person captures; Resources = wiki reference; Projects (1 - Projects/) = project-specific context.

What NOT to do

  • Don't skip the index. Index-first is the rule; qmd is the fallback, not the entry point.
  • Don't write or modify notes — recall is strictly read-only (filing back is the save-note skill).
  • Don't answer from snippets alone — read the pages that matter first.
  • Don't hallucinate citations — if you can't find a note, say "no match found".
  • Don't stretch a sub-0.5 match into a confident answer — flag the gap instead.

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.