glossarylisted
Install: claude install-skill HelloThisWorld/agent-skill-verification-template
# Glossary (Wikipedia)
A Claude-style skill that answers **`glossary <term>`** requests by looking the
term up on English Wikipedia and returning a definition **rendered as a web
page**, where every factual claim is backed by a `file:line` citation into the
fetched article. It is built to be verified like a production component — see
[`skill-contract.json`](skill-contract.json) for the machine-readable contract
and [`verification-rules.md`](verification-rules.md) for how outputs are graded.
## When to use
Use this skill for requests such as `glossary Mexico` or `glossary Switzerland`.
The term after `glossary` is looked up; the skill produces a concise,
source-grounded definition and a self-contained HTML page for it.
## Tools
| Tool | Purpose |
| --- | --- |
| `wikipedia_search` | Search the offline Wikipedia snapshot cache. Returns `{title, file, line, text}` matches, best article first. |
| `wikipedia_fetch` | Read a snapshot and return its structured article data plus the citable "lede" line. |
Contract rule: `wikipedia_search` must be used **before** `wikipedia_fetch`.
## Offline-first design
Like the rest of this template, the default eval runs **fully offline and
deterministically**. `npm run glossary:build-cache` fetches each term once from
English Wikipedia (MediaWiki action API) and writes a citable snapshot to
`fixtures/wikipedia/<term>.html`. Each snapshot embeds a machine-readable
`glossary-data` JSON block and a `lede` line that contains the **exact quer