dk-wikibot

Fetch and extract Wikipedia and Wikidata information using Pywikibot.

1|Updated May 2, 2026
One-click install
npx skills add https://github.com/dushyantkhosla/agent-skills --skill dk-wikibot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dk-wikibot
Source: https://github.com/dushyantkhosla/agent-skills/tree/main/skills/dk-wikibot
Command: npx skills add https://github.com/dushyantkhosla/agent-skills --skill dk-wikibot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, pywikibot, mwparserfromhell, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides users with the ability to fetch, search, and extract information from Wikipedia and Wikidata using Python's Pywikibot library. It streamlines the process of scraping Wikipedia articles, iterating over categories, querying structured data, and much more.

Core Features & Use Cases

  • Wikipedia Article Scraping: Extract information from specific Wikipedia articles or iterate over categories.
  • Wikidata Querying: Access structured data from Wikidata entities and claims.
  • Use Case: Utilize this Skill when you need to search for historical lists, award winners, or biographical data from Wikimedia projects.

Quick Start

To get started, activate the skill and use a command like "Look up [entity name] on Wikipedia" or "Query [Wikidata QID]".

Frequently Asked Questions about dk-wikibot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scrape structured data from Wikipedia articles using Python?

You can scrape structured data from Wikipedia articles by using the Pywikibot library to fetch specific pages, extract facts, and iterate over categories. This Skill streamlines extracting biographical data and historical lists directly from Wikimedia projects.

Can I iterate over Wikipedia categories to extract lists of award winners?

Yes, you can iterate over Wikipedia categories to extract lists of award winners or similar entities. The Skill utilizes Pywikibot to handle category iteration, enabling you to systematically scrape and compile articles within specific Wikipedia categories.

Do I need Python 3.8 to use Pywikibot for querying Wikidata?

Yes, you need Python 3.8 or higher along with the Pywikibot and mwparserfromhell libraries installed. These dependencies are required to execute the scripts that fetch information and query structured data from Wikipedia and Wikidata.

What is the best way to fetch biographical data from Wikidata entities?

The best way to fetch biographical data is by querying Wikidata entities directly using QIDs with Pywikibot. This approach allows you to access structured claims and extract specific factual data without parsing raw article wikitext.

How do I extract information from specific Wikipedia articles with Pywikibot?

To extract information from specific Wikipedia articles, activate the Skill and use a command like "Look up [entity name] on Wikipedia". The Skill leverages Pywikibot and mwparserfromhell to fetch and parse the article content.