recall

A command for finding related notes in an Obsidian vault, an app for storing linked Markdown notes, through several levels of semantic search.

In plain words
What is it for?
Use it to search for matching notes, inspect similar notes, and follow deeper connections through the vault.
Why use it?
It helps recover useful knowledge when the exact note name or wording is unknown and direct search alone may miss related material.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/vybe/project_cornelius/recall
Clone the repo
git clone --depth 1 https://github.com/vybe/project_cornelius

Made for: Claude Code.

Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 450 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00018 $0.00450
Opus 5 $0.00009 $0.00225
Sonnet 5 $0.00004 $0.00090
Haiku 4.5 $0.00002 $0.00045

Measured 3d ago against content hash f9cfdd08ef2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

recall scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to recall — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/recall.md · 59 lines

What it actually says

Semantic Knowledge Retrieval

You are tasked with retrieving relevant knowledge from the Obsidian vault using multi-layer semantic search.

Search Query

$ARGUMENTS

Instructions

  1. First Layer - Initial Search:

    • Use mcp__smart-connections__search_notes with the query above
    • Retrieve top 5 most relevant notes (threshold: 0.5)
    • Use Read tool to read the full content of the top 2 results
  2. Second Layer - Direct Associations:

    • For the top result from layer 1, use mcp__smart-connections__get_similar_notes
    • Retrieve 5 semantically similar notes (threshold: 0.6)
    • Use Read tool to read the full content of the top 2 similar notes
  3. Third Layer - Extended Network:

    • Build a connection graph using mcp__smart-connections__get_connection_graph
    • Parameters: depth=3, max_per_level=5, threshold=0.65
    • This reveals deeper conceptual connections

Output Format

Present the findings in this structured format:

# Knowledge Recall: [Query Topic]

## Layer 1: Direct Matches
[List notes found with similarity scores and key excerpts]

## Layer 2: First-Degree Associations
[List similar notes with their connections and excerpts]

## Layer 3: Extended Network
[Show the connection graph with relationship strengths]

## Key Insights
[Synthesize the main themes and connections discovered]

## Relevant Content
[Include the most pertinent excerpts from the retrieved notes]

Important Notes

  • Focus on quality over quantity
  • Highlight unexpected connections
  • Provide enough context for the user to understand the relevance
  • If search returns no results, try broader terms or related concepts
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 59 lines · 18 tokens per session scan A f9cfdd08ef2b

Subscribe to this mod's changes

recall is a command published in the GitHub repository vybe/project_cornelius (5 stars, last pushed 10mo ago), licensed MIT. It adds 18 tokens to every session and 450 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to recall, differing in 0 lines, and is treated as a copy.