/repo-graph:glia-findfrom repo-graph
Finds where features, symbols, or concepts live in a codebase using ranked nodes with path:line. Supports MCP repo-graph tools, glia CLI, or uvx. Use instead of grep to locate relevant files before reading.
Ships in repo-graph. 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.
Get the relevant set, ranked and located, instead of grepping for one lucky file.
Use whichever is available, in this order: the repo-graph MCP tools when loaded (mcp__repo-graph__<tool>, or mcp__plugin_repo-graph_repo-graph__<tool> from the Claude Code plugin; they may be deferred, so search your tool list first); the glia CLI when on PATH; else uvx --from glia-cli glia <command> .. (no install; the first run downloads the wheel); else uvx mcp-repo-graph <verb>. The MCP tools and uvx mcp-repo-graph print the same text; the glia CLI answers the same question with --json rows (file, line, tier). Run any of them at the repo root (. below).
| Want | MCP tool call | glia CLI | uvx mcp-repo-graph |
|---|---|---|---|
| Nodes matching a name or keyword | find query=<text> | glia find . <text> --json | uvx mcp-repo-graph find "<text>" |
| The files a task, ticket or PR title is about | find query=<text> | glia find . "<text>" --files --json | uvx mcp-repo-graph find "<text>" |
| The cluster around a concept, within a budget | find query=<text> expand=true | glia pack . "<task>" --budget 4000 --json | uvx mcp-repo-graph find "<text>" --expand |
| Their source, several at once | read node=<a>,<b>,<c> | open the file:line each row gives | uvx mcp-repo-graph read "<a>,<b>,<c>" |
find a name or a word from the feature: checkout, UserService, /api/orders (glia find . UserService --json). Rows come back ranked, each with its kind, qname, file and line. live: false (⊘ in tables) marks a node no entry point reaches, which is likely dead code. --top-k <n> changes how many rows you get (default 20).glia find . "add a discount to checkout" --files --json ranks the files the ids and words in the text route to (an id defined in a task list, past commit messages). It needs glia history sync . for the message part; with no input it says which one was missing.glia pack . "<task>" --budget 4000 --json ranks the code around the matches, so related code that doesn't share the word still shows up, each node at the detail the budget buys. Over MCP, expand=true does the same ranking.read slices each to its line span with a context: footer (cross-stack callers, covering tests); with the CLI, open the file:line a row gives. glia has no read verb. Use the qname from the row when a short name is ambiguous.An empty answer is an absence with a reason and caveats, not "nothing exists": check glia coverage . --json before trusting it.
Need the whole flow, or what a change would break? Use glia-trace or glia-impact. Starting from an error or a failing test? Use glia-debug. Siblings: glia-orient, glia-find, glia-debug, glia-impact, glia-trace, glia-init; glia is the full CLI reference (every command, flag and answer shape).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
8 skills in this plugin
/gliaAnswer structural questions about a codebase with the glia CLI, no MCP server needed. Use it for where X is defined, what changing X (or a diff) affects, how feature Y flows across services, what calls, serves or implements X, what X writes or sends, which tests cover a change, what a change did to the graph, a PR review of a change, whether a change breaks an API client, whether a frontend's model of an API matches what the backend sends, what usually changes with a change, which files a task, ticket or PR title is about, the context for a task packed to a token budget, where the churning, load-bearing or tightly coupled code is, what is one thing across repos, which bazel targets own a file or a change reaches, and any structural question a Datalog or GQL query can ask. Reach for it before grep when the question is about structure, not text./glia-debugTurn a stacktrace, failing test id or diff into the code it implicates, ranked and located, then read it. Use when a test fails, an error or traceback shows up, or you need to know where to start on a bug./glia-impactBlast radius before changing code. Lists everything a function, route, class or whole diff reaches or is reached by, ranked and located, with likely-dead code flagged. Use before a refactor, rename, delete or signature change, for a PR review, and for "who uses this" or "what breaks if I change this"./glia-initBuild, rebuild or wire up the glia structural map for a repository, with the history its rankings read. Use on first use in a repo, after a large refactor or branch switch, to keep the graph fresh, or to add glia (through the repo-graph MCP server) to a project's coding agents for good./glia-orientMap a codebase before opening files. Shows the services and how they talk, the entry points and where each flows, and where the glia graph is blind. Use at the start of a task in an unfamiliar or large repo, or when asked how a codebase is laid out or what's in it./glia-overlayClose glia's blind spots in a repo by writing .glia/overlay.toml stanzas: propose the gaps, write candidate stanzas from the code, measure them with glia overlay try, and accept only what the measurement keeps. Use it when glia gaps or glia coverage shows unpaired endpoints, unresolved sinks, tag-only queues, dead-flagged symbols or overlay rot, or when a person asks for an architecture rule to be declared and checked.npx claudepluginhub james-chahwan/repo-graph --plugin repo-graphOther plugins' skills for the same job