glossary-init

glossary-init is a skill for Claude Code from Filip-Podstavec/claude-leverage. It costs 119 tokens per session (2,614 once invoked), scanned A, original, MIT.

A setup helper that creates or updates a repo's GLOSSARY.md, a short dictionary of terms specific to that codebase. It finds frequently used terms and asks the user to define them.

In plain words
What is it for?
Use it when starting an AI-focused repository, correcting repeated misunderstandings, or adding new vocabulary as the project grows.
Why use it?
It prevents an AI coding agent from guessing what domain words mean in this project. The user supplies the definitions, so the glossary does not add invented explanations.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions AGENTS.md; mentions Codex.

Part of the claude-leverage plugin — 16 skills, 5 commands, 14 agents, 4 hooks shipped together

Good fit Use it when starting an AI-focused repository, correcting repeated misunderstandings, or adding new vocabulary as the project grows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/filip-podstavec/claude-leverage/glossary-init
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 Filip-Podstavec/claude-leverage --skill glossary-init
Clone the repo
git clone --depth 1 https://github.com/Filip-Podstavec/claude-leverage

Made for: Claude Code.

Or install claude-leverage, the plugin that ships this one along with the rest of its 16 skills, 5 commands, 14 agents, 4 hooks.

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 glossary-init

README.md
[![agentmods](https://agentmods.dev/badge/skills/filip-podstavec/claude-leverage/glossary-init/github.svg)](https://agentmods.dev/skills/filip-podstavec/claude-leverage/glossary-init)
Your own site
<a href="https://agentmods.dev/skills/filip-podstavec/claude-leverage/glossary-init"><img src="https://agentmods.dev/badge/skills/filip-podstavec/claude-leverage/glossary-init/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 glossary-init

Your own site · 80×15
<a href="https://agentmods.dev/skills/filip-podstavec/claude-leverage/glossary-init"><img src="https://agentmods.dev/badge/skills/filip-podstavec/claude-leverage/glossary-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,614 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00119 $0.02614
Opus 5 $0.00060 $0.01307
Sonnet 5 $0.00024 $0.00523
Haiku 4.5 $0.00012 $0.00261

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

Security

Grade A, and why

glossary-init scanned grade A with 0 findings 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/glossary-init/SKILL.md · 248 lines

How it starts

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

/glossary-init

What it does

Bootstraps (or extends) GLOSSARY.md at the repo root — a human-curated dictionary of domain terms specific to this repo. One entry per term: 1–2 sentence definition, optional aliases, optional code-path pointers.

The point: the next agent opening this repo greps GLOSSARY.md once and stops hallucinating that "Lead" means a sales prospect when here it means a journalist's article lead. Reading source to recover domain meaning per session is O(N) tokens per term; a one-line glossary entry is O(1).

This skill surfaces candidate terms (by frequency of identifier appearance in tracked code). It never invents definitions — the user types them, the skill structures the file. See ADR 0005 for the rationale.

When to invoke

  • First setup of an AI-first repo (after /init-repo).
  • When you notice an agent halucinating the meaning of a recurring domain term ("I think Lead is a sales prospect" — no, it's a journalist's article).
  • Periodically as the domain vocabulary grows — re-run to add new terms (existing entries are preserved).

Do NOT invoke for:

  • Code-level documentation (those go in docstrings / type hints).
  • Cross-project / cross-client patterns (those live in the user's PKB, not in this repo's glossary).
  • "What does this function do?" — that's what the code shows.

Workflow

  1. Resolve repo root. git rev-parse --show-toplevel. If not in a git repo, STOP and report: "glossary needs a tracked repo; git init first or run /init-repo".

  2. Detect mode.

    • If GLOSSARY.md does not exist at root → bootstrap mode.
    • If GLOSSARY.md exists and $ARGUMENTS includes --add <term>single-add mode (skip candidate ranking, jump to step 6 for that one term).
    • If GLOSSARY.md exists and no --addextend mode: surface candidates that aren't already in the existing file, propose additions.
  3. Detect primary language by file extension counts in tracked files (git ls-files | head -2000):

    • .py → Python
    • .ts / .tsx / .js / .jsx → TypeScript / JavaScript
    • .go → Go
    • .rs → Rust
    • Mixed → use all detected.
    • Override with --lang.

Read the full file on GitHub · 248 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. 10d ago First seen · 248 lines · 119 tokens per session scan A 0b9d18d81685

Subscribe to this mod's changes

glossary-init is a skill published in the GitHub repository Filip-Podstavec/claude-leverage (68 stars, last pushed 1mo ago), licensed MIT. It adds 119 tokens to every session and 2,614 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

OCR Review-to-Approval Loop

Drive a PR to an approved code review by looping OCR's multi-agent review and address steps. Runs /ocr:review then /ocr:address repeatedly until the review verdict is APPROVE, then one final /ocr:address for leftover suggestions, posting every review and every address round to the GitHub PR as comments. Use when the…

spencermarx/open-code-review · 178 tokens

repo-visuals

Create hero visuals — animated GIF, static PNG, or animated SVG — for GitHub repositories. Runs a structured discovery conversation (scan repo → recommend format → propose creative scenarios → agree on a brief), then designs bespoke HTML/SVG, previews it in the browser, and exports. Use when the user asks for a README…

livlign/claude-skills · 112 tokens

opik

This skill should be used when the user needs to add Opik tracing or integrations to their code, instrument an LLM application, or needs reference for Opik SDK usage (Python, TypeScript, REST API). Use for tasks like "add tracing", "instrument my code", "use trackopenai", "add OpikTracer", "what span types are…

comet-ml/opik-claude-code-plugin · 84 tokens

hyper-plan

Use when about to start a non-trivial implementation that needs decomposition before coding. Also when the user invokes /hyperclaude:hyper-plan. Produces an ordered, bite-sized plan in .hyperclaude/plans/ — the input for /hyperclaude:hyper-plan-review and /hyperclaude:hyper-implement.

zeikar/hyperclaude · 70 tokens

swarm

Run a multi-agent audit of a codebase by spawning specialized parallel subagents (security, performance, tests, architecture, dead-code), then synthesize their findings into a single prioritized action plan. Use this whenever the user runs /swarm, asks to "audit the repo," "review this codebase," "find issues across…

Zintellix/Claude-Skills · 138 tokens

tools-unity-behavior-designer

Behavior Designer patterns for AI behavior trees including task creation, shared variables, conditionals, and debugging.

IdoCohen560/claude-unity-game-studio · 29 tokens