terryhillliu-code/clawdbot-docker/knowledge-search
Claude Code and agent skill by terryhillliu-code/clawdbot-docker
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
搜索本地知识库文档,支持语义搜索和关键词搜索
Install
npx vskill@latest install terryhillliu-code/clawdbot-docker/knowledge-searchSKILL.md
The same SKILL.md was published earlier as terryhillliu-code/clawdbot-docker/knowledge-search.
知识库搜索
查询本地知识库中的 PDF/Markdown/TXT 文档内容。
触发方式
- "在我的文档里搜索 xxx"
- "本地知识库里有没有关于 xxx 的内容"
- "查一下 HBM4 的技术参数"
- "根据文档回答 xxx"
- "搜索知识库"
- "关键词 xxx"
使用方法
关键词搜索(FTS5 全文索引)
python3 /root/workspace/skills/knowledge-search/search.py keyword --query "HBM4 带宽" --top_k 5
语义搜索(向量检索,需要已向量化的文档)
python3 /root/workspace/skills/knowledge-search/search.py vector --query "高带宽内存的最新进展" --top_k 3
列出所有已入库文档
python3 /root/workspace/skills/knowledge-search/search.py list
查看知识库统计
python3 /root/workspace/skills/knowledge-search/search.py stats
输出
- 返回匹配的文档片段,包含书名、章节、相关度评分
- 语义搜索返回向量相似度分数
- 关键词搜索返回 FTS5 匹配分数
数据源
- SQLite: /root/library/klib.db (FTS5 全文索引)
- ChromaDB: /root/downloads/knowledge-library/chromadb (向量存储, bge-large-zh-v1.5, 1024维)
注意事项
- keyword 模式基于 SQLite FTS5,不需要向量化的文档即可搜索
- vector 模式需要文档已向量化到 ChromaDB
- 优先使用 keyword 模式进行快速搜索
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/knowledge-search/SKILL.md
Popularity
- 7-day trend score
- 5
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/terryhillliu-code/clawdbot-docker/knowledge-search)