An AI skill that turns books into animated, narrated, interactive web experiences
JavaScript ai-agentsai-educationanimationclaudeclaude-codeclaude-skillsedtecheducationinteractive-textbookscormtext-to-video
fix(skill): music.py --end help names the new default; templates pin engine-v2.7
yzr9a69d946f6a8
diff --git a/.claude/skills/papermorph/assets/templates/documentary/style.json b/.claude/skills/papermorph/assets/templates/documentary/style.jsonindex 405db82..40473be 100644--- a/.claude/skills/papermorph/assets/templates/documentary/style.json+++ b/.claude/skills/papermorph/assets/templates/documentary/style.json@@ -15,7 +15,7 @@"voice": { "engine": "edge", "voice": "en-GB-RyanNeural", "rate": "-4%" },"music": "public-domain classical recordings, one per part of the film, changing at the turns","pacing": { "minutes": 10, "turns": "one argument with five or six turns; one idea or picture every two to four seconds" },- "engine": { "source": "DozenTwelve/Papermorph", "ref": "engine-v2.5" },+ "engine": { "source": "DozenTwelve/Papermorph", "ref": "engine-v2.7" },"models": { "script": "claude-opus-5-5", "pictures": "claude-sonnet-5-5", "beats": "claude-sonnet-5-5", "checks": "claude-haiku-5-5", "director": "claude-opus-5-5" },"approved": [{ "chapter": "ch01", "why": "close-ups on what is named; few words on screen" }]}diff --git a/.claude/skills/papermorph/assets/templates/picture-book/style.json b/.claude/skills/papermorph/assets/templates/picture-book/style.jsonindex 894e011..464ee57 100644--- a/.claude/skills/papermorph/assets/templates/picture-book/style.json+++ b/.claude/skills/papermorph/assets/templates/picture-book/style.json@@ -17,7 +17,7 @@"budget": "under $1 of pictures per episode","cast": [{ "name": "Bo", "look": "round face, school uniform", "file": "site/jokes/lib/cast.js" }]},- "engine": { "source": "DozenTwelve/Papermorph", "ref": "engine-v2.5" },+ "engine": { "source": "DozenTwelve/Papermorph", "ref": "engine-v2.7" },"models": { "script": "claude-opus-5-5", "kit": "claude-opus-5-5", "scenes": "claude-sonnet-5-5", "sound": "claude-haiku-5-5", "director": "claude-opus-5-5", "reviewers": "claude-sonnet-5-5" },"approved": [{ "chapter": "ch01", "why": "set-up before the punchline; a close-up on whoever speaks" }]}diff --git a/.claude/skills/papermorph/assets/templates/shorts/style.json b/.claude/skills/papermorph/assets/templates/shorts/style.jsonindex 04e1196..317fba2 100644--- a/.claude/skills/papermorph/assets/templates/shorts/style.json+++ b/.claude/skills/papermorph/assets/templates/shorts/style.json@@ -23,7 +23,7 @@"voice": { "engine": "edge", "voice": "en-US-AndrewNeural", "rate": "+4%", "level": "-14 LUFS, peak -1.5" },"music": { "ch01": "one track under the whole episode, and where it came from" },"sources": "which numbers and quotes need a source on screen, and how strict to be about anonymous reports",- "engine": { "source": "DozenTwelve/Papermorph", "ref": "engine-v2.5" },+ "engine": { "source": "DozenTwelve/Papermorph", "ref": "engine-v2.7" },"models": { "script": "claude-opus-5-5", "pictures": "claude-sonnet-5-5", "beats": "claude-sonnet-5-5", "checks": "claude-haiku-5-5", "director": "claude-opus-5-5" },"approved": [{ "chapter": "ch01", "why": "what the user liked: the hook's first frame, the pace, the ending" }]}diff --git a/.claude/skills/papermorph/assets/templates/style.json b/.claude/skills/papermorph/assets/templates/style.jsonindex f069d41..30b1961 100644--- a/.claude/skills/papermorph/assets/templates/style.json+++ b/.claude/skills/papermorph/assets/templates/style.json@@ -14,7 +14,7 @@},"voice": { "engine": "edge", "voice": "en-US-AndrewNeural", "rate": "-4%" },"pacing": { "minutes": [6, 10], "checks": "one or two quick checks inside the lesson, practice at the end" },- "engine": { "source": "DozenTwelve/Papermorph", "ref": "engine-v2.5" },+ "engine": { "source": "DozenTwelve/Papermorph", "ref": "engine-v2.7" },"models": { "extract": "claude-haiku-5-5", "narration": "claude-sonnet-5-5", "picture": "claude-opus-5-5", "checks": "claude-haiku-5-5", "review": "claude-sonnet-5-5", "rework": "claude-opus-5-5", "register": "claude-haiku-5-5" },"scenes": {"art": "pixel scenes on a dark board, characters about a third of the stage tall",diff --git a/.claude/skills/papermorph/scripts/music.py b/.claude/skills/papermorph/scripts/music.pyindex 81ce238..90e53d0 100644--- a/.claude/skills/papermorph/scripts/music.py+++ b/.claude/skills/papermorph/scripts/music.py@@ -230,7 +230,7 @@ def main():c.add_argument("src", type=pathlib.Path); c.add_argument("out"); c.add_argument("chapter", nargs="?", help="chNN, with --url the book")c.add_argument("--url", help="the book, served (http://localhost:8765/<book>/), or the chapter's URL")c.add_argument("--length", type=float, help="the film's length in s, instead of reading the page")- c.add_argument("--end", type=float, help="the recording's last note in s (default: where its trailing silence starts)")+ c.add_argument("--end", type=float, help="the recording's last note in s (default: the last moment within 10 LU of its body)")c.add_argument("--shift", type=float, default=0.0, help="move the in-point by this many s (-1: the last note a second past the end)")c.add_argument("--rests", type=float, nargs="?", const=-40.0, metavar="DB", help="splice out rests under DB (default -40) for 0.25 s or more")c.add_argument("--af", default="", help="an ffmpeg filter on the cut, e.g. an EQ dip or a gentler dynaudnorm")