h5p-generator

Generate H5P interactive content files programmatically with Python scripts.

3|2|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/dSchulenburg/claude-skills --skill h5p-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: h5p-generator
Source: https://github.com/dSchulenburg/claude-skills/tree/main/h5p-generator
Command: npx skills add https://github.com/dSchulenburg/claude-skills --skill h5p-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires json, zipfile, os, uuid, pathlib, datetime, shutil, dataclasses, typing, re, requests, subprocess, sys, asyncio, random, pdfminer.six, puppeteer-core, zip-lib, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of interactive H5P content, eliminating the need for manual design in the H5P editor and enabling rapid generation of educational materials.

Core Features & Use Cases

  • Programmatic H5P Creation: Generate 16 different H5P content types (quizzes, flashcards, drag-and-drop, interactive books, etc.) directly from Python code.
  • Container Types: Combine multiple H5P elements into structured containers like Columns, Question Sets, Course Presentations, and Interactive Books.
  • Branding & Styling: Apply custom branding (like BS:WI design) and visual styles to H5P outputs.
  • Use Case: A teacher needs to create 50 unique quiz variations for a lesson. Instead of using the H5P editor 50 times, they can write a Python script to generate all variations automatically, ensuring consistency and saving significant time.

Quick Start

Use the h5p-generator skill to create a true/false quiz about Python basics.

Frequently Asked Questions about h5p-generator

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

FAQPage Schema
How do I generate H5P interactive content programmatically?

Generate H5P interactive content programmatically by writing Python scripts that output .h5p files directly. This method bypasses the manual H5P editor, supporting 16 content types including quizzes, flashcards, and interactive books for rapid e-learning material creation.

Can I create multiple quiz variations automatically without using the H5P editor?

Create multiple quiz variations automatically by writing a Python script to generate H5P files. This replaces repetitive manual work in the H5P editor, rapidly producing multiple unique quiz versions while ensuring styling consistency across all generated e-learning materials.

What H5P content types and containers can I build using Python code?

Build 16 H5P content types including quizzes, flashcards, and drag-and-drop exercises using Python code. Combine them into 4 container types: Columns, Question Sets, Course Presentations, and Interactive Books for structured e-learning modules.

Does the H5P generator support custom branding and visual verification?

The H5P generator supports applying custom branding and visual styles to outputs. It also includes options for visual verification, ensuring generated interactive content meets specific design requirements before deployment in educational environments.

What Python libraries are required to create H5P files with this approach?

Creating H5P files with this approach requires standard Python libraries like json, zipfile, and os, alongside specialized packages including pdfminer.six for PDF text extraction and puppeteer-core for visual verification of the generated interactive content.

Is programmatic H5P generation suitable for large-scale e-learning content production?

Programmatic H5P generation is suitable for large-scale e-learning content production because it automates repetitive creation tasks. Generating dozens of unique interactive modules via Python scripts ensures consistency and scalability across extensive educational courses.