Search context-mode's persistent FTS5 knowledge base for previously indexed local project content, documentation, or session memory. Trigger: /context-mode:ctx-search
Install
npx skills add https://github.com/mksglu/context-mode --skill ctx-searchSKILL.md
Context Mode Search
Search indexed content without rereading raw sources into conversation context.
Instructions
- Prefer the
ctx_searchMCP tool when it is available. - Batch all related questions in one
queriesarray. - Scope with
sourcewhen the user names a project or indexed label. - Use short, specific queries of two to four technical terms.
ctx_search({
source: "project:<name>",
queries: ["authentication middleware", "token refresh"],
limit: 5
})
- If MCP tools are unavailable, fall back to the CLI:
context-mode search "authentication middleware" --source project:<name> --limit 5
- If the index is empty, tell the user to run
/context-mode:ctx-indexorcontext-mode index <path>first.
Related skills
context-modemksglu2.6KMandatory routing rules for Antigravity CLI. Invoke when exploring a codebase, reading files for analysis, listing context-mode tools, searching, parsing, counting, comparing, summarizing, fetching web content, or running data-heavy commands.ctx-statsmksglu1.5KShow how much context window context-mode saved this session. Displays token consumption, context savings ratio, and per-tool breakdown. Read-only — shows stats only, no reset capability. To wipe the knowledge base entirely, use ctx_purge instead. Trigger: /context-mode:ctx-statscontext-mode-opsmksglu1.5KManage context-mode GitHub issues, PRs, releases, and marketing with parallel subagent army. Orchestrates 10-20 dynamic agents per task. Use when triaging issues, reviewing PRs, releasing versions, writing LinkedIn posts, announcing releases, fixing bugs, merging contributions, validating ENV vars, testing adapters, or syncing branches.ctx-doctormksglu1.4KRun context-mode diagnostics. Checks runtimes, hooks, FTS5, plugin registration, npm and marketplace versions. Trigger: /context-mode:ctx-doctor