wikimedia-petscan

Query Wikimedia projects via the PetScan API with categories, SPARQL, and Wikidata.

15|6|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/fuzheado/Wikipedia-AI-Skills --skill wikimedia-petscan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wikimedia-petscan
Source: https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/wikimedia-petscan
Command: npx skills add https://github.com/fuzheado/Wikipedia-AI-Skills --skill wikimedia-petscan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires PetScan, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies complex Wikimedia data queries, allowing users to find and analyze content across multiple sources in one place.

Core Features & Use Cases

  • Multi-Source Querying: Combine category, page properties, templates, other sources, Wikidata, and output options for powerful queries.
  • Category Analysis: Identify intersections, unions, and differences between categories across Wikipedia projects.
  • Template Filtering: Search for pages with specific templates or template combinations.
  • Output Options: Format and sort results for further analysis or processing.

Quick Start

Query all English Wikipedia articles with the category 'Physics' and 'Category:Biography', and sort them by page size using PetScan.

Frequently Asked Questions about wikimedia-petscan

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

FAQPage Schema
How do I query Wikimedia categories across multiple Wikipedia projects?

To query Wikimedia categories across multiple projects, use PetScan to combine category intersections, unions, and differences. This Skill constructs multi-source queries that retrieve and filter articles from various Wikipedia projects simultaneously, returning sorted results for further analysis.

Can I combine Wikidata and category filters in a single Wikipedia data query?

Yes, you can combine Wikidata and category filters in a single Wikipedia data query. This Skill utilizes the PetScan API to integrate category parameters, page properties, templates, and Wikidata sources into one complex query, outputting formatted and sorted results.

What is the best way to find Wikipedia pages with specific templates?

The best way to find Wikipedia pages with specific templates is using PetScan template filtering. This Skill allows you to search for pages containing specific templates or template combinations across Wikimedia projects, then format and sort the output for processing.

Does PetScan support SPARQL queries for Wikimedia data analysis?

Yes, PetScan supports SPARQL queries for Wikimedia data analysis. This Skill integrates SPARQL as one of its query sources alongside categories, page properties, templates, and Wikidata, enabling complex data retrieval and categorization across multiple Wikimedia projects.

Do I need direct access to the PetScan URL API to query Wikimedia data?

Yes, you need access to the PetScan URL API to query Wikimedia data. This Skill requires direct interaction with PetScan's URL API to perform advanced querying, multi-source data retrieval, and categorization across Wikipedia and other Wikimedia projects.

What are the limitations of using PetScan for category analysis?

A limitation of using PetScan for category analysis is its dependency on the PetScan URL API and its design for advanced, multi-source querying. It is not intended for simple single-category lookups or non-Wikimedia data sources, focusing specifically on complex cross-project intersections.