/paper-collage:paper-collagefrom Paper Collage
Generates vertical social videos in a DIY paper collage, scrapbook, or cut-out stop-motion style using HyperFrames. Includes a template with animation library, paper textures, and example scenes driven by a Python storyboard.
Ships in Paper Collage. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A proven kit for the scrapbook ad look: pastel crumpled paper with a white grid, torn off-white strips whose serif letters type on, real photos of people cut out as stickers with a thick white border, paper objects drawn in code, marker doodles, everything popping in with overshoot and out together, scenes pushing up. Every element is a pure function of time (render(t)) read from data-* attributes, and all scenes are generated from one Python storyboard, so a timing change is a one-line edit and renders are seek-safe.
Do not rebuild the look from scratch: copy the template, it already contains the animation library, fonts, paper texture and three example scenes.
cp -R "${CLAUDE_SKILL_DIR}/template" ./my-collage && cd my-collage
python3 scripts/build.py # writes compositions/*.html and index.html
npx hyperframes check . # must pass
npx hyperframes snapshot . --at 1.5,3.5,8.5 # look at frames before rendering
npx hyperframes render . --workers 1 -q high -o renders/collage.mp4
Needs Node 22+, ffmpeg, Python 3.9+, and the HyperFrames skills (npx hyperframes skills update). The asset scripts also need pip install pillow numpy scipy.
assets/lib/docs.css), find CC0 photos and cut them into stickers. Read reference/assets.md before touching photos.scripts/scenes.py (helpers in scripts/collage_html.py, new document styles in assets/lib/docs.css), then python3 scripts/build.py. Never edit compositions/*.html or index.html; the build overwrites them and deletes scene files that left the storyboard. Replace the three example scenes rather than adding to them, and delete the example stickers in assets/cut/ and their credits.md entries once nothing uses them.| t | Element | Helper |
|---|---|---|
| 0.3 | setup phrase types on | label("planning a", ...) |
| 0.48 | document drops in | doc(html, "doc-x", ...) |
| 0.9 | prop sticker pops | sticker(src, ...) or prop(html, ...) |
| 1.0 | punch word 1 | word("STRESSFUL", ...) |
| 1.35 | person sticker pops and rises | sticker(src, ..., person=True) |
| 2.0 | doodle | zzz, drops, flight, mark |
| 3.3 | punch word 2, below word 1 | word("EXPENSIVE", ...) |
| dur - 0.9 | everything pops out together (the last scene holds to the end) | scene exit |
| dur - 0.4 | next scene pushes up (0.4 s overlap) | automatic |
With a voiceover, put each punch word on the start of its spoken word (CONFIG["words"]). CONFIG["target_seconds"] speeds the whole piece up to a length without cutting anything; the voiceover is time-stretched with pitch kept.
crumpled.png (a real CC0 photo) multiplied over one flat pastel per scene, a new colour each scene. Ink #1E1B18, accent red #D2402E.rot=) so they read.collage.js alone.Full look and motion spec: reference/style.md. Raw markup contract (for hand-written scenes): reference/markup.md.
A scene can be a talking head instead of paper: add "presenter": {"src": "assets/aroll/a1.mp4", "video": True, "frames": "0:1,2.5:1.12"} (or a still image with "video": False). Strips, tags and stamps still work on top of it. Keep the presenter scenes and collage scenes in the same storyboard so the push transitions line up.
| Symptom | Cause and fix |
|---|---|
| Words in a strip run together ("fixingyour") | A plain space collapses inside inline-block letters; collage.js uses a non-breaking space. Do not rewrite splitLetters. |
| Background removal looks ragged or has a halo | Pick photos on plain backgrounds, then diecut.py sticker --erode 2 --cut-y <chest y>: the matte is hardened, cut straight, and hidden under the white border. |
| Prop cutout keeps a grey shadow blob | diecut.py prop --white 200, crop to one object with --box, or use remove-background plus sticker. |
| Letters still typing when the scene exits | Exit must come after t + 0.1 + letters x 0.045 + 0.3; shorten the word or move exit. |
| Draw-on doodle shows nothing mid-stroke | Do not use pathLength="1"; mark() measures real path lengths. |
| Renders differ between runs or frames flicker | No Math.random, Date, CSS animations or transitions; use Collage.rng(seed) and render(t). |
| Contrast warning on a rotated document | Known false positive: the audit measures axis-aligned boxes, so text on a tilted band is compared with the page behind it. |
text_occluded error | Real when a sticker covers document text: move one of them. A tilted overlay on a sticker is a false positive; stamp() is exempt already, add data-layout-allow-occlusion to others. |
container_overflow info on .cg-world | Expected: the slow scene zoom grows the world past the frame. |
| Stamp text runs off the frame | stamp("OVER BUDGET", ..., size=44). |
| Lint warns the file is long or not split | Build scenes through scenes.py; it writes one sub-composition per scene. |
render stops with "Low disk space" | HyperFrames needs 1 GB free. |
reference/assets.md (opens in a new tab)reference/markup.md (opens in a new tab)reference/style.md (opens in a new tab)scripts/diecut.py (opens in a new tab)scripts/openverse_search.py (opens in a new tab)scripts/paper_texture.py (opens in a new tab)template/assets/credits.md (opens in a new tab)template/assets/cut/person-gym.png (opens in a new tab)template/assets/cut/person-sleep.png (opens in a new tab)template/assets/cut/prop-clock.png (opens in a new tab)template/assets/cut/prop-dumbbell.png (opens in a new tab)template/assets/fonts/ArchivoBlack-Regular.ttf (opens in a new tab)template/assets/fonts/Gloock-Regular.ttf (opens in a new tab)template/assets/fonts/Newsreader.ttf (opens in a new tab)template/assets/fonts/OFL-ArchivoBlack.txt (opens in a new tab)template/assets/fonts/OFL-Gloock.txt (opens in a new tab)template/assets/fonts/OFL-Newsreader.txt (opens in a new tab)template/assets/lib/collage.css (opens in a new tab)template/assets/lib/collage.js (opens in a new tab)template/assets/lib/docs.css (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
paper-collage, scrapbook-style, stop-motion, hyperframes, social-video, b-roll
Other plugins' skills for the same job
npx claudepluginhub rafiimanggala/paper-collage-skill --plugin paper-collage