askill
search

searchSafety 95Repository

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.

5 stars
1.2k downloads
Updated 2/18/2026

Package Files

Loading files...
SKILL.md

Memory

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

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

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}

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

76/100Analyzed 2/25/2026

Solid search skill with comprehensive patterns for namespace, tag, type, date, title, confidence, and full-text search. Includes progressive disclosure protocol and semantic search integration. Well-organized with clear tables and code examples. Minor gaps include missing setup instructions for prerequisites (MNEMONIC_ROOT, qmd). Good trigger phrase coverage. Generally applicable beyond single repo due to reusable search methodology."

95
85
60
68
72

Metadata

Licenseunknown
Version-
Updated2/18/2026
Publisherzircote

Tags

databasesecurity