search-tools by parcadei/continuous-claude-v3
npx skills add https://github.com/parcadei/continuous-claude-v3 --skill search-tools搜索代码时,请使用此决策树:
Need CONCEPTUAL/SEMANTIC search?
(how does X work, find patterns, understand architecture)
→ Use LEANN (/leann-search) - embedding-based semantic search
→ PreToolUse hook auto-redirects semantic Grep queries
Need to understand code STRUCTURE?
(find function calls, class usages, refactor patterns)
→ Use AST-grep (/ast-grep-find)
Need to find TEXT in code?
→ Use Morph (/morph-search) - 20x faster
→ If no Morph API key: fall back to Grep tool
Simple one-off search?
→ Use built-in Grep tool directly
| 工具 | 最适合 | 要求 |
|---|---|---|
| LEANN | 语义搜索:"缓存如何工作"、"错误处理模式"、概念性查询 | 已构建索引 |
| AST-grep | 结构模式:"查找所有对 foo() 的调用"、重构、按类型查找用法 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| MCP 服务器 |
| Morph | 快速文本搜索:"查找提及错误的文件"、跨代码库的 grep 搜索 | API 密钥 |
| Grep | 字面模式、类/函数名、正则表达式 | 无要求(内置) |
LEANN(语义/概念性):
AST-grep(结构性):
Morph(文本搜索):
Grep(字面匹配):
class ProviderAdapterdef __init__ # 使用语义查询进行搜索
leann search opc-dev "how does blackboard communication work" --top-k 5
# 列出可用索引
leann list
# 重建索引(当代码变更时)
leann build opc-dev --docs dir1 dir2 --no-recompute --no-compact --force
每周安装量
194
代码仓库
GitHub 星标数
3.6K
首次出现
2026年1月22日
安全审计
安装于
opencode188
codex186
gemini-cli185
cursor184
github-copilot182
amp179
When searching code, use this decision tree:
Need CONCEPTUAL/SEMANTIC search?
(how does X work, find patterns, understand architecture)
→ Use LEANN (/leann-search) - embedding-based semantic search
→ PreToolUse hook auto-redirects semantic Grep queries
Need to understand code STRUCTURE?
(find function calls, class usages, refactor patterns)
→ Use AST-grep (/ast-grep-find)
Need to find TEXT in code?
→ Use Morph (/morph-search) - 20x faster
→ If no Morph API key: fall back to Grep tool
Simple one-off search?
→ Use built-in Grep tool directly
| Tool | Best For | Requires |
|---|---|---|
| LEANN | Semantic search: "how does caching work", "error handling patterns", conceptual queries | Index built |
| AST-grep | Structural patterns: "find all calls to foo()", refactoring, find usages by type | MCP server |
| Morph | Fast text search: "find files mentioning error", grep across codebase | API key |
| Grep | Literal patterns, class/function names, regex | Nothing (built-in) |
LEANN (semantic/conceptual):
AST-grep (structural):
Morph (text search):
Grep (literal):
class ProviderAdapterdef __init__# Search with semantic query
leann search opc-dev "how does blackboard communication work" --top-k 5
# List available indexes
leann list
# Rebuild index (when code changes)
leann build opc-dev --docs dir1 dir2 --no-recompute --no-compact --force
Weekly Installs
194
Repository
GitHub Stars
3.6K
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode188
codex186
gemini-cli185
cursor184
github-copilot182
amp179
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
116,600 周安装