shaderera
Use when the person asks to make, revise, check, render, deliver, share or fork a video, ad, motion graphic or animated film in code with Shaderera, or to open the Shaderera studio, or when the working directory (or a parent) has a shaderera.json. Covers starting a project, the edit, check and look loop, giving yourself eyes through MCP, rendering and delivery, and shaderera.com (login, share, fork, studio). For searching, adding, removing or publishing plugins, use the shaderera-plugins skill.
- License 许可
- MIT
- 最近更新
- 2026-11-07
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- shaderera
- description
- Use when the person asks to make, revise, check, render, deliver, share or fork a video, ad, motion graphic or animated film in code with Shaderera, or to open the Shaderera studio, or when the working directory (or a parent) has a shaderera.json. Covers starting a project, the edit, check and look loop, giving yourself eyes through MCP, rendering and delivery, and shaderera.com (login, share, fork, studio). For searching, adding, removing or publishing plugins, use the shaderera-plugins skill.
02 资源文件 1
- 参考文档studio.md7.6 KB
03 SKILL.md 正文
Shaderera
A Shaderera film is code: render(t), a function from time to a frame, in src/. The film draws
with whatever it likes (Canvas2D, three.js, raw WebGPU, a DOM page, footage, its own shaders).
Shaderera checks that the same t always gives the same frame, then renders, reviews and
delivers it.
1. Find or start the project
-
If the working directory or a parent has
shaderera.json, that is the project. Read itsAGENTS.md,AUTHORING.mdandREADME.mdbefore you change anything, and follow them. -
Otherwise start one where the person wants it:
npx create-shaderera@latest my-film cd my-film npm installIt needs Node.js 24 or newer and ffmpeg on the PATH.
npx shaderera doctorsays what the machine lacks and how to fix it. Then read the new project'sAGENTS.mdandAUTHORING.md.
2. Give yourself eyes
Look at frames, not only numbers. The shaderera MCP server renders frames, returns them as
images, inspects state and traces a pixel back to the line that drew it. The Claude Code plugin
declares it, and a new project's .mcp.json names it. If its tools are missing, add a stdio MCP
server whose command is npx -y shaderera mcp (Claude Code:
claude mcp add shaderera -- npx -y shaderera mcp).
When the server is declared but failed to start (Claude Code reports plugin:shaderera:shaderera
as failed, and waits 15 minutes before it tries again), keep working with the CLI (steps 3 and
4) and tell the person once: in /mcp, pick the shaderera server and reconnect it. Its tools
arrive after that.
The server starts in any folder and finds the project on each call, from the folder it runs in
and above. When the project is somewhere else (one you just made, say), pass its folder as
root on every call. A call with no project says so. The tools have the CLI's names, and
node_modules/shaderera/docs/mcp.md lists them. Without MCP, the CLI shows the same things.
3. The loop
- Read the brief. How the film looks comes from the brief and the person: Shaderera has no
house style, so do not bring one. If the brief names a real product, logo or asset and its
files are missing, ask for them. When the person hands over a reference to copy (a clip, a
web page, a Lottie file, a poster or screenshot), read
guides/reference-motion.mdfirst. - Write the film's code in
src/. Report state frominspect(t)(ids, text as runs, boxes), so checks and review can read it (AUTHORING.md, "Make it editable"). - Check after every edit:
npx shaderera check.render(t)must stay a function oft. On ✗:npx shaderera still --diff <t>at the t it names, thennode_modules/shaderera/docs/determinism.md, "What breaks it". Aclockwarning meansrenderreadDate,performance.noworrequestAnimationFrame. - Look, through MCP whenever its tools are there: each CLI call starts the film cold (seconds
on a real film), where an MCP call reuses the open one (tens of milliseconds). MCP
still(a contact sheet) orrender_framewithimage: true(scaled to 1024 px;fullor aregionfor detail); without MCP,npx shaderera still <t>... --sheet, a detail with--region x,y,w,h --scale 8. Read motion as a curve:npx shaderera inspect --track <path>. Compare the frames a change should affect with the ones it should not. A film in several ratios:guides/formats.md. Motion faults (freezes, jumps, stutter) never show in stills: measure a render over time (ffmpeg -i out/<name>.mp4 -vf freezedetect=d=0.3 -f null -, orstill --fileon every frame around each cut). - Make the smallest change that does what was asked. Keep edits made by hand.
- Save a revision the person can return to:
npx shaderera save --label "<what changed>".
Open the studio once the first draft passes check and has something to watch, without
being asked: start it (studio.md, beside this skill) and give the person its address. From
then on, tell them what changed and at which times to look in the studio, not with a contact
sheet they did not ask for. If they say no, don't open or offer it again this session.
Add --json to any command for one envelope: ok, exitCode (0 passed, 1 the film failed a
check, 2 the command could not run) and findings with t, file:line and a box.
4. Render and deliver
While you iterate, look (step 3) instead of rendering. Rendering only the shot that changed, the
time left, drafts and why a render is slow: guides/review.md. A whole-film or draft render: the
CLI in the background, not MCP render, which
blocks. --workers: node_modules/shaderera/docs/cli.md, render.
To patch a window of a film already rendered, never splice files with ffmpeg by hand. A plain
render keeps no chunks to reuse: render the film again. A film rendered as a job's plan (job,
plan, render --chunk, assemble) is patched with render --job <new> --reuse <old plan> --changed <from>-<to>, then assemble: delivery.md, "Re-rendering only what an edit changed".
npx shaderera review # frames, a contact sheet and technical checks
npx shaderera render --draft # out/<project>-draft.mp4 (guides/review.md)
npx shaderera render # out/<project>.mp4
npx shaderera render --format prores-hq # a ProRes mov for finishing
npx shaderera deliver --variants main,short # a checked batch: the main film and a variant from shaderera.json
npx shaderera deliver --variants 16:9,9:16 # one film in both ratios
Every flag is in node_modules/shaderera/docs/cli.md, and delivery, placements and handoffs are
in node_modules/shaderera/docs/delivery.md. Reach for these when the case comes up:
- HDR10: delivery.md, "HDR10".
- Looking at the rendered file:
npx shaderera still --file out/<name>.mp4 --count 12 --sheet(--from,--to,--columns; MCPstill {file}) gives its frames as encoded, andrenderprints its loudness (audio:integrated LUFS and true peak). No ffmpeg command needed. - Stopping a render:
npx shaderera render --stopin the project stops the render running there cleanly. Never kill processes by name or pattern: other sessions' renders and tests run on the same machine. - A software GPU:
renderanddeliverrefuse a host whose WebGPU is SwiftShader, llvmpipe, lavapipe or WARP (10–100× slower). Tell the person, and pass--software-gpuonly when they accept the wait (MCPrender:softwareGpu: true). - Only the sound or the captions changed:
npx shaderera reexport audio --job <new> --onto out/<old>.mp4puts the new mix on the delivered picture, andreexport captions --job <j>writes the sidecars, with no frame rendered. - After a delivery: run
npx shaderera prune --dry-runand tell the person what it would free and whatout/holds. Never deleteout/,versions/or jobs without asking. - A long render on several machines:
plan --job <j> --chunks n,render --job <j> --chunk ion each machine,plan --status --plan <dir>for what is done, missing or stale, thenassemble --plan <dir>. - Expensive films (frames that take seconds, a bake):
guides/speed.md.
5. shaderera.com and the studio
Sign-in, share, fork, the studio and the person's comments there are in studio.md, beside this
skill. Read it when the person asks for any of them, and before you open the studio.
6. Plugins
Write the film's own code; which plugins you may add is in AUTHORING.md, "Plugins". The
shaderera-plugins skill says how.
7. Report
Say what changed, what check and review said, and what you could not verify by looking. A
passing check or a contrast number does not show that a frame looks good. With the studio open,
point to the times to watch there instead of a contact sheet.
04 同仓库更多 Skills
shaderera-plugins
Use when the person asks for Shaderera plugins (the film building blocks `npx shaderera add` copies in, not the Claude Code plugin) by name or by what they do (search, add, remove or publish a plugin), names a plugin, when adding one of the plumbing plugins AUTHORING.md lists instead of writing the same plumbing again, or when a render or check fails because a required package plugin is missing. Do not use it to look for ready-made looks or motion while making a clip unless the person asked for that.
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
wizard
Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.
wayfinder
Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.
wait-what
Stop. That last message did not land: re-pitch it.
triage
Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.