agentleFS
HelloThisWorldHelloThisWorld/agent-skill-verification-template/skills/glossary/SKILL.md

glossary

Skill1 starsChanged 5 months agoMITView on GitHub

Looks up "glossary <term>" on English Wikipedia and returns a source-grounded definition rendered as a web page. Every claim cites the exact snapshot line carrying the term; unknown terms return insufficient_evidence instead of a guess.

9 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use test-driven-development.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • OpenAISkill

    test-driven-development

    Use when implementing any feature or bugfix, before writing implementation code

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill for requests such as glossary Mexico or glossary Switzerland.

    line 21
  2. Very specific:

    Use wikipedia_search to locate the best-matching snapshot.

    line 48
  3. Very specific:

    Use wikipedia_fetch to read the snapshot and confirm the citable line.

    line 49
  4. Very specific:

    If no snapshot matches the term, return insufficient_evidence with an empty claims array.

    line 51

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 for the machine-readable contract and 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

ToolPurpose
wikipedia_searchSearch the offline Wikipedia snapshot cache. Returns {title, file, line, text} matches, best article first.
wikipedia_fetchRead 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 query term verbatim, so citations stay valid even when Wikipedia's canonical title or opening phrasing differs from the query. After the cache exists, no network is required to run or verify the skill.

Procedure

  1. Parse the term from the glossary <term> request.
  2. Use wikipedia_search to locate the best-matching snapshot.
  3. Use wikipedia_fetch to read the snapshot and confirm the citable line.
  4. Produce a structured answer whose claim cites that file:line.
  5. If no snapshot matches the term, return insufficient_evidence with an empty claims array. Never invent a definition or a citation.

Output contract

The skill returns JSON with:

  • status: answered | insufficient_evidence | refused
  • answer: a short natural-language definition
  • claims: array of { text, citations: [{ file, line }] }
  • toolCalls: array of { tool, arguments }
  • confidence (optional): low | medium | high

The web-page deliverable (reports/latest/glossary/<term>.html plus an index.html) is rendered from the same grounded snapshot by src/skills/glossary/render.ts. See examples.md for a concrete input/output pair.

Design note: contract vs. model

This SKILL.md and the contract are model-independent — they describe what a correct answer looks like. How reliably a given model satisfies the contract is measured separately by the eval harness. The offline glossary adapter is a reference implementation that satisfies the contract deterministically; the glossary-flaky adapter perturbs it to demonstrate failure detection.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.