dtsola/xiaoyaosearch/xiaoyao-search
Claude Code and agent skill by dtsola/xiaoyaosearch
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
小遥搜索 MCP 工具 - 本地文件智能搜索(语义/全文/图像/语音/混合搜索)
Install
npx vskill@latest install dtsola/xiaoyaosearch/xiaoyao-searchSKILL.md
When to use
当需要搜索本地文件时使用此 Skill:
- 通过自然语言描述搜索本地文档
- 查找包含特定关键词的文件
- 用图片搜索相似的本地图片
- 用语音转文字后搜索文件
- 需要综合语义和全文搜索结果
Capability
小遥搜索 MCP 服务器提供以下 5 个搜索工具:
1. semantic_search(语义搜索)
- 用途:基于 BGE-M3 向量模型的语义搜索
- 适用:自然语言查询,如"关于机器学习的文档"
- 参数:
query: string - 搜索关键词(1-500字符)limit: int - 返回结果数(1-100,默认20)threshold: float - 相似度阈值(0.0-1.0,默认0.5)file_types: string[] - 文件类型过滤(可选)
2. fulltext_search(全文搜索)
- 用途:基于 Whoosh 的精确关键词匹配
- 适用:查找特定术语、代码片段
- 参数:
query: string - 搜索关键词(1-500字符)limit: int - 返回结果数(1-100,默认20)file_types: string[] - 文件类型过滤(可选)
3. hybrid_search(混合搜索)
- 用途:结合语义和全文搜索,RRF 算法融合结果
- 适用:需要全面搜索结果的场景
- 参数:
query: string - 搜索关键词(1-500字符)limit: int - 返回结果数(1-100,默认20)threshold: float - 相似度阈值(0.0-1.0,默认0.5)file_types: string[] - 文件类型过滤(可选)
4. image_search(图像搜索)
- 用途:基于 CN-CLIP 的图像相似度搜索
- 适用:用图片查找相似的本地文件
- 参数:
image_path: string - 图片绝对路径limit: int - 返回结果数(1-100,默认20)threshold: float - 相似度阈值(0.0-1.0,默认0.5)
5. voice_search(语音搜索)
- 用途:FasterWhisper 语音识别后搜索
- 适用:通过语音快速搜索本地文件
- 参数:
audio_path: string - 音频绝对路径search_type: string - 搜索类型(semantic/fulltext/hybrid,默认semantic)limit: int - 返回结果数(1-100,默认20)threshold: float - 相似度阈值(0.0-1.0,默认0.5)
Usage
前提条件
- 小遥搜索后端服务已启动(默认 http://127.0.0.1:8000)
- MCP 功能已启用(默认启用)
- 索引已构建完成
调用方式
Claude Code 通过 MCP 协议自动发现和调用工具:
响应格式
搜索结果返回 JSON 格式:
Examples
示例1:语义搜索
示例2:全文搜索
示例3:图像搜索
示例4:语音搜索
示例5:混合搜索
Configuration
环境变量
| 变量名 | 默认值 | 说明 | |
|---|---|---|---|
| MCP_SSE_ENABLED | true | 启用 MCP SSE | |
| MCP_SERVER_NAME | xiaoyao-search | 服务器名称 | |
| MCP_DEFAULT_LIMIT | 20 | 默认结果数 | |
| MCP_DEFAULT_THRESHOLD | 0.5 | 默认相似度阈值 | |
| MCP_VOICE_ENABLED | true | 启用语音搜索 |
连接测试
Troubleshooting
问题1:工具调用失败
- 检查后端服务是否启动
- 确认 MCP_SSE_ENABLED=true
- 查看 /mcp 端点是否可访问
问题2:搜索结果为空
- 确认索引已构建
- 检查查询词是否正确
- 降低 threshold 值尝试
问题3:图像/语音搜索失败
- 确认文件路径为绝对路径
- 检查文件格式是否支持
- 检查文件大小是否在限制内(10MB)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/xiaoyao-search/SKILL.md
Popularity
- Repository stars
- 1,054
- Repository forks
- 62
- 7-day trend score
- 35
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dtsola/xiaoyaosearch/xiaoyao-search)