Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
letta-ai avatar

Memfs Search

  • 100 installs
  • 134 repo stars
  • Updated July 3, 2026
  • letta-ai/skills

Helps with ai & agent building tasks.

About

memfs-search is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • memfs-search
  • AI & Agent Building
  • AI-coding skill

Memfs Search by the numbers

  • 100 all-time installs (skills.sh)
  • +2 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #4,381 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/letta-ai/skills --skill memfs-search

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs100
repo stars134
Last updatedJuly 3, 2026
Repositoryletta-ai/skills

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

MemFS Search

Semantic search over your memory filesystem. Useful when Grep isn't enough — finding conceptually related blocks, discovering forgotten reference files, or answering "what do I know about X" across all memory.

Setup

First time only. Run the setup script to create the index and generate embeddings:

bash <SKILL_DIR>/scripts/memfs-search.sh setup

This creates a QMD collection over $MEMORY_DIR, adds context annotations, and embeds all .md files. First run downloads ~2GB of local GGUF models to ~/.cache/qmd/models/.

For installation, embedding model options, and troubleshooting: references/qmd-setup.md.

Searching

Three tiers. Pick based on what you know about your query:

You have...UseCommandSpeed
An exact term or phrasekeywordsearch~0.3s
A vague concept ("what do I know about X")semanticvsearch~2s cold, <1s warm
No idea, need the best resultshybridquery~3s cold, <1s warm
S="bash <SKILL_DIR>/scripts/memfs-search.sh"

# Keyword — fast, use first
$S search "lettabot architecture"

# Semantic — conceptual, use when keyword misses
$S vsearch "how does the user feel about code reviews"

# Hybrid — best quality, uses keyword + vectors + reranking
$S query "projects cameron is working on"

Always start with keyword search. Only escalate when it misses. Hybrid is 10x slower than keyword.

Output Formats

All commands accept output flags forwarded to QMD:

$S search "topic" --json       # structured (for processing)
$S search "topic" --files      # file paths only (pipe into Read)
$S search "topic" --full       # full document, not snippet
$S search "topic" -n 15        # more results (default: 5)

--json returns an array of objects with file, score, snippet, and context fields.

Retrieval

Fetch a specific file or batch of files without searching:

# Single file
qmd get "system/human/identity.md" -c memory --full

# Batch by glob
qmd multi-get "reference/projects/*" -c memory

When to Search Proactively

Don't wait to be asked. Search memory when:

1. Before creating a new memory file — check if the topic already exists. $S search "topic" --files tells you instantly. 2. User asks "do you know about X" — search before saying no. Reference files you haven't loaded recently might have it. 3. During `/init` or memory reorg — verify coverage. Search for key concepts and confirm they're stored somewhere. 4. Debugging "I told you about this" — the user thinks you should know something. Search memory before falling back to message history.

Maintenance

After bulk memory changes (e.g. after /init, reorganization, creating many files):

bash <SKILL_DIR>/scripts/memfs-search.sh reindex

Check index health:

bash <SKILL_DIR>/scripts/memfs-search.sh status

When NOT to Use

  • Exact string matching — use Grep.
  • Finding files by name/pattern — use Glob.
  • Reading a file you already know the path to — use Read.
  • Searching message history — use the searching-messages skill.
  • The query is a single word that would match literally — keyword Grep is faster.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.