wikipedia-search — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited wikipedia-search (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
This skill enables Claude to search and fetch content from Wikipedia using the MediaWiki API. It provides more reliable, structured access to Wikipedia than general web search, with support for summaries, full article content, and multi-language access.
Use this skill when you need:
Avoid using this skill for:
The skill is invoked by running the wiki script with a query:
python ~/.openclaw/skills/wikipedia-search/scripts/wiki.py "your query" [options]--mode [search|summary|full] Operation mode (default: summary)search: Search for page titles matching the querysummary: Get a concise summary of a specific pagefull: Get the complete article with sections and structure--sentences N Number of sentences for summary mode (default: 5)--lang CODE Language code (default: en)en Englishes Spanishfr Frenchde Germanit Italianja Japanesezh Chineseru Russianar Arabicpt PortugueseSearch for Wikipedia articles matching a term:
python ~/.openclaw/skills/wikipedia-search/scripts/wiki.py "quantum computing" --mode searchOutput:
{
"mode": "search",
"query": "quantum computing",
"results": [
{
"title": "Quantum computing",
"description": "Study of computers based on quantum phenomena",
"url": "https://en.wikipedia.org/wiki/Quantum_computing"
},
...
],
"count": 10
}Get a concise summary of a Wikipedia page:
python ~/.openclaw/skills/wikipedia-search/scripts/wiki.py "Python (programming language)" --mode summaryOr with custom sentence count:
python ~/.openclaw/skills/wikipedia-search/scripts/wiki.py "Albert Einstein" --mode summary --sentences 3Output:
{
"mode": "summary",
"title": "Albert Einstein",
"exists": true,
"url": "https://en.wikipedia.org/wiki/Albert_Einstein",
"summary": "Albert Einstein was a German-born theoretical physicist...",
"categories": ["1879 births", "1955 deaths", "German physicists", ...]
}Retrieve the complete article with sections:
python ~/.openclaw/skills/wikipedia-search/scripts/wiki.py "Machine learning" --mode fullOutput:
{
"mode": "full",
"title": "Machine learning",
"exists": true,
"url": "https://en.wikipedia.org/wiki/Machine_learning",
"summary": "Machine learning is a field of study in artificial intelligence...",
"sections": [
{
"title": "History and relationships to other fields",
"level": 0,
"text": "..."
},
...
],
"categories": [...],
"links": ["Artificial intelligence", "Neural network", ...]
}Search or fetch content in other languages:
python ~/.openclaw/skills/wikipedia-search/scripts/wiki.py "Paris" --mode summary --lang frpython ~/.openclaw/skills/wikipedia-search/scripts/wiki.py "Tokyo" --mode summary --lang jaWhen using this skill, follow this workflow:
--mode search to find relevant articles--mode summary or --mode full--mode summary for quick facts--mode full for comprehensive information#### Search Mode
{
"mode": "search",
"query": "original query",
"results": [
{
"title": "Page Title",
"description": "Brief description",
"url": "https://en.wikipedia.org/wiki/Page_Title"
}
],
"count": 10
}#### Summary Mode
{
"mode": "summary",
"title": "Article Title",
"exists": true,
"url": "https://en.wikipedia.org/wiki/Article_Title",
"summary": "Summary text...",
"categories": ["Category1", "Category2"]
}#### Full Mode
{
"mode": "full",
"title": "Article Title",
"exists": true,
"url": "https://en.wikipedia.org/wiki/Article_Title",
"summary": "Summary text...",
"sections": [
{
"title": "Section Name",
"level": 0,
"text": "Section content..."
}
],
"categories": ["Category1", "Category2"],
"links": ["Related Page 1", "Related Page 2"]
}#### Error Response
{
"mode": "summary",
"title": "Nonexistent Page",
"exists": false,
"error": "Page not found"
}When presenting Wikipedia content to users:
[Article Title](URL)Example:
According to Wikipedia, Python is a high-level, general-purpose programming
language that emphasizes code readability with the use of significant indentation.
Source:
- [Python (programming language) - Wikipedia](https://en.wikipedia.org/wiki/Python_(programming_language))The script handles common errors gracefully:
If a page doesn't exist:
"exists": false and "error": "Page not found"If the API request fails:
If Wikipedia-API library is missing:
pip to be available--break-system-packages flag in some environmentspip install Wikipedia-APIWikipedia's API is generally permissive:
The script automatically installs missing dependencies:
subprocess.check_call([
sys.executable, "-m", "pip", "install",
"Wikipedia-API", "--break-system-packages", "--quiet"
])The --break-system-packages flag is needed for externally-managed Python environments (common on modern Linux distributions and macOS with Homebrew Python).
OpenClaw-WikipediaSearch/1.00 Success1 General error (page not found, network failure, invalid query, etc.)2 Import error (dependency installation failed)If you get "Permission denied" error:
chmod +x ~/.openclaw/skills/wikipedia-search/scripts/wiki.pyIf python3 command doesn't exist, create an alias or use full path to Python interpreter.
If auto-install fails due to venv restrictions, manually install globally:
python3 -m pip install Wikipedia-API --user--mode search to find exact titleensure_ascii=False for proper Unicode supportLANG=en_US.UTF-8 or similar environment variable# Start with search
python ~/.openclaw/skills/wikipedia-search/scripts/wiki.py "neural networks" --mode search
# Get summary of main article
python ~/.openclaw/skills/wikipedia-search/scripts/wiki.py "Artificial neural network" --mode summary
# Get full content for deep dive
python ~/.openclaw/skills/wikipedia-search/scripts/wiki.py "Artificial neural network" --mode full# Who is someone?
python ~/.openclaw/skills/wikipedia-search/scripts/wiki.py "Marie Curie" --mode summary --sentences 2
# What is something?
python ~/.openclaw/skills/wikipedia-search/scripts/wiki.py "Blockchain" --mode summary --sentences 3
# Where is something?
python ~/.openclaw/skills/wikipedia-search/scripts/wiki.py "Machu Picchu" --mode summary# Historical events
python ~/.openclaw/skills/wikipedia-search/scripts/wiki.py "World War II" --mode full
# Historical figures
python ~/.openclaw/skills/wikipedia-search/scripts/wiki.py "Leonardo da Vinci" --mode summary --sentences 10# Physics
python ~/.openclaw/skills/wikipedia-search/scripts/wiki.py "Quantum entanglement" --mode summary
# Biology
python ~/.openclaw/skills/wikipedia-search/scripts/wiki.py "DNA" --mode full
# Chemistry
python ~/.openclaw/skills/wikipedia-search/scripts/wiki.py "Periodic table" --mode summary../web-search/ Complementary skill for current events and real-time information~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.