wikimedia-commons-thumbnails

Generate and construct Wikimedia Commons thumbnail URLs with responsive resolutions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill addresses the need for generating, constructing, and retrieving thumbnail previews for files on Wikimedia Commons. It helps users create and use thumbnails for articles, research, and API requests efficiently.

Core Features & Use Cases

  • Thumbnail Generation: Convert and retrieve thumbnails from a wide variety of file types supported on Wikimedia Commons.
  • Thumbnail Construction: Build thumbnail URLs from scratch, without relying on an API.
  • Responsive URLs: Support for creating high-resolution thumbnails for high-DPI displays like Retina.
  • API Interaction: Direct interaction with the Wikimedia APIs for efficient data retrieval.
  • Use Case: If you need a high-resolution preview of an image for embedding in a website, use this skill to construct and retrieve the thumbnail URL with specific dimensions.

Quick Start

Use the generate_thumbnail script within the scripts/ directory of the wikimedia-commons-thumbnails skill to retrieve a thumbnail for the file 'File:Sunset_over_the_ocean.jpg'.

Frequently Asked Questions about wikimedia-commons-thumbnails

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

FAQPage Schema
How do I generate a thumbnail URL from a Wikimedia Commons file?

You generate a thumbnail URL by using the generate_thumbnail script or by manually constructing the URL from scratch. This retrieves preview images for files hosted on Wikimedia Commons.

Can I retrieve high-resolution Wikimedia Commons thumbnails for Retina displays?

Yes, you can retrieve high-resolution Wikimedia Commons thumbnails for Retina displays. The skill supports generating responsive thumbnail URLs tailored for high-DPI screens.

Do I need the wikimedia-api-access dependency to construct thumbnail URLs?

The wikimedia-api-access dependency is required for API interaction to manage User-Agent headers and API rate-limiting. However, you can also manually construct thumbnail URLs from scratch without relying on the API.

What file types are supported when generating thumbnails from Wikimedia Commons?

The skill generates thumbnails from a wide variety of file types supported on Wikimedia Commons. It utilizes the Action API for in-line retrieval of thumbnail information across these formats.

What is the best way to interact with the Wikimedia Action API for image previews?

The best way to interact with the Wikimedia Action API for image previews is using the built-in scripts. They handle in-line retrieval of thumbnail information while respecting proper API rate-limits and User-Agent headers.