skills/h5p-type-scaffold/SKILL.md
Scaffold and guide creation of H5P content types. Use when asked "build an H5P type", "create an H5P content type", "scaffold an H5P library", or "start a new H5P".
npx skillsauth add chandima/agent-skills h5p-type-scaffoldInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create a modern H5P content type starting from established boilerplates, with a minimal build pipeline and editor semantics.
library-install (default) or content-import (advanced).library.json, semantics.json, and JS/CSS entrypoints.h5p-cli.H5P.* (runnable: 1).H5PEditor.* (runnable: 0).semantics.json defines the editor form schema and validation rules.H5P.* or H5PApi.*) are used as shared building blocks.See references/CONCEPTS.md for details and official links.
library-install (default): Upload libraries/content types to platform library installers.content-import (advanced): Import an authored content instance (h5p.json + content/content.json) into content import flows.content/content.json.bash /mnt/skills/user/h5p-type-scaffold/scripts/validate-package.sh --mode library-install --dir /path/to/unpacked
bash /mnt/skills/user/h5p-type-scaffold/scripts/validate-package.sh --mode content-import --dir /path/to/unpacked
bash /mnt/skills/user/h5p-type-scaffold/scripts/scaffold.sh \
--title "My Content Type" \
--machine "H5P.MyContentType" \
--kind "content" \
--version "1.0.0" \
--description "Short description" \
--author "Your Name" \
--license "MIT" \
--template "snordian" \
--out /path/to/output
Editor widget example:
bash /mnt/skills/user/h5p-type-scaffold/scripts/scaffold.sh \
--title "My Editor Widget" \
--machine "H5PEditor.MyWidget" \
--kind "editor" \
--out /path/to/output
library.json and semantics.jsonsrc/entries, src/scripts, src/stylesREADME.md (templates)DEV.md (templates, dev harness)assets/templates/npm installnpm run buildh5p core then h5p setup <library>h5p serverh5p pack <library> [my-library.h5p] (see h5p help pack)library.json at the package root and avoid top-level h5p.json or content/.h5p.json + content/ only for content-instance export/import flows.scripts/validate-package.sh.Some platforms (notably Drupal 11.x with the H5P 2.0.0 beta module) reject
zip directory entries such as dist/ or language/ because they lack an
allowed file extension. Use scripts/pack.sh instead of h5p pack to produce
a .h5p archive that omits directory entries:
bash /mnt/skills/user/h5p-type-scaffold/scripts/pack.sh \
--dir /path/to/built-library \
--out MyLibrary.h5p
Add --strict to abort if any packaged file lacks an allowed extension.
references/DEV-HARNESS.mdscripts/h5p-dev.shreferences/XAPI.md (emit + listen + platform notes)See references/H5P-CLI.md for a fuller command overview and references/CONTENT-TYPE-AUTHORING.md for authoring essentials.
h5p/h5p-boilerplate when you want the simplest baseline.h5p-cli to pack and manage libraries.snordian (default): Linting + i18n scaffolding + modern webpack config.vanilla: Official minimal boilerplate structure.editor: H5P editor widget boilerplate (H5PEditor.*).h5p/h5p-boilerplate branches like question-type and question-type-vue for specialized starting points.otacke/h5p-editor-boilerplate for building custom H5P editor widgets.NDLA-H5P/generator-h5p-content-type if you prefer a Yeoman-based generator workflow.tarmoj/h5p-react-boilerplate for a React-based starter (note: appears stale).H5P.YourContentType.--kind editor and a H5PEditor.YourWidget machine name.1.0.0 and update later.node and npm are installed and run npm install.content/ not allowed, missing preloadDependencies in h5p.json, or invalid license in h5p.json, you are importing a content package into a library upload flow..h5p zip contains directory entries. Repack using scripts/pack.sh --dir <library-dir> which creates a zip without directory entries.development
Get current weather and forecasts (no API key required).
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.