Wikipedia Search
Researchwikipedia-searchWikipedia Search is an Agent Skill for research published in the aws-samples/sample-strands-agent-with-agentcore repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Wikipedia article search and retrieval
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/aws-samples/sample-strands-agent-with-agentcore/blob/HEAD/chatbot-app/agentcore/skills/wikipedia-search/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/wikipedia-search, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Wikipedia
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.