agentleFS
modeled-information-formatmodeled-information-format/mnemonic/skills/search/SKILL.md

search

Skill23 starsChanged 10 months agoMITView on GitHub

This skill should be used when the user says "search memories", "find in memories", "grep mnemonic", "look for memory", "deep search", "synthesize knowledge", or asks questions like "what do we know about X". Provides progressive disclosure and enhanced iterative search with synthesis.

33 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use fetch, index and 4 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • vibesurf-aiSkill

    fetch

    Use when user asks to fetch URL content, read documentation from a URL, get webpage content as markdown, or extract structured content from any web page URL.

    Also in 5 projects that use this

  • OpenAISkill

    index

    Route Data Analytics plugin-level requests and broad analytics work to the right focused workflow. Use when Data Analytics is at-mentioned, or for analytics requests involving data, metrics, dashboards, reports, charts, notebooks, spreadsheets, KPIs, market sizing, or semantic layers.

    Also in 3 projects that use this

  • vibesurf-aiSkill

    browser

    Use when user needs direct browser control like navigating to URLs, clicking elements, typing text, scrolling, switching tabs, taking screenshots, or inspecting page state.

    Also in 3 projects that use this

  • ffsshhttiikkSkill

    i18n

    Internationalization and localization

    Also in 3 projects that use this

  • raven-souravSkill

    ingest

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 31 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Run /mnemonic:list --namespaces to see available namespaces from loaded ontologies.

    line 23
  2. Very specific:

    Search and filtering for mnemonic memories.

    line 28
  3. Distinctive:

    Always start at Level 1. Expand only if needed.

    line 103
  4. Very specific:

    If @tobilu/qmd is installed (see /mnemonic:qmd-setup):

    line 115
  5. Very specific:

    After adding memories, run /mnemonic:qmd-reindex to update indexes.

    line 138
  6. Distinctive:

    Use when queries span multiple namespaces or need comprehensive coverage.

    line 151

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

Memory

Search first: /mnemonic:search {relevant_keywords} Capture after: /mnemonic:capture {namespace} "{title}"

Run /mnemonic:list --namespaces to see available namespaces from loaded ontologies.

<!-- END MNEMONIC PROTOCOL -->

Mnemonic Search Skill

Search and filtering for mnemonic memories.

Trigger Phrases

  • "search memories", "find in memories", "grep memories", "search mnemonic"
  • "deep search memories", "comprehensive memory search", "synthesize knowledge about"

Core Search Patterns

By Namespace

rg "^namespace: _semantic/decisions" ${MNEMONIC_ROOT}/ --glob "*.memory.md" -l

By Tag

# Single tag
rg -l "^  - architecture" ${MNEMONIC_ROOT}/ --glob "*.memory.md"

# Multiple tags (AND)
rg -l "^  - architecture" ${MNEMONIC_ROOT}/ --glob "*.memory.md" | xargs rg -l "^  - database"

By Type

rg "^type: semantic" ${MNEMONIC_ROOT}/ --glob "*.memory.md" -l
rg "^type: episodic" ${MNEMONIC_ROOT}/ --glob "*.memory.md" -l
rg "^type: procedural" ${MNEMONIC_ROOT}/ --glob "*.memory.md" -l

By Date

rg "^created: 2026-01" ${MNEMONIC_ROOT}/ --glob "*.memory.md" -l

By Title

rg -i '^title: ".*auth.*"' ${MNEMONIC_ROOT}/ --glob "*.memory.md" -l

By Confidence

rg "confidence: 0\.9" ${MNEMONIC_ROOT}/ --glob "*.memory.md" -l

Full-Text

rg -i "search term" ${MNEMONIC_ROOT}/ --glob "*.memory.md"

Combined: Namespace + Text

rg "database" ${MNEMONIC_ROOT} --path "*/_semantic/decisions/" --glob "*.memory.md"

Recent Files

find ${MNEMONIC_ROOT} -name "*.memory.md" -mtime -7

Progressive Disclosure Protocol

Always start at Level 1. Expand only if needed.

LevelWhatHow
1 (start here)Titles onlyrg -l "pattern" ${MNEMONIC_ROOT}/ --glob "*.memory.md" then extract ^title:
2Frontmatter + summaryRead first ~50 lines of matched files
3Full detailRead entire memory file

Semantic Search (requires qmd)

If @tobilu/qmd is installed (see /mnemonic:qmd-setup):

# BM25 keyword search (ranked)
qmd search "authentication middleware" -n 10

# Semantic vector search (meaning-based)
qmd vsearch "how do we handle user sessions" -n 10

# Hybrid search (BM25 + vector combined)
qmd query "authentication patterns" -n 10

# Scope to collection
qmd search "auth" -c mnemonic-zircote
ToolBest ForRequires
rgExact strings, regex, frontmatter fieldsNothing
qmd searchRanked keyword search, typo-tolerantqmd update
qmd vsearchConceptual/meaning-based queriesqmd embed
qmd queryBest overall recall, combines bothBoth

After adding memories, run /mnemonic:qmd-reindex to update indexes.


Enhanced Search (Iterative with Synthesis)

For complex or multi-faceted queries:

  1. Initial search with user's query
  2. Analyze results for gaps
  3. Iterative refinement (up to 3 rounds via Task tool with mnemonic-search-subcall agent)
  4. Synthesize findings into a coherent answer with source citations

Use when queries span multiple namespaces or need comprehensive coverage.

Output Format

## Synthesized Answer
{Answer drawing from all found memories}

### Sources
| Memory | Namespace | Relevance |
|--------|-----------|-----------|
| [[memory-id]] title | namespace | High/Medium |

### Gaps
- {Topics where no memories were found}

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.