/indexed:index-usefrom indexed
Searches the codebase using semantic search via the indexed MCP server. Prefer over Grep/Glob for concept-based queries like 'where is authentication handled'.
Ships in indexed. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use the indexed MCP server for semantic codebase search instead of Grep/Glob.
!indexed index inspect 2>/dev/null || echo "No collections indexed yet. Run /index-create first."
Call the MCP tool directly:
mcp__indexed__search(query="$ARGUMENTS")
mcp__indexed__search_collection(collection="<name>", query="$ARGUMENTS")
| Goal | Tool |
|---|---|
| "Where is X handled?" / concept search | mcp__indexed__search |
| Finding related implementations | mcp__indexed__search |
| Understanding code intent | mcp__indexed__search |
| Exact regex or literal string match | Grep |
| Finding files by name/glob pattern | Glob |
Successful calls return the documented payload (schema: "indexed.search/1") —
the same object indexed index search --json prints. For CLI calls, check the
exit code before parsing stdout; escaping errors can print a non-JSON Rich panel.
Exit 0 can still contain an error body. Both MCP tools always request matched
content, including when search config disables it. Documents are grouped and ranked by
their best hit:
schema — indexed.search/1. Branch on it; an error string with no schema
means the search failed, not that nothing matchedcounts — {documents, hits}; collections — what was searched;
collection_errors — requests not carried out as asked (always present, []
when everything was applied). Read collections to tell the two states apart: a
collection in both arrays was searched and a requested Git option was
skipped, so its rows are unfiltered/unranked — use them, don't discard them;
only a collection absent from collections failed and contributed nothingsources — one entry per source the request meant to search (the
workspace indexed.toml selection, or the one --collection name), in order,
each {collection, source_type?, status, documents?, hits?, error?}.
status is ok, empty, missing, unusable or failed; every non-ok
entry carries an error (mirrored in collection_errors). A dead or empty
source is named here instead of quietly vanishing — never read a zero-hit
ok and a missing source as the same thingdocuments[] — each states collection, optional source_type, id, optional path /
url and score_kind oncedocuments[].hits[] — relevance (higher is better, comparable across
collections; normally 0–1 but not clamped, so l2_squared can go negative),
score (raw engine number, only comparable within one score_kind),
locator, textlocator — where the hit sits; read only the keys its kind declares:
line_span (start_line/end_line, 1-based inclusive — what grep -n prints),
page (1-based, only when page metadata is supplied), headings (heading path),
or document (position unknown, including body fragments)Global search reports failed collections and skipped per-collection Git
options in collection_errors; collections membership tells them apart — present
means searched with unfiltered rows, absent means failed.
Named search_collection can instead return a top-level error without schema:
a present but unusable collection includes type: "MCPError"; an unknown name
has no type. Caught IndexedError types preserve their concrete class name.
mcp__indexed__search(query="...") with a natural-language queryrelevance sorts them, locator says where to looklocator.path, then document path.
Multiple source paths omit document path and retain each hit's locator.path.
If only a local file:// URL is available, parse the URL and percent-decode its
path before Read (for example, file:///tmp/my%20notes.md becomes
/tmp/my notes.md; an empty or localhost authority identifies a local file).
Use the inclusive start_line / end_line span to read surrounding context.
For HTTP/HTTPS URLs, use WebFetch or an available source connector instead of
filesystem Read; authenticated sources need their authorized connector.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
semantic-search, codebase-search, mcp-search, indexed-search
3 skills in this plugin
/index-createCreate a new semantic search index (collection) from local files, Jira, or Confluence using the indexed CLI. Use when setting up a searchable collection for a codebase or document source before searching with mcp__indexed__search./index-updateUpdate or refresh an existing search collection when source files have changed. Re-reads documents from their original source, re-chunks changed content, and rebuilds the FAISS vector index.Other plugins' skills for the same job
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: hooks: Invalid string: must start with "./", skills: Invalid string: must start with "./", mcpServers: Invalid string: must start with "./"
.claude-plugin/plugin.json: hooks: Invalid string: must start with "./", skills: Invalid string: must start with "./", mcpServers: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.