Skip to content
cccskills
FreePublished on GitHub

ctx-index

Index local files or folders in context-mode’s persistent search database, so later searches can retrieve relevant passages without rereading entire files. Useful for repeatedly consulting project documents while keeping raw file contents out of the conversation.

OriginalShow the original description

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

See how to install

Good for

  • Preparing project documents for repeated searches
  • Finding relevant passages in local files
  • Indexing a repository with selected folders excluded

Files included (1)

  • SKILL.md1.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Context Mode Index

Index local project content for later search.

Instructions

  1. Prefer the ctx_index MCP tool when it is available.
  2. Ask for a path only if the user did not provide one and the current project root is ambiguous.
  3. Use path, not large inline content, so file bytes do not enter the conversation.
  4. For repository indexing, pass conservative bounds and a clear source label:
ctx_index({
  path: ".",
  source: "project:<name>",
  maxDepth: 5,
  maxFiles: 200
})
  1. If MCP tools are unavailable, fall back to the CLI:
context-mode index . --source project:<name>
  1. Report the indexed source label, file count or section count, and the matching search command:
ctx_search({ source: "project:<name>", queries: ["..."] })

Safety

  • Do not index dependency directories, build outputs, secrets, or generated artifacts.
  • Prefer --exclude or exclude for project-specific noisy paths.
  • For broad repos, ask the user before raising maxFiles above 500.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

context-mode

FreeSummary

Route codebase exploration, file analysis, and web research through context-mode tools in Antigravity CLI. Process large outputs outside the conversation and return focused findings, with indexed content available for later searches.

  • Explore a codebase and summarize key findings
  • Extract and count information in a file
  • Index web content for follow-up searches
mksglu/context-mode31KUpdated Oct 19, 2026

context-mode

FreeSummary

Route data analysis, large-file processing, and web retrieval through context-mode tools, returning only relevant results to the conversation. This helps preserve the context window, the limited amount of information an AI can work with at once.

  • Counting or filtering large datasets
  • Retrieving relevant information from web pages
  • Collecting and searching results from multiple commands
mksglu/context-mode31KUpdated Oct 19, 2026

context-mode

FreeSummary

Analyze large logs, test results, API responses, and files outside the conversation, then return focused findings. It guides agents to save, process, index, and search outputs while limiting how much raw data enters their working context.

  • Extracting errors from large logs
  • Summarizing test failures and build warnings
  • Inspecting JSON and CSV data
mksglu/context-mode31KUpdated Oct 19, 2026

context-mode-ops

FreeSummary

Coordinate multiple agents to maintain context-mode, from sorting GitHub issues and reviewing pull requests to preparing releases and announcements. Workflows require reproduced bugs, source evidence, test-first changes, and checks across supported platforms.

  • Investigating reported bugs and their history
  • Reviewing contributor pull requests
  • Preparing releases and compatibility checks
mksglu/context-mode31KUpdated Oct 19, 2026

ctx-doctor

FreeSummary

Run context-mode diagnostics to check runtimes, hooks, full-text search support, plugin registration, and npm and marketplace versions. Results appear directly in the conversation with clear status labels, with a CLI fallback if the MCP call fails.

  • Checking the environment after installation
  • Checking hooks and full-text search support
  • Reviewing plugin registration status
mksglu/context-mode31KUpdated Oct 19, 2026

ctx-insight

FreeSummary

Open the hosted context-mode Insight dashboard in your default browser to access analytics for AI-assisted engineering teams, including productive rates per engineer, retry waste, blockers, and views tailored to different roles.

  • Opening the team's development analytics dashboard
  • Reviewing productive rates and retry waste per engineer
  • Checking blockers and views tailored to team roles
mksglu/context-mode31KUpdated Oct 19, 2026

See all skills by mksglu

Report a problem with this skill