From max-context
Use this skill when the user asks to "index the codebase", "build the index", "rebuild the index", "reindex", "set up max-context", or when query_codebase returns an "index not ready" error. Also use when the user switches branches or pulls new code and wants fresh search results.
How this skill is triggered — by the user, by Claude, or both
Slash command
/max-context:index-codebaseThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Build or rebuild the max-context code intelligence index for the current project. This parses all source files with Tree-sitter, extracts functions, types, call edges, and imports, and stores them in a SQLite database with FTS5 full-text search.
Build or rebuild the max-context code intelligence index for the current project. This parses all source files with Tree-sitter, extracts functions, types, call edges, and imports, and stores them in a SQLite database with FTS5 full-text search.
query_codebase returns "index not ready"max-context --index
This will:
.gitignore and .contextignore).max-context/architecture.md and .max-context/summary.md.max-context/status.json with health infomax-context --status
touch .max-context/.reindex-queue
Once indexed, use the MCP tools:
query_codebase — Search for functions, types, or concepts by keywordget_call_chain — Trace who calls a function and what it callsget_architecture — Get the project structure summaryCreate .max-context/config.json to customize:
{
"languages": ["ts", "tsx", "js", "py", "go", "rs"],
"include": ["src/", "lib/"],
"exclude": ["vendor/", "generated/"],
"maxFileSize": 1048576
}
Create .contextignore (gitignore syntax) to exclude additional paths from indexing.
npx claudepluginhub abdussamadbello/max-context --plugin max-contextCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.