/repo-graph:glia-orientfrom repo-graph
Maps a codebase structure before opening files, showing services, entry points, data flows, and graph blind spots. Use at the start of a task in an unfamiliar or large repo.
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 shape of a repo from its structural graph instead of opening files one by one.
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 |
|---|---|---|---|
| Can the graph be trusted here? | glia health . --json | ||
| Overview | orient | glia arch . --json and glia flows . --json | uvx mcp-repo-graph orient |
| Map around one node | orient seed=<node> | glia trace . <node> --json | uvx mcp-repo-graph orient "<node>" |
| Whole-repo map | orient full=true | glia arch . --include-shared --json | uvx mcp-repo-graph orient --full |
| Where the graph is blind | the overview's Blind spots | glia coverage . --json | uvx mcp-repo-graph orient |
| What could not be paired, what looks dead | glia gaps . --json |
The glia CLI has no orient verb: health, arch, flows, coverage and gaps answer its parts.
glia health . --json first (CLI only). Its verdict is the worst row: per boundary mechanism (http, grpc, rpc, graphql, queue, ws) how much of the client and server side the graph pairs (OK, DEGRADED, BLIND, with the reason and the measure, e.g. servers reached 1% of 436), then parse (code files no parser read), workspace_unresolved (in-repo packages imported by name and bound to nothing) and the dead-symbol share. A BLIND mechanism means every answer through it (a contract break, an unpaired route, a cross-service trace) is glia not seeing, not an absence: say so in the report and grep that part. A library role is never judged on reach.glia arch . --json gives the services and the links between them (HTTP, gRPC, queue, event), and glia flows . --json the entry points with where each one goes.glia coverage . --json lists the edge kinds and languages this repo's graph under-links, how many it did find, and what to grep instead. Those are the places grep is still needed.glia gaps . --json lists what could not be paired (a client call with no server route, a route nothing calls) and the likely-dead symbols.find and seed the map with it (orient seed=<node>, or glia trace . <node> --json for the flows through it).Report the main entry points and how they layer (entry, service, handler, data). Then pick up glia-find, glia-trace or glia-impact for the task itself.
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
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-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.Other plugins' skills for the same job