instances/xiaodazi/skills/local-search/SKILL.md
Search user's local knowledge base and files using the knowledge_search tool (FTS5 + semantic) and macOS Spotlight (mdfind) for filename lookup.
npx skillsauth add malue-ai/dazee-small local-searchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
在用户电脑上搜索文件内容和文件名。
搜索已索引知识库中的文档内容。支持 FTS5 全文搜索和语义搜索。
工具名: knowledge_search
参数:
query: 搜索查询(自然语言),必填
limit: 返回结果数量,默认 5
file_type: 过滤文件类型(如 .md, .txt, .pdf),可选
<example>
<query>帮我找一下之前写的季度总结</query>
<action>
调用 knowledge_search,参数:{"query": "季度总结"}
</action>
<reasoning>用户要搜索文档内容,knowledge_search 覆盖已索引文件,优先使用</reasoning>
</example>
<example>
<query>搜一下包含"预算审批"的 PDF 文件</query>
<action>
调用 knowledge_search,参数:{"query": "预算审批", "file_type": ".pdf"}
</action>
<reasoning>有明确的文件类型过滤需求,使用 file_type 参数</reasoning>
</example>
<example>
<query>我上传的产品文档里有没有提到竞品分析?</query>
<action>
调用 knowledge_search,参数:{"query": "竞品分析"}
</action>
<reasoning>搜索已索引文档中的特定内容</reasoning>
</example>
knowledge_search 无结果时,用 macOS Spotlight 按文件名或元数据搜索。
# 按文件名搜索
mdfind -name "报告"
# 限定目录
mdfind -onlyin ~/Documents "预算"
# 限定文件类型
mdfind "kind:pdf 合同"
mdfind "kind:word 报告"
~ 简写用户目录development
Local web search (Tavily/Exa, requires API Key). For quick searches. If no Key configured or deep research needed, use cloud_agent instead.
development
Get current weather and forecasts (no API key required).
tools
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
tools
Start voice calls via the Moltbot voice-call plugin.