wikipedia-categories

Query Wikipedia category trees and membership via the MediaWiki API.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires wikimedia-api-access, wikipedia-page-anatomy, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides in-depth knowledge and tools to navigate and manipulate Wikipedia's category system, ensuring accurate categorization and efficient maintenance.

Core Features & Use Cases

  • Category Understanding: Gain a comprehensive understanding of category trees, the three tests for valid categories, and the nuances of topic vs. set categories.
  • API Querying: Execute complex queries and retrieve detailed information on category membership, hierarchy, and properties.
  • Maintenance Workflows: Learn workflows for creating, renaming, and maintaining categories, along with handling overcategorization and hidden categories.

Quick Start

Use the 'wikipedia-categories' skill to list all subcategories of 'Category:Physics'.

Frequently Asked Questions about wikipedia-categories

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

FAQPage Schema
How do I list subcategories of a specific Wikipedia category using the API?

To list Wikipedia subcategories, use the skill to execute queries against the Wikimedia API for category discovery. It retrieves structured category hierarchy and membership details for pages like 'Category:Physics'.

What are the three tests for valid Wikipedia categories?

The three tests for valid Wikipedia categories determine whether a category meets policy compliance for topic versus set categorization. This skill provides structured knowledge to navigate these rules accurately.

Do I need the wikimedia-api-access skill to query Wikipedia category trees?

Yes, you need the wikimedia-api-access skill to execute complex queries for category membership and properties. The wikipedia-page-anatomy skill is also required for full functionality.

What is the best way to handle overcategorization and hidden categories on Wikipedia?

The best way to handle overcategorization and hidden categories is using targeted maintenance workflows for renaming and creating categories. This skill supports these workflows to ensure accurate categorization and efficient maintenance.

How do I differentiate between topic categories and set categories on Wikipedia?

Differentiating topic versus set categories requires understanding the nuances of Wikipedia's category system. This skill delivers structured knowledge on these distinctions to ensure precise category maintenance and policy compliance.