Borrowing it
Nothing to install: this file belongs to loqwai/paper-cranes. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/loqwai/paper-cranes/main/.agents/skills/shader/SKILL.mdgit clone --depth 1 https://github.com/loqwai/paper-cranesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/loqwai/paper-cranes/shader)<a href="https://agentmods.dev/skills/loqwai/paper-cranes/shader"><img src="https://agentmods.dev/badge/skills/loqwai/paper-cranes/shader/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/loqwai/paper-cranes/shader"><img src="https://agentmods.dev/badge/skills/loqwai/paper-cranes/shader.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.03355 |
| Opus 5.5 | $0.00000 | $0.01342 |
| Sonnet 5.5 | $0.00000 | $0.00671 |
| Haiku 4.5 | $0.00000 | $0.00335 |
Grade A, and why
shader scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 188 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Shader
A shader Aaron puts on the wall reacts visibly to the music at phone-mic level, never shivers or strobes, looks good with every knob at 0 and the room silent, and holds 60 fps on a phone. This skill gets a shader there and proves it with numbers. "It compiles" is not proof.
Read references/taste.md before you design anything. It is his words, and they decide what ships.
Route elsewhere
| The ask | Use |
|---|---|
| Run a show, preflight, panic, setlist | /show (/clit-show, /sun-show for those shows) |
| Change the look while he plays the dials | /partner (it proposes; it does not edit his wall) |
| "Keep this", turn kept moments into forks | /keep |
| Swap a shader between knob mode and audio mode | /solo |
| Prove a page or feature in the browser | /verify-paper-cranes (this skill's gate builds on it) |
| Record a video of a shader | /record |
Look it up first
He has almost always discussed the shader before. Before writing code:
- Search mindmeld for the shader or series name (
cwd= the repo) and read the top sessions. - Read
journals/<name>*-cool-moments.mdand the shader's own<name>.md: what he praised, what he made you remove ("Removed effects (do not re-introduce)" sections exist for a reason). - Read the parent
.fragif this is a fork, and any controller its URL names.
Workflow
- Write the intent in one sentence: what the picture is, and what the music does to it. A place to explore beats a picture to look at (taste.md, "Form").
- Make the files.
shaders/wip/<series>/1.fragplus one doc,<series>.md, in the same folder. No author folder: notclaude/wip, notwip/claude. A fork is the next number (2.frag), never an edit in place: the parent stays as the fallback. Line 1 is#version 300 esif you use one, then metadata (// @fullscreen: true,// @mobile: true,// @tags: ...); a ShaderToy-stylemainImageneeds no#version. Put a// preset: <url>line with the params it needs (controller=,wavelet=true). - Lay the file out in blocks, in this order: header comment (intent, the audio map, what knob 0
means), knob map, conditioned inputs, the
#defineswap block for every audio term, structure, light, colour, output guard. The swap pattern (an audio#definewith its constant twin commented out under it) is in the repoAGENTS.md; keep it, it is how you isolate a bad term live. - Build the structure in silence first. Render with no audio until the resting picture is beautiful and always moving on its own clocks. Give it several independent shape axes, not just a zoom.
- Wire audio by channel (below), one domain at a time, 12 or more features in all, each a small verb on its own element. Start reactions at 3-5x what feels tasteful.
- Name the knobs on the line that uses them:
// K4 ZOOM (0 = home, 1 = 3x). Tooling reads the ALL-CAPS name (vite-plugins/shader-plugin.js). Knob 0 must look good; no knob value may break the look. Pick numbers that don't collide with the series you forked. - Pass the gate (below). Fix every FAIL; fix or explain every WARN.
- Document and commit. In
<series>.md: intent, the audio map and why, the knob map, and per iteration what changed and the numbers. Commit, runnpm run shader-dates, commitshader-dates.json, push, and give the preview linkhttps://<branch>.paper-cranes-visuals.pages.dev/?shader=wip/<series>/1&<preset params>.
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 188 lines · 0 tokens per session scan A d6aca5b5abb5
shader is a skill published in the GitHub repository loqwai/paper-cranes (7 stars, last pushed 6d ago), licensed BSD-3-Clause. It costs nothing until one of its globs matches a file; then it loads 3,355 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-26.
shader compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| shaderloqwai/paper-cranes | Skill | 7 | 6d ago | BSD-3-Clause | A | 0 | Claude Code, Codex |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 82k | today | MIT | A | 200 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | today | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 332k | 6d ago | MIT | A | 21 | Claude Code |