wikipedia-search

wikipedia-search is a skill for Claude Code, Codex from InternScience/MolClaw. It costs 22 tokens per session (3,439 once invoked), scanned A, original, MIT.

A search tool for Wikipedia, the online encyclopedia. It can find articles and retrieve summaries, sections, links, categories, and content in multiple languages.

In plain words
What is it for?
Use it to look up people, places, events, historical facts, scientific concepts, or other general reference information.
Why use it?
It provides structured encyclopedia information without relying on broad, unfiltered web searches.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/internscience/molclaw/wikipedia-search
Any agent
npx skills add InternScience/MolClaw --skill wikipedia-search
Clone the repo
git clone --depth 1 https://github.com/InternScience/MolClaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wikipedia-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/internscience/molclaw/wikipedia-search.svg)](https://agentmods.dev/skills/internscience/molclaw/wikipedia-search)
Your own site
<a href="https://agentmods.dev/skills/internscience/molclaw/wikipedia-search"><img src="https://agentmods.dev/badge/skills/internscience/molclaw/wikipedia-search.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,439 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.03439
Opus 5 $0.00011 $0.01720
Sonnet 5 $0.00004 $0.00688
Haiku 4.5 $0.00002 $0.00344

Measured 2d ago against content hash c35ab7c6fdba, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

wikipedia-search scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/wiki.py, setup.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

subprocess.check_call([
skills/LR_research/tools/wikipedia-search/SKILL.md · 482 lines

How it starts

The opening of the file, as written. The whole thing — 482 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Wikipedia Search Skill

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.

When to Use

Use this skill when you need:

  • Encyclopedic knowledge — Factual information about people, places, events, concepts
  • Historical information — Well-documented historical facts, dates, and events
  • Scientific and technical concepts — Definitions, explanations, and overviews
  • Biographical information — Details about notable people
  • Geographic information — Countries, cities, landmarks, and their details
  • Quick fact verification — Cross-checking encyclopedic facts
  • Structured content — Need article sections, categories, and links
  • Multi-language content — Access Wikipedia in languages other than English

When NOT to Use

Avoid using this skill for:

  • Current events or breaking news — Wikipedia may not be up-to-date for very recent events (use web-search instead)
  • Controversial or disputed topics — Wikipedia can have bias or edit wars; use multiple sources
  • Opinions or analysis — Wikipedia aims for neutral point of view, not opinion
  • How-to guides or tutorials — Wikipedia is encyclopedic, not instructional (look for specialized resources)
  • Code examples or technical documentation — Use official docs or specialized sites
  • Personal or local information — Wikipedia only covers notable topics
  • Real-time data — Stock prices, weather, sports scores (use web-search instead)

Usage

The skill is invoked by running the wiki script with a query:

python ~/.openclaw/skills/wikipedia-search/scripts/wiki.py "your query" [options]

Options

  • --mode [search|summary|full] — Operation mode (default: summary)
    • search: Search for page titles matching the query
    • summary: Get a concise summary of a specific page
    • full: Get the complete article with sections and structure
  • --sentences N — Number of sentences for summary mode (default: 5)
  • --lang CODE — Language code (default: en)

Read the full file on GitHub · 482 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 482 lines · 22 tokens per session scan A c35ab7c6fdba

Subscribe to this mod's changes

wikipedia-search is a skill published in the GitHub repository InternScience/MolClaw (33 stars, last pushed 29d ago), licensed MIT. It adds 22 tokens to every session and 3,439 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories