memtrace-search

Solid

Find source code with Memtrace hybrid BM25+semantic search: symbols, functions, classes, types, constants, definitions, implementations, logic, or error strings inside code. Use when the user wants to find, search, locate, or look up code or asks where code lives. Do not use Grep, Glob, rg, find, or manual file search for code discovery. If Memtrace returns 0 results, broaden the Memtrace query and diagnose/reindex; do not switch to grep.

AI & Automation 469 stars 41 forks Updated 5 days ago NOASSERTION

Install

View on GitHub

Quality Score: 81/100

Stars 20%
89
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## Overview Find code using hybrid BM25 + semantic search (RRF). Primary discovery tool — use before relationship or impact analysis. ## Quick Reference | Tool | Best For | |------|----------| | `find_code` | Natural-language queries, broad searches | | `find_symbol` | Exact identifier names | | `get_source_window` | Bounded source read when harness lacks `Read(offset, limit)` | > **Parameter types:** Numbers must be JSON numbers — not strings. ## `find_code` parameters | Param | Required | Default | Notes | |---|---|---|---| | `query` | yes | — | Natural language or symbol text | | `repo_id` | no | all repos | | | `limit` | no | 20 | Max 100 | | `file_path` | no | — | Path/directory substring filter | | `as_of` | no | now | ISO-8601 time-travel | | `include_diagnostics` | no | false | Set true for `id`, `score` in results | **No `kind` param on `find_code`** — use `find_symbol(kind=...)` to filter by symbol type. ```json { "query": "authentication middleware", "repo_id": "memdb", "limit": 20 } ``` ## `find_symbol` parameters | Param | Required | Default | Notes | |---|---|---|---| | `name` | yes | — | Symbol name to search | | `repo_id` | no | all repos | | | `fuzzy` | no | false | API field exists; currently exact-match in backend | | `edit_distance` | no | 2 | Only when fuzzy enabled | | `kind` | no | — | `Function`, `Class`, `Method`, etc. | | `file_path` | no | — | Path substring filter | | `limit` | no | 10 | Max 50 | ```json { "name": "validateToken", "repo_...

Details

Author
syncable-dev
Repository
syncable-dev/memtrace-public
Created
5 months ago
Last Updated
5 days ago
Language
Python
License
NOASSERTION

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

memtrace-relationships

Map source-code relationships between symbols. Use when the user asks about callers, callees, references, imports, exports, type usages, class hierarchy, inheritance, implementations, overrides, or dependencies between symbols. Do not use Grep, Glob, rg, find, or manual text search for references; Memtrace traverses typed AST graph edges.

469 Updated 5 days ago
syncable-dev
AI & Automation Solid

memtrace-quality

Find dead code, complexity hotspots, and refactoring candidates in indexed source code. Use when the user asks about source-code quality, dead code, unused functions, zero callers, complexity, cyclomatic complexity, hotspots, refactoring candidates, or code smell questions. Do not use Grep, Glob, rg, or manual reference search for unused code; Memtrace uses graph reachability and complexity metrics.

469 Updated 5 days ago
syncable-dev
AI & Automation Solid

memtrace-first

Route code discovery, debugging, flow tracing, how-code-works questions, and pre-edit rationale checks in indexed source-code repos to Memtrace graph plus Cortex decision tools. Use first before searching/reading code, and before editing, refactoring, deleting, or re-picking an approach that may have a recorded decision, ban, convention, or contract. Do not use Grep, Glob, rg, find, or manual file browsing for code discovery when Memtrace is indexed. Zero results are not permission to grep; diagnose/reindex with Memtrace.

469 Updated 5 days ago
syncable-dev