Skip to content
Agentmart
Submit a tool

semantic-search

Zero-dependency TF-IDF search across MUSE memory, roles, and skills.

Skill by myths-labs

IndexedMIT★ 36
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/myths-labs-semantic-search

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Zero-dependency TF-IDF search across MUSE memory, roles, and skills. Use when user wants to find information across their project context.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/semantic-search

What's inside

Skill name
semantic-search
Description
Zero-dependency TF-IDF search across MUSE memory, roles, and skills. Use when user wants to find information across their project context.
License
MIT
Instructions
61 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Semantic Search

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

```bash
# 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

1. **Tokenization**: Query is split into lowercase terms
2. **TF (Term Frequency)**: For each file, count occurrences of each query term, normalized by file length
3. **IDF (Inverse Document Frequency)**: Terms that appear in fewer files get higher weight
4. **Score**: TF × IDF summed across all query terms
5. **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:

```bash
# 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

From myths-labs/muse, MIT.

More from myths-labs/muse

Signals

Stars
36
Forks
4
Open issues
0
Last commit (this folder)
Mar 16, 2026 (7 months ago)
Last release
Oct 24, 2026 (4 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from myths-labs

Cite this page

semantic-search skill. Agent Mart. https://agentmart.dev/skills/myths-labs-semantic-search (last updated 2026-10-24)