技能 效率工具 上下文知识库搜索与检索

上下文知识库搜索与检索

v20260601
ctx-search
本工具用于搜索持久化的FTS5知识库,该知识库存储了已索引的项目文档、本地代码和会话记忆。它允许用户通过特定的查询和来源范围,高效地检索技术细节或项目上下文,避免将大量原始资料重新阅读到对话中,从而极大提高信息检索效率。
获取技能
349 次下载
概览

Context Mode Search

Search indexed content without rereading raw sources into conversation context.

Instructions

  1. Prefer the ctx_search MCP tool when it is available.
  2. Batch all related questions in one queries array.
  3. Scope with source when the user names a project or indexed label.
  4. Use short, specific queries of two to four technical terms.
ctx_search({
  source: "project:<name>",
  queries: ["authentication middleware", "token refresh"],
  limit: 5
})
  1. If MCP tools are unavailable, fall back to the CLI:
context-mode search "authentication middleware" --source project:<name> --limit 5
  1. If the index is empty, tell the user to run /context-mode:ctx-index or context-mode index <path> first.
信息
Category 效率工具
Name ctx-search
版本 v20260601
大小 999B
更新时间 2026-06-03
语言