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
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
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: