wiki-snapshot-data

Snapshot Wikipedia article HTML and skin CSS into offline fixtures.

7|6|Updated Apr 28, 2026
One-click install
npx skills add https://github.com/wikimedia/ProtoWiki --skill wiki-snapshot-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wiki-snapshot-data
Source: https://github.com/wikimedia/ProtoWiki/tree/main/.agents/skills/wiki-snapshot-data
Command: npx skills add https://github.com/wikimedia/ProtoWiki --skill wiki-snapshot-data

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, jq, python3, and includes assets (resource) components.

What problem does it solve?

Snapshotting is essential to create stable, offline fixtures of Wikipedia articles so demos don't depend on live data.

Core Features & Use Cases

  • Capture the article HTML body via the REST API to produce a deterministic .mw-parser-output fixture.
  • Acquire the skin CSS bundles (Vector 2022 and Minerva) to preserve visual fidelity in offline demos.
  • Use cases include offline demonstrations, rate-limited environments, and long-term article renderings for prototyping.

Quick Start

Run the snapshot pipeline to generate local fixtures for a chosen article.

Frequently Asked Questions about wiki-snapshot-data

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

FAQPage Schema
How do I snapshot Wikipedia article HTML for offline demos?

You can snapshot Wikipedia article HTML for offline demos by running fetch_page.py to capture the article body via the REST API, producing a deterministic .mw-parser-output fixture for stable rendering.

What's the best way to preserve Wikipedia skin CSS visual fidelity in offline fixtures?

To preserve Wikipedia skin CSS visual fidelity in offline fixtures, run fetch_skin_css.sh to acquire the Vector 2022 and Minerva CSS bundles, ensuring consistent article rendering across environments without live data.

Do I need curl and jq to create offline Wikipedia snapshots?

Yes, you need curl, jq, and python3 installed to create offline Wikipedia snapshots, as the pipeline relies on these dependencies to fetch article HTML and process ResourceLoader CSS bundles.

Can I pin a Wikipedia article to a stable revision for deterministic offline rendering?

Yes, you can pin a Wikipedia article to a stable revision for deterministic offline rendering, which prevents content drift and guarantees fixed-page rendering during rate-limited or offline demonstrations.

Why does my offline Wikipedia demo look different from the live site?

Your offline Wikipedia demo might look different from the live site if the skin CSS bundles are missing, meaning you need to fetch the ResourceLoader CSS to restore visual fidelity in the offline environment.

When should I use offline Wikipedia fixtures instead of live API requests?

You should use offline Wikipedia fixtures instead of live API requests for deterministic demonstrations, rate-limited environments, and long-term prototyping where visual fidelity and fixed-page rendering are required.