MANDATORY routing rules for context-mode. Invoke whenever you analyze, count, filter, compare, search, parse, or transform data; fetch a URL; or run a data-heavy command — so raw bytes stay out of the context window.
日本語の概要は準備中です。原文の説明を表示しています。
Purge the context-mode knowledge base. Permanently deletes all indexed content and resets session stats. This is destructive and cannot be undone. Trigger: /context-mode:ctx-purge
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Permanently deletes session data for this project. Two scopes are supported (issue #520):
scope: "project"): wipes EVERYTHING — knowledge base, all session DB rows for every session, events markdown, and stats.sessionId: "<id>" or scope: "session"): wipes ONLY the matching session's rows + FTS5 chunks. Sibling sessions, project stats, and the FTS5 store file are preserved.sessionId.ctx_index, ctx_fetch_and_index, ctx_batch_execute)mcp__context-mode__ctx_purge MCP tool with the chosen parameters:
{ confirm: true, sessionId: "<id>" } — implies scope:'session'.{ confirm: true, scope: "project" } — explicit destructive form.{ confirm: true } still works but emits a deprecation warning. Prefer the explicit forms.confirm: true is always required.sessionId and scope: "project" together is REJECTED as ambiguous (the sessionId implies session scope; combining with project scope contradicts intent).scope: "session" without sessionId throws — sessionId is required.ctx_purge is the only way to delete session data. No other mechanism exists.ctx_stats is read-only — shows statistics only./clear and /compact do NOT affect any context-mode data.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
MANDATORY routing rules for context-mode. Invoke whenever you analyze, count, filter, compare, search, parse, or transform data; fetch a URL; or run a data-heavy command — so raw bytes stay out of the context window.
日本語の概要は準備中です。原文の説明を表示しています。
Use context-mode tools (ctx_execute, ctx_execute_file) instead of Bash/cat when processing large outputs. Triggers: "analyze logs", "summarize output", "process data", "parse JSON", "filter results", "extract errors", "check build output", "analyze dependencies", "process API response", "large file analysis", "page snapshot", "browser snapshot", "DOM structure", "inspect page", "accessibility tree", "Playwright snapshot", "run tests", "test output", "coverage report", "git log", "recent commits", "diff between branches", "list containers", "pod status", "disk usage", "fetch docs", "API reference", "index documentation", "call API", "check response", "query results", "find TODOs", "count lines", "codebase statistics", "security audit", "outdated packages", "dependency tree", "cloud resources", "CI/CD output". Also triggers on ANY MCP tool output that may exceed 20 lines. Subagent routing is handled automatically via PreToolUse hook.
日本語の概要は準備中です。原文の説明を表示しています。
Mandatory 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.
日本語の概要は準備中です。原文の説明を表示しています。
Manage 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.
日本語の概要は準備中です。原文の説明を表示しています。
Run context-mode diagnostics. Checks runtimes, hooks, FTS5, plugin registration, npm and marketplace versions. Trigger: /context-mode:ctx-doctor
日本語の概要は準備中です。原文の説明を表示しています。
Index a local file or directory into context-mode's persistent FTS5 knowledge base so future ctx_search calls can retrieve focused snippets without rereading raw files. Trigger: /context-mode:ctx-index
日本語の概要は準備中です。原文の説明を表示しています。