glia-overlay

glia-overlay is a skill for Claude Code from James-Chahwan/repo-graph. It costs 99 tokens per session (8,869 once invoked), scanned A, original, MIT.

A configuration tool for recording connections that a source-code map cannot see directly, such as runtime-built URLs or scheduler-called entry points. It tests proposed rules before accepting them.

In plain words
What is it for?
Use it to close missing links in a repository map and to define architecture rules that the code can be checked against.
Why use it?
Some important relationships are created indirectly and therefore remain invisible to automatic code analysis; this lets you describe and measure those gaps.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

Part of the repo-graph plugin — 8 skills shipped together

Good fit Use it to close missing links in a repository map and to define architecture rules that the code can be checked against.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/james-chahwan/repo-graph/glia-overlay
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add James-Chahwan/repo-graph --skill glia-overlay
Clone the repo
git clone --depth 1 https://github.com/James-Chahwan/repo-graph

Made for: Claude Code.

Or install repo-graph, the plugin that ships this one along with the rest of its 8 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for glia-overlay

README.md
[![agentmods](https://agentmods.dev/badge/skills/james-chahwan/repo-graph/glia-overlay/github.svg)](https://agentmods.dev/skills/james-chahwan/repo-graph/glia-overlay)
Your own site
<a href="https://agentmods.dev/skills/james-chahwan/repo-graph/glia-overlay"><img src="https://agentmods.dev/badge/skills/james-chahwan/repo-graph/glia-overlay/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for glia-overlay

Your own site · 80×15
<a href="https://agentmods.dev/skills/james-chahwan/repo-graph/glia-overlay"><img src="https://agentmods.dev/badge/skills/james-chahwan/repo-graph/glia-overlay.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,869 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00099 $0.08869
Opus 5.5 $0.00040 $0.03548
Sonnet 5.5 $0.00020 $0.01774
Haiku 4.5 $0.00010 $0.00887

Measured 5d ago against content hash f7a52bbd9ac5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

glia-overlay scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

"snippet":{"file":"src/client.ts","start_line":2,"lines":["","export function request(method: string, path: string) {"," return fetch(path, { method });","}",""]}},
claude-plugin/skills/glia-overlay/SKILL.md · 347 lines

How it starts

The opening of the file, as written. The whole thing — 347 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Closing glia's blind spots with the overlay

glia builds its graph from source, so it misses links the source does not spell out: a URL built at runtime, a project's own request / publish / collection helper, an entry point that the OS or a scheduler calls. <repo>/.glia/overlay.toml declares them. glia never calls a model: you write candidate stanzas from the code, and glia measures them. Three commands run the loop:

  • glia overlay propose lists the gaps a stanza could close. Each gap has a stable id (gap:<16 hex>) and the source lines around it. It writes nothing.
  • glia overlay try builds the repo with and without your candidate stanzas and gives each stanza a verdict. It writes only the parse cache.
  • glia overlay accept is the only writer of .glia/overlay.toml. It adds the stanzas you pick and removes rotted rules by gap id.

The same loop carries architecture rules ([[constraint]] stanzas that glia check enforces): you write the rule, try judges it by the violations glia check finds on the code as it is, and accept writes it.

The schema of every section is in docs/overlay.md (https://github.com/James-Chahwan/glia/blob/main/docs/overlay.md). For queries (where is X, what does X affect), use the glia skill.

From Python. The wheel runs the same three steps in-process, with the same reports as the --json output: glia_py.overlay_propose(repo_paths, categories=None, top_k=20, snippet_lines=3), glia_py.overlay_try(repo_paths, candidate, leave_one_out=True) and glia_py.overlay_accept(repo_path, candidate=None, only=None, remove=None, dry_run=False). repo_paths is a list: the first is the primary repo, whose .glia/overlay.toml the loop reads, and the rest are what --with adds. candidate is the candidate's TOML text, not a path. only and remove are lists of stanza handles and gap ids. A refused candidate, or an accept that would not validate, raises ValueError with the loader's reasons, and nothing is written. overlay_accept is still the only writer of .glia/overlay.toml.

Read the full file on GitHub · 347 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 347 lines · 99 tokens per session scan A f7a52bbd9ac5

Subscribe to this mod's changes

glia-overlay is a skill published in the GitHub repository James-Chahwan/repo-graph (55 stars, last pushed 3d ago), licensed MIT. It adds 99 tokens to every session and 8,869 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-02.

Related

glia-overlay compared with skills from other repositories

glia-overlay next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
glia-overlayJames-Chahwan/repo-graphSkill553d agoMITA99Claude Code
autoreviewopenclaw/clawhubSkill9.5kyesterdayMITA17Claude Code, Codex
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k6d agoMITA115Claude Code, Codex
omh-code-reviewrlaope/oh-my-hermesSkill5.2kyesterdayMITA48Claude Code, Codex
revdiff-planumputun/revdiffSkill945yesterdayMITA84Claude Code
explore-unknownsdzhng/skillsSkill1.4k2d agoMITA162Claude Code, Codex
re0-mergeLilMGenius/paperthinSkill1.4k4d agoMITA70Claude Code