Agent Skillsmksglu/context-mode › ctx-search

ctx-search

GitHub

用于在持久化知识库中搜索已索引的项目内容、文档或会话记忆,避免重复加载上下文。支持通过MCP工具或CLI执行,可指定来源和限制结果数量。

skills/ctx-search/SKILL.md mksglu/context-mode

Trigger Scenarios

需要检索历史项目信息 查询已索引的技术文档

Install

npx skills add mksglu/context-mode --skill ctx-search -g -y
More Options

Use without installing

npx skills use mksglu/context-mode@ctx-search

指定 Agent (Claude Code)

npx skills add mksglu/context-mode --skill ctx-search -a claude-code -g -y

安装 repo 全部 skill

npx skills add mksglu/context-mode --all -g -y

预览 repo 内 skill

npx skills add mksglu/context-mode --list

SKILL.md

Frontmatter
{
    "name": "ctx-search",
    "description": "Search context-mode's persistent FTS5 knowledge base for previously indexed\nlocal project content, documentation, or session memory.\nTrigger: \/context-mode:ctx-search\n",
    "user-invocable": true
}

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.

Version History

  • 6aad62f Current 2026-07-24 17:38

Same Skill Collection

configs/antigravity-cli/skills/context-mode/SKILL.md
configs/copilot-cli/skills/context-mode/SKILL.md
skills/ctx-doctor/SKILL.md
skills/ctx-index/SKILL.md
skills/ctx-insight/SKILL.md
skills/ctx-purge/SKILL.md
skills/ctx-stats/SKILL.md
skills/ctx-upgrade/SKILL.md
.claude/skills/context-mode-ops/SKILL.md
skills/context-mode/SKILL.md

Metadata

Files
0
Version
a029670
Hash
01fa13ff
Indexed
2026-07-24 17:38

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-16 20:11
浙ICP备14020137号-1 $mapa de visitantes$