/repo-graph:glia-tracefrom repo-graph
Traces a feature end-to-end across files, languages, and services (frontend call, backend route, handler, data). Finds paths between two named pieces of code.
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.
Connect code across modules and across the front/back boundary in one call, instead of grepping both sides and guessing the link.
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 |
|---|---|---|---|
| A feature end to end | trace from_node=<feature> | glia trace . <feature> --json | uvx mcp-repo-graph trace "<feature>" |
| The path from A to B | trace from_node=<a> to_node=<b> | glia trace . <a> --to <b> --json | uvx mcp-repo-graph trace "<a>" "<b>" |
| Why A and B are joined, edge by edge | glia why . <a> <b> --json | ||
| Every entry point and where it goes | orient | glia flows . --json | uvx mcp-repo-graph orient |
GET /api/users) or an entry point from glia flows . --json. You get ranked distinct paths from the entry through the stack, each hop labelled with its mechanism (CALLS, HTTP_CALLS, HANDLED_BY, queue, event, data access), with cross-service hops counted. --depth (default 6) caps the hops and --max-paths (default 10) the paths: glia trace . checkout --depth 8 --json.glia trace . <a> --to <b> --json. Not sure of the names? glia find . <word> --json first and use the qnames.glia why . <a> <b> --json prints the edge's evidence: its tier, the rule that made it and the site (file, line) it was read at.file:line for each hop.No path means the two aren't connected in the graph. Say so rather than inventing a link, but check glia coverage . --json first: a URL built at runtime or a call through reflection can hide a real one.
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
code-tracing, cross-service, dependency-graph, feature-trace
npx claudepluginhub james-chahwan/repo-graph --plugin repo-graph8 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-findFind where a feature, symbol or concept lives in a codebase, as ranked nodes with path:line, then read their source. Use for "where is X", "find the code that handles Y", "which files is this task about", or to work out which files matter before reading any./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.Other plugins' skills for the same job