- name
SKILL.md
스킬 파일은 게시자의 저장소에 그대로 있습니다.
복사한 명령을 터미널에 붙여넣습니다. 이 SKILL.md가 해당 에이전트에 설치됩니다.
npx skills add oaustegard/claude-skills --skill animating-with-code -a cursor -y복사한 명령을 터미널에 붙여넣습니다. 이 SKILL.md가 해당 에이전트에 설치됩니다.
npx skills add oaustegard/claude-skills --skill animating-with-code -a claude-code -y복사한 명령을 터미널에 붙여넣습니다. 이 SKILL.md가 해당 에이전트에 설치됩니다.
npx skills add oaustegard/claude-skills --skill animating-with-code -a codex -y복사한 명령을 터미널에 붙여넣습니다. 이 SKILL.md가 해당 에이전트에 설치됩니다.
npx skills add oaustegard/claude-skills --skill animating-with-code -a grok -y복사한 메시지를 Grok Bot 채팅에 보냅니다. Bot이 GitHub에서 이 SKILL.md를 가져와 모든 Bot이 공유하는 스킬에 추가합니다.
Install this skill: https://github.com/oaustegard/claude-skills/tree/HEAD/animating-with-code게시자 제공
You write the drawing; a headless browser (or PIL, cairo, ffmpeg) renders it. The method below comes from the ClaudeAnimationBase kit's guide and holds for any renderer. The kit itself is the fastest route to a hand-painted character short.
Before building, name the route and why (Oskar's standing steer, memory 06886186): the kit, a CSS/HTML page captured frame by frame, a pure ffmpeg filtergraph, or PIL/cairo frames.
fn(t). Same t, same pixels. No counters, no state carried between
frames, no integrated physics, no unseeded random. Then frames can
render out of order, split across parallel workers, and resume after a crash.ffprobe that duration and frame count
match the config.You cannot see motion by reading code. Render images and open them with Read.
Count frames per read (24 = 1 s). A read that gets a few frames, or shares its frames with another read, will be missed. Budget: one sheet per shot, one strip per key motion and per transition, one crop per face that carries the story.
Defaults, overridden by whatever the person asks for.
!, ?, sweat, hearts, a bulb). A sign that restates the story
is the classic failure.https://github.com/JohnHeibel/ClaudeAnimationBase, MIT, verified at commit
0ac8bf2 (2026-09-24). Its ANIMATION_GUIDE.md (36 KB) is the full API: read it
whole before drawing. render.mjs provides the review views as flags
(--sheet=, --strip=a:b, --crop=x,y,w,h, --crop-at=, --stills=, --clip,
--frames --workers=N + --encode).
Recipe for a CCotw container, verified 2026-10-25 (4 CPUs, no GPU, Chromium at
/opt/pw-browsers/chromium-*/chrome-linux64/chrome):
SCRATCH=/path/outside/the/checkout # the session scratchpad
CHROME=$(ls -d /opt/pw-browsers/chromium-*/chrome-linux64/chrome | tail -1)
git clone --depth 1 https://github.com/JohnHeibel/ClaudeAnimationBase /tmp/jail/cab
# deps from the registry, outside the checkout, no install scripts; versions from package-lock.json
mkdir -p "$SCRATCH/cabdeps" && cd "$SCRATCH/cabdeps" && npm init -y >/dev/null \
&& npm install --ignore-scripts [email protected] [email protected] [email protected]
cp -r "$SCRATCH/cabdeps/node_modules" /tmp/jail/cab/
sed -i '/fonts.googleapis.com/d' /tmp/jail/cab/studio.html # only letter() uses it
sed -i "s/{ waitUntil: 'networkidle0' }/{ waitUntil: 'networkidle0', timeout: 0 }/; s/{ timeout: 60000 }/{ timeout: 0 }/" /tmp/jail/cab/render.mjs
chown -R nobody:nogroup /tmp/jail/cab
sh scripts/jail.sh -C /tmp/jail/cab -- node render.mjs --soft-gl \
--chrome="$CHROME" \
--sheet=0.5,2,4,6,8,10 --cols=3 --w=480 --out=out/sheet.jpg
In claude-workspace, run the kit only inside scripts/jail.sh (hub rule for
code nobody here wrote). Elsewhere, drop the jail prefix.
Cost. Under SwiftShader the demo's six-frame sheet took 0.3, 0.2, 36, 47, 40
and 42 s per frame. At ~40 s, the 11 s demo (264 frames) is about 3 hours on one
worker. Before a full render, either ask the scene to avoid p5.brush watercolour
fill (the kit's README suggests this for machines without a GPU), split across
--frames --workers=N and run it as a background job, or render on a GPU host
(--gpu-angle=gl-egl|vulkan). The review loop stays cheap: sheets and strips
render a handful of frames.
Open every sheet and strip with Read and look before calling a shot done. For the final file, this must match the config's duration and fps:
ffprobe -v error -show_entries format=duration:stream=nb_frames,r_frame_rate -of default=nw=1 out/video.mp4
Report the route used, the render time per frame, and anything the review loop found that you did not fix.
Make a short animated film by writing the drawing code yourself: every frame a pure function of time, rendered headlessly to MP4. Covers storyboarding with a per-shot timing sheet of viewer 'reads', b
---name: animating-with-codedescription: Make a short animated film by writing the drawing code yourself: every frame a pure function of time, rendered…---# animating-with-code/SKILL.md개요
Make a short animated film by writing the drawing code yourself: every frame a pure function of time, rendered headlessly to MP4. Covers storyboarding with a per-shot timing sheet of viewer 'reads', blocking key poses as stills, the contact-sheet / frame-strip / crop review loop, and the hand-painted character kit JohnHeibel/ClaudeAnimationBase (p5.js + p5.brush, the Clawd mascot, 31 emotions). Use for 'animate', 'make a cartoon', 'animated short', 'motion graphic', 'Clawd video', 'p5 animation', or any video request where Claude draws the frames. Not for AI-generated footage (creating-video), transcoding or trimming existing video (processing-video), or a comic from footage (drawing-video).
FAQ
게시자에게서 animating-with-code/SKILL.md를 다운로드하거나 경로를 복사해 저장소를 엽니다. PlugMCP는 스킬을 목록에 올릴 뿐 파일을 호스팅하지 않습니다.
게시자가 https://github.com/oaustegard/claude-skills에서 관리합니다.
Claude, Cursor, Codex, Grok Build는 게시자의 저장소에서 추가한 SKILL.md를 읽을 수 있습니다. Grok Bot은 채팅에서 스킬의 GitHub 폴더 링크를 보내면 설치합니다.