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
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
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
user-invocable
true
Context Mode Index
Index local project content for later search.
Instructions
Prefer the ctx_index MCP tool when it is available.
Ask for a path only if the user did not provide one and the current project root is ambiguous.
Use path, not large inline content, so file bytes do not enter the conversation.
For repository indexing, pass conservative bounds and a clear source label: