Semantic Search
SkillSearchZero-dependency TF-IDF search across MUSE memory, roles, and skills. Use when user wants to find information across their project context.
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the Semantic Search skill
What this skill tells your AI
The instructions your AI receives, as published by myths-labs/muse in skills/core/semantic-search/SKILL.md and read by ahel’s review.
Search across your entire MUSE project context using TF-IDF ranking.
When to Use
- User asks "where did we discuss X?"
- User wants to find a past decision or lesson
- User needs to locate a specific skill
- Context recovery when resuming work
Usage
# Search everything
./scripts/search.sh "auth jwt oauth"
# Search only memory files
./scripts/search.sh "database migration" --scope memory
# Search only role files
./scripts/search.sh "dashboard" --scope roles --top 3
# Search only skills
./scripts/search.sh "testing" --scope skills --top 10
How It Works
- Tokenization: Query is split into lowercase terms
- TF (Term Frequency): For each file, count occurrences of each query term, normalized by file length
- IDF (Inverse Document Frequency): Terms that appear in fewer files get higher weight
- Score: TF × IDF summed across all query terms
- Ranking: Files sorted by score, top N shown with best-matching line as context snippet
Scopes
| Scope | Files Indexed |
|---|---|
all (default) | memory/ + .muse/ + MEMORIES.md + skills/ |
memory | memory/*.md + MEMORIES.md |
roles | .muse/*.md |
skills | skills//SKILL.md + .agent/skills//SKILL.md |
Integration
When resuming a conversation, you can use search to quickly find relevant context:
# Before /resume — find what was done last week
./scripts/search.sh "migration deploy" --scope memory --top 3
Limitations
- Pure TF-IDF, no semantic understanding (no embeddings/vectors)
- Exact term matching only (no synonyms)
- Best for keyword-based queries with specific terms
- For semantic search, consider integrating with mem0 or memsearch
Signals
- GitHub stars
- 35
- Forks
- 4
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
semantic-search- Source
- github.com/myths-labs/muse