About wikipedia-search
A Wikipedia skill for searching English-language articles and retrieving summaries or full text. It supports background research, definitions, and historical context, with guidance for citing article-based claims.
Key features
- 01Search Wikipedia articles
- 02Retrieve summaries or full article text
- 03Use exact article titles from search results
- 04Provide citations for article-based claims
Use cases
- 01Look up a definition or topic background
- 02Research historical context
- 03Retrieve an article summary for a quick lookup
- 04Support factual claims with Wikipedia citations
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ aws-samples/ sample-strands-agent-with-agentcore --skill wikipedia-searchAfter installing, type/wikipedia-searchin Claude Code to confirm it loaded.
Details
From the project READMEWikipedia
Available Tools
-
wikipedia_search(query): Search Wikipedia for articles matching a query.
query(string, required): Search query
-
wikipedia_get_article(title, summary_only?): Get content of a Wikipedia article by exact title.
title(string, required): Article title (case-sensitive, use exact title from search results)summary_only(boolean, optional, default: false): Return only the summary instead of full text
Usage Guidelines
- Only English Wikipedia is supported. Translate non-English queries to English before searching.
- Use
wikipedia_searchfirst to find the correct article title, thenwikipedia_get_articlefor full content. - Article titles are case-sensitive — use the exact title from search results.
- Use
summary_only=truefor quick factual lookups when full article content isn't needed. - Wikipedia content is best for background information, definitions, and historical context.
Citation Format
When presenting information from Wikipedia, wrap every specific claim in <cite> tags:
<cite source="Wikipedia: ARTICLE_TITLE" url="https://en.wikipedia.org/wiki/ARTICLE_TITLE">claim text</cite>
Rules:
- Cite factual claims, statistics, dates, and specific information from articles.
- The
sourceattribute should include the article title (e.g.,"Wikipedia: Quantum Computing"). - The
urlattribute should contain the Wikipedia article URL. - Do NOT cite your own reasoning or general knowledge.
- Use the minimum number of citations necessary to support claims.
Comments
Markdown supported