/varg:paper-shadersfrom varg
Generates frame-exact animated shader backgrounds, textures, and logo stings for HyperFrames or Remotion videos using 30 Paper Shaders (god rays, liquid metal, dithering, halftone, paper texture, etc.) with brand colors and presets.
Ships in varg. 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.
Paper Shaders draws designer-tuned WebGL shaders into a canvas. Left alone it animates from the wall clock, which flickers and drifts in a video render. This skill mounts every shader at speed 0 and draws each frame from the timeline, so the same frame always gives the same picture.
@paper-design/[email protected]. Use that exact version everywhere. Never use 0.0.47–0.0.76: they are PolyForm Shield, not open source. Bumping the version follows references/licensing.md.templates/paper-preset.js. Never set speed above 0, and never let scene code read Date.now(), performance.now(), requestAnimationFrame or unseeded Math.random().estimate_cost and wait for the user's approval before any generation.A person approves at each checkpoint (looks, stills, motion) before the next step. Commands run from the skill folder; HF stands for the pinned CLI, npx --yes [email protected].
references/shaders.md. Say which one and why in one line; that is checkpoint 1.node scripts/new-project.mjs ./video # new HyperFrames project from the template
node scripts/new-project.mjs ./existing --add # paper-preset.js and presets/ only
index.html. Image presets take { image: "assets/logo.png" }; serve images from the project.
node scripts/apply-brand.mjs assets/presets/brand-mesh.json palette.json --out ./video/presets/brand-mesh.json
node scripts/validate-presets.mjs ./video/presets/brand-mesh.json
$HF snapshot ./video --at 0.5,2,4 writes PNGs and a contact sheet. Show them; change one param at a time until approved.(cd ./video && $HF render --quality draft --output draft.mp4). Tune motion.timeScale for pace.node scripts/check-determinism.mjs ./video # must print "deterministic"
(cd ./video && $HF check && $HF render --output final.mp4) # or: npm run check, npm run render
The host is a timed clip with its own composition id and no GSAP timeline. HyperFrames calls render(seconds) for every frame it captures, in any order.
<div id="bg" class="clip" data-composition-id="bg" data-start="0" data-duration="6"
data-track-index="0" data-no-timeline data-layout-allow-overflow></div>
<script type="module">
import * as PS from "https://cdn.jsdelivr.net/npm/@paper-design/[email protected]/dist/index.js";
import { paperFrameSource } from "./paper-preset.js";
import preset from "./presets/god-rays-reveal.json" with { type: "json" };
const ramp = (t) => 1 - Math.pow(1 - Math.min(t / 1.2, 1), 3);
window.__hyperframes.registerFrameSource(
paperFrameSource(PS, document.getElementById("bg"), preset, {
paramsAt: (t) => ({ intensity: 0.8 * ramp(t), bloom: 0.4 * ramp(t) }), // a reveal, as a pure function of time
}),
);
</script>
await; HyperFrames boots on DOMContentLoaded.paperSequenceSource: one host, one context, any number of presets (see examples/paper-gallery).templates/hyperframes/shader-background.html is a complete composition to start from.npm i @paper-design/[email protected]
# copy templates/paper-preset.js, templates/paper-preset.d.ts, templates/remotion/ShaderBackground.tsx and the presets
<ShaderBackground preset={brandMesh}>
<h1>Headline</h1>
</ShaderBackground>
<ShaderBackground preset={liquidMetal} image={staticFile("logo.svg")} />
Render with npx remotion render <id> out.mp4 --gl=angle. Do not use Paper's React components for renders; see references/determinism.md.
Two sets ship. Nine varg presets in assets/presets/, in varg colors with brand roles. And all 124 of Paper's own presets in assets/presets/paper/ (paper-<shader>-<name>, for example paper-mesh-gradient-beach, paper-warp-passion), with the colors and speeds shown on shaders.paper.design. When the user wants "the look from Paper's site", start from those. All are validated against Paper's documented ranges; five of Paper's own go past the editor's slider ranges and stay as Paper ships them.
| Varg preset | Shader | Use |
|---|---|---|
brand-mesh | MeshGradient | Background behind titles, product cards and lower thirds |
grain-blob | GrainGradient | Soft grainy blob behind a quote, a product or a speaker |
retro-dither | Dithering | Two-ink texture for interstitials and end cards |
warp-transition | Warp | 0.5–1 s full-frame interstitial between scenes |
god-rays-reveal | GodRays | Rays behind a logo as it appears (ramp with paramsAt) |
liquid-metal-sting | LiquidMetal | 1–2 s chrome logo sting; needs a transparent logo |
smoke-ring-loader | SmokeRing | Ring around a countdown, a loader or a mark |
halftone-overlay | HalftoneDots | Print look for a still (needs the still) |
paper-finish | PaperTexture | Paper grain and folds over a still or title card |
A preset is JSON: shader, motion (timeScale, frame), optional mount and image notes, roles for brand mapping, and every param. paper-preset.js refuses a preset that leaves a uniform unset rather than render a wrong frame.
Eleven background looks researched from the people who build these shaders, each with 4-5 presets in exact Paper params (checked with validate-presets.mjs) or, where Paper has no shader for it, a custom GLSL skeleton with its numbers. Each look has a reference (how the pros do it, presets, timing, build steps, mistakes, sources) in references/looks/ and its presets in assets/looks/ (50 presets). The look files use their own schema: a preset's params.paper block is what goes into a varg preset JSON, with params.motion as its motion.
| Look | Shader | Presets | Files |
|---|---|---|---|
| Contour lines | custom-glsl | Signature, Survey, Night, Blueprint | contour-lines.md · json |
| Datamosh rain | custom-glsl | Signature, Datamosh, Phosphor, Ember, Ice | datamosh-rain.md · json |
| Dithered gradient | Dithering | Signature, Newsprint, Riso, Phosphor | dithered-gradient.md · json |
| God-ray light field | GodRays | Overhead, Off-center, Streaks, Photograph, Bright core | god-ray-light-field.md · json |
| Gradient flow | Warp | Signature, Chroma, Ember, Aurora, Mono | gradient-flow.md · json |
| Grain gradient | GrainGradient | Signature, Riso, Ember, Sage, Night | grain-gradient-shapes.md · json |
| Hand-drawn radial burst | custom-glsl | Signature, Print, Negative, Riso | hand-drawn-radial-burst.md · json |
| Liquid metal field | LiquidMetal | Signature, Chrome, Noir, Gold | liquid-metal-field.md · json |
| Marbled ink | Warp | Signature, Ink, Ember, Sage | marbled-ink.md · json |
| Mesh gradient with grain | MeshGradient | Signature, Dusk, Lagoon, Studio, Ink | mesh-gradient-grain.md · json |
| Paper texture | PaperTexture | Signature, Kraft, Newsprint, Poster, Print | paper-texture.md · json |
Rules for every look:
u_t = seconds only.Built from: Inigo Quilez; Paper's Ksenia Kondrashova (@uuuuuulala) and Stephen Haney (@stephenhaney); Lucas Pope (@dukope); Surma (Ditherpunk); Patricio Gonzalez Vivo & Jen Lowe (The Book of Shaders); Mirza Beig (@TheMirzaBeig); Rune Skovbo Johansen (@runevision); Xor; Kenny Mitchell. Sources with links: references/looks/sources.md.
| When | Read |
|---|---|
| Choosing a shader, writing a new preset, working with footage | references/shaders.md |
| Frames flicker, go black or differ between workers; offline, 4K or Docker renders; Remotion details | references/determinism.md |
| Applying a palette, text contrast over a shader | references/brand-mapping.md |
| A named look (liquid metal field, god rays, marbled ink, contour lines, datamosh rain …) or its expert numbers | references/looks/<look>.md and assets/looks/<look>.json |
| Bumping the Paper Shaders version, vendoring it, credits, client work | references/licensing.md |
All run with node or bun, make no network calls of their own, and touch only the paths you give them.
| Script | Does |
|---|---|
new-project.mjs <dir> [--example preset-reel|paper-gallery] [--add] | Scaffolds a HyperFrames project, or adds paper-preset.js and presets/ to one |
validate-presets.mjs [files] | Checks presets against the documented params, ranges, enums and color limits |
apply-brand.mjs <preset> <palette> | Maps a palette onto a preset through its roles |
check-determinism.mjs <project> [--at …] [--software] | Snapshots forwards and backwards in two runs and compares pixels (uses npx hyperframes) |
build-manifest.mjs | Rewrites assets/refs.manifest.json after a preset changes |
refresh-params.mjs <llms.txt> <version> | Rebuilds assets/paper-shaders.params.json when the pinned version changes |
index.html, paper-preset.js, presets/*.json (the branded presets actually used), package.json and hyperframes.json with the HyperFrames version pinned.contact-sheet.jpg, shown at checkpoint 2.renders/<name>.mp4 or the --output path; 1920×1080 at 30 fps unless asked otherwise.check-determinism.mjs result.examples/paper-gallery/ plays all 124 of Paper's presets, 2 s each, full frame, through one host (--example paper-gallery, about 4 minutes of video).
examples/preset-reel/ shows all nine varg presets, 2.5 s each, at 1920×1080 and 30 fps, with a frame counter that is itself a frame source. Posters and the logo are drawn in code, so it needs no outside media. A contact sheet is in assets/previews/preset-reel.webp.
node scripts/new-project.mjs ./preset-reel --example preset-reel
cd preset-reel && npm run render -- --output preset-reel.mp4 # pinned HyperFrames; about 22 s on an M1 Pro
hyperframes check passes; lint's structure warnings come from keeping the reel in one file to read.
LICENSE-paper-shaders (opens in a new tab)NOTICE (opens in a new tab)README.md (opens in a new tab)assets/looks/contour-lines.json (opens in a new tab)assets/looks/datamosh-rain.json (opens in a new tab)assets/looks/dithered-gradient.json (opens in a new tab)assets/looks/god-ray-light-field.json (opens in a new tab)assets/looks/gradient-flow.json (opens in a new tab)assets/looks/grain-gradient-shapes.json (opens in a new tab)assets/looks/hand-drawn-radial-burst.json (opens in a new tab)assets/looks/liquid-metal-field.json (opens in a new tab)assets/looks/marbled-ink.json (opens in a new tab)assets/looks/mesh-gradient-grain.json (opens in a new tab)assets/looks/paper-texture.json (opens in a new tab)assets/paper-shaders.params.json (opens in a new tab)assets/presets/brand-mesh.json (opens in a new tab)assets/presets/god-rays-reveal.json (opens in a new tab)assets/presets/grain-blob.json (opens in a new tab)assets/presets/halftone-overlay.json (opens in a new tab)assets/presets/liquid-metal-sting.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: skills.73: Invalid string: must start with "./", skills.74: Invalid string: must start with "./", skills.75: Invalid string: must start with "./", skills.76: Invalid string: must start with "./", skills.77: Invalid string: must start with "./"
.claude-plugin/plugin.json: skills.73: Invalid string: must start with "./", skills.74: Invalid string: must start with "./", skills.75: Invalid string: must start with "./", skills.76: Invalid string: must start with "./", skills.77: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
83 skills in this plugin
/ad-creative-testingTurn one winning ad into a creative testing plan for TikTok and Meta. Decodes why an ad won (hook, argument, buyer, format), plans concepts that Meta's Andromeda and TikTok treat as genuinely different (buyer × angle × format × first frame, not caption swaps), sets how many creatives to launch, the budget per test and when to judge, writes file and ad names that make results readable, reads hook rate, hold rate, CTR and CPA to find which part failed, and says when to kill, iterate or scale. Use when someone asks how many ads to test, how to make ad variants, why their variants all perform the same, whether an ad is fatigued, when to kill an ad, or how to scale a winner. NOT for producing the videos (use ecommerce-video-ads, ecommerce-video-edit or product-video-hooks) or for media-buying account setup./ai-ad-compliance-checkTurns an AI video ad into a compliance report for TikTok Shop, TikTok ads, Meta, YouTube, the FTC, New York's synthetic-performer law and the EU AI Act before it runs: varg video_analyze pulls every shot, spoken and on-screen claim and person, each claim is matched to the seller's evidence, the visuals are checked against TikTok Shop's AI product rules (no fake effects, before/after, changed quantity or size), people and voices against the FTC fake-testimonial rule, and the result is a pass / fix / block list with the rule, source and date, a rewrite for each fix, and the AI labels to set on each platform. Use when someone asks "is this ad allowed", "will TikTok Shop reject this", "check my AI ad for compliance", "do I need an AI label", "can an AI avatar say it used the product", or before publishing AI product ads, UGC or testimonials. Not legal advice, and not for writing the ad (use ecommerce-video-ads or tiktok-shop-video)./ai-parody-videoPlan and make a short AI parody video: a known movie scene, TV format or news shot with one wrong element, 10 to 45 seconds, built to be shared. Gives the joke structure, six formats measured on clips with 60 thousand to 9 million views (scene recast with new dialogue, original-vs-remake, one-prompt sitcom sketch, fake live news shot, character monologue, silent slapstick), which production route each one takes, prompt templates for the sketch and the news shot, subtitle and caption rules, and a plain list of what is allowed with real people, known characters, studio footage and cloned voices, with platform AI labels. Use when someone asks for a parody, spoof, meme video, movie mashup, crossover, "X in the world of Y", a celebrity or politician comedy clip, a fake trailer, or wants videos like the viral AI parodies on X, TikTok or Shorts. Then use scene-recast-video for remakes of an existing clip and multi-angle-monologue for speeches./ai-ugc-ad-videoOpen-source alternative to Arcads: AI UGC ads with an AI actor holding your real product. Casts a creator whose age matches the claim in the room where the problem happens, writes a phone-real script (a yapper, unboxing, street interview or in-car take) with every line in the prompt, locks the face, the voice and the product label across shots, prompts camera flaws and breaths so it doesn't look waxy, generates on Seedance 2.5, Kling 4 or Creatify through varg, and labels it. It never puts a first-person testimonial or result in an AI mouth (FTC rule) and never targets TikTok Shop presenters (AI voices banned there). Use when someone wants AI UGC ads, an AI creator or actor talking about their product, Arcads/Creatify/MakeUGC-style ads, or UGC without hiring creators. NOT for TikTok Shop affiliate videos (use tiktok-shop-video), product-only shots with no person (use product-photo-to-video), or the same characters across a multi-scene story (use varg-consistent-characters)./app-ui-mockupsTen animated UI mockups for product, launch and dev-tool videos, rebuilt as HTML instead of screen recordings: phone message thread, team chat channel, coding-agent terminal session, terminal command run, desktop terminal window, desktop notification banner, code editor walkthrough, 3D code slab, exploded UI panels and an amber CRT console. Presets give typing speed (12-20 characters per second with seeded gaps), reading holds from character count, entrance easing and scale, camera lead before each action, text size as a share of frame height, and theme colors from MIT theme sources, from Charm VHS, Screen Studio, Emil Kowalski, Apple HIG and Netflix timing rules. Use when someone wants a fake text or Slack conversation, a terminal or Claude Code demo, a code walkthrough or an exploded UI shot in a video. NOT for recording a real screen or for real people's messages presented as genuine./blender-code-filmMake a short 3D film in Blender written entirely in Python by an agent (Claude Fable 5.2, Claude Code, Codex): the shots and the look as data, a world built from code (procedural terrain, hundreds of instanced props, node materials, lights, haze), one camera per shot bound to timeline markers, a stills-first approval pass, a quarter-size draft, a contact-sheet audit, a fresh critic subagent, then the final render to PNG frames and an ffmpeg encode with an optional varg music bed. Includes a tested starter (scripts/film.py, a 9 s three-shot film) and the Blender 5.x traps that turn frames black. Use when someone asks for a Blender animation or film made with code or Python, "make a video in Blender with Claude", a 3D short, music video, toy commercial or product film rendered in Blender, a low-poly or storybook 3D film, or a remake of a viral Fable 5.2 Blender video. Not for previz that feeds Seedance (code-to-video-previz, varg-previz), three.js films in the browser (karpathy-3d-story, code-3d-explainer), recording a browser game (code-game-trailer), 2D motion graphics (hyperframes, kinetic-type-art) or AI-generated footage (varg-ai).Other plugins' skills for the same job