From tea-rags
Indexes or reindexes a codebase via MCP tool. First-time setup registers an alias; subsequent runs do incremental reindex of only changed files.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tea-rags:indexThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Smart indexing — check registration first, then index:
Smart indexing — check registration first, then index:
tea-rags index-codebase <path> --name <alias>Extract path from user message or argument. If absent, use current working
directory.
Check if path already registered: call mcp__tea-rags__list_projects, find
entry whose path matches target AND whose name non-empty (recovery
auto-created entries have name="").
Not registered yet (first index) — register + index in one command.
Derive default alias from path: final non-empty segment, lowercased,
non-alphanumeric replaced by -, prefixed p- if it would start with a
digit. Regex ^[a-z0-9][a-z0-9_-]{0,63}$ MUST match. Example:
/Users/me/Dev/Tools/Tea-RAGs MCP → tea-rags-mcp.
<alias>? (recommended — lets MCP tools address it by name instead of
path.)" Offer alias override.tea-rags index-codebase <path> --name <alias>. If
[INPUT_PROJECT_NAME_NOT_UNIQUE] returned, suggest numeric suffix
(<alias>-2), retry once.mcp__tea-rags__index_codebase
(path); user registers later with
tea-rags projects register --path <path> --name <alias>.Already registered → incremental reindex. Call
mcp__tea-rags__index_codebase with project: <alias> (or path). Do NOT
re-register — alias already exists.
Report full result (all metrics and duration), plus alias registered when
step 3 ran the --name path.
forceReindex: true — use /tea-rags:force-reindex for that.--name makes registering free (one command). After this
they'd register manually.mcp__tea-rags__register_project on a first
index — index-codebase --name CLI does register+index in one step. Reserve
register_project for re-pointing an existing alias, not first-time setup.npx claudepluginhub artk0de/tearags-mcp --plugin tea-ragsTriggers manual reindex of TypeScript/JavaScript codebase using matrix_reindex tool. Use after external file changes, stale or incomplete indexes, or mass file renames/moves.
Sets up and optimizes Cursor codebase indexing for @Codebase semantic search. Configures .cursorignore files, verifies status, and details embedding workflow.
Force full re-index with zero downtime by building a new versioned collection in the background while search continues on the current index. Requires explicit user confirmation.