Shader Skills — GLSL & Shadertoy for AI coding agents

Shader Skills helps coding agents write, debug and optimize procedural GLSL for Shadertoy and WebGL2. Start with an editable scene, change the lighting or geometry, and bundle it into a single shader. The skill includes 197 distinct GLSL function names across 21 modules, a dependency bundler and a checker. It works with Claude Code, Codex, Cursor, GitHub Copilot and Gemini CLI.
The full repository includes 27 interactive shader studies and two WebGPU worlds. Use the studies to isolate an effect, then explore how a swimmable kelp forest or a streamed landscape handles visibility, lighting and frame time. Offline shader viewer · WebGPU worlds · Performance guide
npx skills add gokayfem/shader-skills
Choose shader-art-coding and your coding agent in the installer. Then ask:
Create a Shadertoy shader of an alpine valley with snow, a winding river and atmospheric depth.
Use the shader-art-coding skill, bundle the result into one file, and check it.
Install options · Shader gallery · Usage ·
GLSL library ·
Video-to-shader prompt ·
Releases · Contributing
Explore the shader studies

Open the self-contained shader viewer from a local checkout, or download the HTML using GitHub’s Download raw file button. It runs offline in a WebGL2 browser. Explore 24 single-pass shaders and three multipass examples. Pause motion, inspect diagnostic views, or switch between fixed resolution and adaptive 30 or 60 fps targets.
 |  |  |
|---|
| Morpho. Change the optical period or watch the left and right wings flash as they tilt. | Comb jelly. Follow the light along eight rows of beating plates. Turn off the side light to isolate the transparent body. | Accretion disk. Lower the camera toward the disk and watch its far side arc over the shadow. Toggle light-path caching. |
 |  |  |
| Streamline press. Paper grain follows a vector field around a vermilion cylinder. Change its radius to move the stagnation points. | Reaction–diffusion. Drag to seed a two-channel feedback simulation. Change the feed and removal rates to grow a different pattern. | Cached alpine valley. Move the camera over a retained elevation texture. Three-camera comparison |
The research studies guide links the original papers, explains the approximations and gives a second shot to try for each technique.
Dive, landscape and lighting studies
 |  |  |
|---|
| Kelp passage · current and sun shafts | Sponge shelf · cavities and fluorescence | Ribbed wreck · orbit and dive depth |
 |  |  |
| Tide observatory · hour, clouds, moon phase | Cloudline forest · wind and projected detail | Pigment chamber · lamp position and wall bounce |
Compare the chamber to its 80-patch feedback solver in the offline viewer. The world rendering guide gives a diagnostic experiment for each scene.