glossary-generator
БесплатноБез исполняемых скриптовНе проверенGenerates a glossary from the learning graph's concept list with ISO 11179-compliant definitions (precise, concise, non-circular). Use after the learning…
Об этом скилле
Glossary Generator
Version: 1.0
Generate a comprehensive glossary of terms from a learning graph's concept list with ISO 11179-compliant definitions.
TOKEN EFFICIENCY WARNING
This skill generates large files (2,000+ lines). Token cost matters far more than wall-clock time for teacher users on limited budgets.
Default approach: ONE serial Task agent that writes all definitions directly to a temp file. This is the most token-efficient method because:
- System prompt / tool description overhead is paid only once (~12K tokens)
- No coordination or assembly overhead
- Proven to complete a 350-term glossary in ~31K tokens (2026-03-14 benchmark)
Measured Token Economics (350-term benchmark, 2026-03-14)
| Component | Tokens | Notes |
|---|---|---|
| Agent overhead (system prompt + tools) | ~12K | Paid once for serial, 4× for parallel |
| Definition generation (350 terms) | ~19K | Unavoidable LLM work |
| Assembly (Python script) | ~700 | Trivial programming task |
| Total (serial) | ~31K |
Tokens per term: ~88 total, ~54 marginal (after subtracting one-time overhead).
The marginal cost is calculated as: (30,788 − 12,000) / 350 = ~54 tokens/term. Use this to estimate costs for glossaries of any size:
| Glossary size | Estimated total tokens |
|---|---|
| 100 terms | ~17K (12K overhead + 5.4K generation) |
| 200 terms | ~23K |
| 350 terms | ~31K (measured) |
| 500 terms | ~39K |
Why Parallel Execution Should NEVER Be Used
Each parallel agent pays the full ~12K system prompt overhead independently. For glossary generation, the definitions are completely independent — there is no speedup benefit that justifies the cost. The serial agent writes all terms in a single Write call and finishes in ~6 minutes, which is perfectly acceptable.
| Approach | Agent overhead | Generation | Assembly | Total | Waste |
|---|---|---|---|---|---|
| 1 serial agent (recommended) | ~12K (once) | ~19K | ~700 | ~31K | — |
| 4 parallel agents + script | ~48K (4×) | ~19K | ~700 | ~68K | +37K (119%) |
| 4 parallel agents + manual Edit | ~48K (4×) | ~19K | ~200K | ~267K | +236K (761%) |
Parallel execution more than doubles the token cost for zero quality benefit. For teachers on the Claude Pro plan (~200K token five-hour budget), the serial approach uses ~16% of their budget vs. 34% (parallel) or 100%+ (manual assembly).
NEVER use parallel agents for glossary generation. The token waste is not justified.
Always use the serial approach. Do not offer parallel as an option.
The assembly step (sorting and writing the final file) MUST always use a Python
script — NEVER manually emit glossary content through Edit/Write tool calls.
See logs/glossary-generation-very-inefficient.md for the full post-mortem.
Purpose
This skill automates glossary creation for intelligent textbooks by converting concept labels from a learning graph into properly formatted glossary definitions. Each definition follows ISO 11179 metadata registry standards: precise, concise, distinct, non-circular, and free of business rules. The skill ensures consistency across terminology, validates cross-references, and produces alphabetically ordered entries with relevant examples.
Following a short definition you may provide a discussion of why the term is important in the textbook and an example of how the term is used.
When to Use This Skill
Use this skill after the Learning Graph skill has completed and the concept list has been finalized. All markdown content in the /docs area can also be scanned looking for words or phases that might not be clear to the average high-school student.
The glossary relies on having a complete, reviewed list of concepts from the learning graph's concept enumeration phase. Specifically, trigger this skill when:
- A concept list file exists (typically
docs/learning-graph/02-concept-list-v1.md) - The concept list has been reviewed and approved
- The course description exists with clear learning outcomes
- Ready to create or update the textbook's glossary
Workflow
Step 1: Validate Input Quality
Before generating definitions, assess the quality of the concept list:
- Read the concept list file (typically
docs/learning-graph/02-concept-list-v1.md) - Check for duplicate concept labels (target: 100% unique)
- Verify Title Case formatting (target: 95%+ compliance)
- Validate length constraints (target: 98% under 32 characters)
- Assess concept clarity (no ambiguous terms)
Calculate a quality score (1-100 scale):
- 90-100: All concepts unique, properly formatted, appropriate length
- 70-89: Most concepts meet standards, minor formatting issues
- 50-69: Some duplicate concepts or formatting inconsistencies
- Below 50: Significant issues requiring manual review
User Dialog Triggers:
- If score < 70: Ask "The concept list has quality issues
Установить glossary-generator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл glossary-generator?
Generates a glossary from the learning graph's concept list with ISO 11179-compliant definitions (precise, concise, non-circular). Use after the learning graph concept list is finalized.
Как установить скилл glossary-generator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл glossary-generator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic