rocaille-shader

rocaille-shader is a skill for Claude Code from tdimino/claude-code-minoan. It costs 97 tokens per session (2,229 once invoked), scanned A, original, MIT.

A collection of WebGL shader patterns for animated visual effects such as swirling textures, liquid logos, depth-based parallax, and fluid motion over webpage content. WebGL is a browser technology for drawing graphics with the computer's graphics processor.

In plain words
What is it for?
Use it to make shader-based hero sections, hover-reactive depth effects, liquid logo animations, music visualizers, and fluid simulations in Three.js, WebGL, p5.js, or Shadertoy.
Why use it?
These effects are difficult to create with ordinary webpage styling alone. The skill provides several starting points and output formats for interactive visual backgrounds and hero sections.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to make shader-based hero sections, hover-reactive depth effects, liquid logo animations, music visualizers, and fluid simulations in Three.js, WebGL, p5.js, or Shadertoy.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tdimino/claude-code-minoan/rocaille-shader
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tdimino/claude-code-minoan --skill rocaille-shader
Clone the repo
git clone --depth 1 https://github.com/tdimino/claude-code-minoan

Made for: Claude Code.

Wrote 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.

agentmods badge for rocaille-shader

README.md
[![agentmods](https://agentmods.dev/badge/skills/tdimino/claude-code-minoan/rocaille-shader/github.svg)](https://agentmods.dev/skills/tdimino/claude-code-minoan/rocaille-shader)
Your own site
<a href="https://agentmods.dev/skills/tdimino/claude-code-minoan/rocaille-shader"><img src="https://agentmods.dev/badge/skills/tdimino/claude-code-minoan/rocaille-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.

agentmods 80×15 button for rocaille-shader

Your own site · 80×15
<a href="https://agentmods.dev/skills/tdimino/claude-code-minoan/rocaille-shader"><img src="https://agentmods.dev/badge/skills/tdimino/claude-code-minoan/rocaille-shader.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,229 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00097 $0.02229
Opus 5 $0.00048 $0.01115
Sonnet 5 $0.00019 $0.00446
Haiku 4.5 $0.00010 $0.00223

Measured 8d ago against content hash ebd5aad83776, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

rocaille-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.

The scan reads SKILL.md. This mod also ships 3 executable files (assets/templates/p5js.js, assets/templates/threejs.js, scripts/rocaille_generator.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/design-media/rocaille-shader/SKILL.md · 209 lines

How it starts

The opening of the file, as written. The whole thing — 209 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Rocaille Shader Skill

Generate organic, swirling light effects through progressive domain warping - a technique that creates increasingly complex patterns by iteratively displacing coordinates using sinusoidal functions.

Core Technique

The Rocaille effect builds complexity through repeated application of:

v += sin(v.yx + t) / amplitude;

Where:

  • v is a 2D coordinate vector
  • v.yx swaps x/y components creating characteristic swirl
  • t is time for animation
  • amplitude controls warp intensity (1.0 = strong, 4.0 = subtle)
  • Each iteration adds more organic complexity

Quick Reference

Warps Effect Use Case
1-2 Subtle wave Backgrounds, subtle motion
3-5 Organic flow Music visualizers, hero sections
6-9 Complex swirl Psychedelic effects, main attraction
10+ Chaotic Experimental, glitch art

Usage

To generate a shader, specify:

  1. Warp count (1-15): Number of displacement iterations
  2. Color mode: basic, rainbow, monochrome, neon, or custom RGB
  3. Output format: shadertoy, threejs, webgl, p5js

Generate Custom Shader

Run the generator script:

python3 scripts/rocaille_generator.py --warps 5 --color rainbow --format shadertoy

Options:

  • --warps N - Number of warp iterations (default: 5)
  • --color MODE - Color mode: basic, rainbow, monochrome, neon (default: rainbow)
  • --format FMT - Output format: shadertoy, threejs, webgl, p5js, all (default: shadertoy)
  • --amplitude N - Warp intensity divisor (default: 2.0)
  • --speed N - Animation speed multiplier (default: 1.0)
  • --demo - Generate interactive HTML demo page

Asset Templates

Pre-built templates available in assets/templates/:

Template Description
shadertoy.glsl Shadertoy-compatible fragment shader
threejs.js Three.js ShaderMaterial with uniforms
vanilla-webgl.html Pure WebGL2, no dependencies
p5js.js P5.js shader mode integration
interactive.html Full demo with controls
liquid-logo.glsl Shadertoy liquid-logo reference (reads iChannel0)
liquid-logo.html Standalone liquid-logo runtime (drop logo.png beside it, or pass ?logo=…)

Read the full file on GitHub · 209 lines

Changes

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.

  1. 8d ago First seen · 209 lines · 97 tokens per session scan A ebd5aad83776

Subscribe to this mod's changes

rocaille-shader is a skill published in the GitHub repository tdimino/claude-code-minoan (41 stars, last pushed yesterday), licensed MIT. It adds 97 tokens to every session and 2,229 once invoked, about $0.0005 per session on Opus 5. 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-09-03.

Related

Other skills, from other repositories

remotion-video

Create motion graphics and videos using Remotion (React) with audio sync, web fonts, and TailwindCSS. Triggers on: "create a Remotion video", "React video", "motion graphics", "branded video", "product demo video", "video with voiceover". NOT for math animations, use concept-to-video.

Mathews-Tom/armory · 72 tokens

webgl-neon-grid

A real-time synthwave scene — a perspective floor grid scrolling toward a banded retro sun under a neon starfield, all from one fragment shader. No textures. Rendered as a single self-contained index.html. Use when the brief asks for "synthwave", "outrun", "retro 80s", "neon grid", "perspective grid", "vaporwave", or…

nexu-io/open-design · 115 tokens

webgl-distortion-grain

A vertical gallery (Three.js) where planes bend with scroll velocity, ripple under the cursor via simplex noise, and carry a film grain.

nexu-io/open-design · 35 tokens

shaders-cursor-ripples

Add cursor-following fluid WebGPU distortion over an existing image with the Shaders library's ImageTexture and CursorRipples components. Use when a hero, gallery, or media panel needs a water-ripple mouse effect; when replacing a drifting CSS spotlight or flashlight reveal; or when a prompt says to borrow only the…

MengTo/Skills · 92 tokens

scroll-scrubbed-visual-sequence

Build reversible scroll-controlled visual transformations with a pinned or sticky stage, normalized progress, and video, image-sequence, canvas, SVG, or DOM renderers. Use for hero transformations, product assembly, interface state walkthroughs, object rotation, diagrams, or photo sequences that must move forward and…

MengTo/Skills · 73 tokens

unicorn-studio

Use when embedding and customizing Unicorn Studio interactive animations on the web (embed, responsive sizing, performance, layering with UI, fallbacks).

MengTo/Skills · 32 tokens