OpenParable
Skip to content
← Back to skills

H5p Patterns

Design
h5p-patterns

H5p Patterns is an Agent Skill for design published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Create interactive H5P content for Moodle and web platforms. Use when building interactive exercises, quizzes, or multimedia learning content.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/h5p-patterns/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/h5p-patterns, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

H5P Integration Skill

Embed and style H5P interactive content in Cloodle.

Trigger

  • H5P content requests
  • Interactive element creation
  • H5P embedding in Kirby or Moodle

H5P in Moodle

H5P activities are native in Moodle 4+. Key features:

  • Interactive Video
  • Course Presentation
  • Question Sets
  • Branching Scenarios

Embedding in Moodle Page

<div class="cloodle-h5p-wrapper">
    <iframe src="/mod/h5pactivity/embed.php?id=123"
            class="h5p-iframe"
            allowfullscreen>
    </iframe>
</div>

H5P in Kirby

Use iframe embedding with public H5P URLs:

<?php snippet('h5p-embed', ['id' => $block->h5pId()]) ?>

Snippet Template

<div class="uk-card uk-card-default uk-card-body cloodle-h5p">
    <iframe
        src="<?= $moodleUrl ?>/mod/h5pactivity/embed.php?id=<?= $id ?>"
        class="uk-width-1-1"
        style="border: none; min-height: 400px;">
    </iframe>
</div>

Styling H5P

.cloodle-h5p-wrapper {
    border-radius: $cloodle-border-radius;
    overflow: hidden;
    box-shadow: $card-box-shadow;

    iframe {
        width: 100%;
        min-height: 500px;
        border: none;
    }
}

Content Types for Education

TypeUse Case
Interactive VideoLecture with quizzes
Course PresentationSlide-based learning
Question SetAssessment
Dialog CardsVocabulary/flashcards
TimelineHistorical content