name: wiki-summary
description: "Fetch Wikipedia's current summary of any topic with zero API keys — the REST summary endpoint via curl, for answers that need today's article rather than training-data memory. Use when asked what does Wikipedia say about X, get me the current summary of a topic, check a fact against Wikipedia, or has this article changed. Produces the live extract with the article link, disambiguation handling, and a clean separation between what Wikipedia says and what the model adds."
Wiki Summary Skill
The model already knows what Wikipedia said at training time; this skill fetches what it says now — which matters for anything living: people's roles, company facts, ongoing events, populations, "current CEO" questions. Wikipedia's REST API serves a clean summary per article over keyless HTTPS. The skill's discipline is attribution: the fetched extract is Wikipedia's voice, dated today; anything the model adds around it gets labeled as such.
What This Skill Produces
- The live extract — Wikipedia's current summary paragraph(s) for the topic, quoted as the source
- The link and metadata — canonical URL, and the description line ("American computer scientist")
- Disambiguation handling — when the title is ambiguous, the options, not a guess
- The command — exact curl, rerunnable
Required Inputs
Ask for these if not provided:
- The topic — resolved to an article title (spaces → underscores); ambiguous names get the disambiguation treatment, not a silent pick
- Language edition — en default; the endpoint pattern works on any edition (
de.wikipedia.org, ja.wikipedia.org) and the user's question may belong in one
- Why they're asking — a fact-check wants the specific claim compared; a primer wants the extract; "has this changed" wants fetched-vs-recalled differences called out
Framework: The Endpoint and the Attribution Rules
- The call:
curl -s "https://en.wikipedia.org/api/rest_v1/page/summary/Alan_Turing" → JSON: title, description, extract (the summary text), content_urls.desktop.page (canonical link), type. URL-encode the title; spaces become underscores.
- Search first when the title is uncertain:
curl -s "https://en.wikipedia.org/w/rest.php/v1/search/title?q=turing&limit=5" → candidate titles. A type: "disambiguation" response means list the options and ask — a confident summary of the wrong John Smith is worse than a question.
- Attribution is the product: the extract is quoted or clearly framed as "Wikipedia currently says…" with the link. Model elaboration goes outside that frame, labeled. A fact-check answer states: the claim, what the live article says, and whether they match.
- Freshness honesty both directions: fetched beats recalled for living facts — but Wikipedia itself lags and errs; for high-stakes facts the answer notes it's one (good) source, and breaking-news topics may be mid-edit.
- The changed-since-training move: when the fetched extract contradicts what the model would have said, say so explicitly — "training-era memory said X; the live article now says Y" — that delta is often exactly what the user was probing for.
Output Format
[Article title] — [description line]
[The live extract, as Wikipedia's voice]
[Fact-check mode: the claim vs. the extract, verdict stated]
[Model additions, if any, under a labeled line]
Source: [canonical article URL] · fetched [date] · rerun: [exact curl]
[Disambiguation case: the candidate list and the ask]
Quality Checks
Anti-Patterns
Example Trigger Phrases
- "What does Wikipedia say about X?"
- "Get me the current summary of a topic."
- "Check a fact against Wikipedia."
- "Has this article changed."