Wikipedia Search & Summary for Openclaw

A high-performance skill for searching, retrieving, and summarizing English Wikipedia content for AI agents.

rachmann-alexander
v0.1.4
Feb 17, 2026
1
2.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install wikipedia-oc

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install wikipedia-oc using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Wikipedia Search & Summary?

The Wikipedia Search & Summary skill provides a robust interface between AI agents and the vast repository of English Wikipedia. By utilizing the official wikipedia Python module, this tool allows for seamless knowledge retrieval, enabling agents to fact-check, provide context, and offer detailed summaries on demand. As part of the ecosystem of Openclaw Skills, it focuses on delivering structured textual output that is easy for language models to parse and utilize in complex workflows.

This skill is specifically optimized for accuracy and transparency. It enforces an English-language search policy to ensure the highest quality of source data while providing clear attribution through source URLs. Whether you are building a research assistant or a general-purpose bot, this implementation ensures your agent has reliable access to global knowledge.

Wikipedia Search & Summary Use Cases

  • Fact-checking user queries using verified Wikipedia summaries.
  • Generating brief overviews for complex scientific or historical topics.
  • Identifying relevant page titles through keyword-based search queries.
  • Providing direct source links for transparency and user reference.
  • Resolving ambiguous queries by selecting from multiple Wikipedia options.

How Wikipedia Search & Summary Works

  1. The skill initializes by explicitly setting the search language to English to maximize coverage and detail.
  2. A search query is executed to find candidate pages, returning a list of titles ordered by relevance.
  3. The most relevant title is selected, or a list of options is provided if a disambiguation error occurs.
  4. Detailed page content, including the summary and official URL, is retrieved from the Wikipedia API.
  5. The information is formatted into a structured JSON response for the agent to process or display to the user.

Wikipedia Search & Summary Setup

To get started with this skill, you must first install the necessary Python library:

pip install wikipedia

Once installed, ensure your initialization script sets the correct language environment to maintain consistency within Openclaw Skills:

import wikipedia
wikipedia.set_lang("en")

Wikipedia Search & Summary Data Schema & Taxonomy

The skill returns data in a standardized format to ensure seamless integration. Below is the structure of the retrieved data:

Field Type Description
title String The canonical title of the Wikipedia page.
summary String A concise, text-only summary of the topic.
url String The direct permanent link to the English Wikipedia entry.
options Array (Optional) A list of alternative titles if the query is ambiguous.
error String (Optional) Details regarding missing pages or connection timeouts.

Wikipedia Search & Summary Advanced Features

  • Smart disambiguation handling that captures and reports multiple search results for vague queries.
  • Configurable search depth to limit results and reduce processing overhead.
  • Automatic error management for PageError and HTTPTimeoutError scenarios.
  • Built-in transparency protocols that prompt the agent to cite Wikipedia as the source.
  • Optimized for post-processing, allowing English content to be translated into any target language while maintaining factual integrity.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*