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: