Shader Skills

Agent skill by gokayfem · for Claude Code, Codex, Cursor, GitHub Copilot and Gemini CLI

A free MIT agent skill for writing and debugging GLSL and Shadertoy shaders, with 186 tested GLSL functions, a bundler, a checker and 11 example shaders for SDF raymarching, terrain, water, clouds and procedural textures.

  • Engine: Shadertoy
  • Engine: WebGL
  • 5 agents
  • License: MIT
  • Free
  • 489 stars

Install

npx skills add gokayfem/shader-skills

Run it in a terminal, then start a new agent session so the skill loads. Read the repo's README and scripts before you install: skills run with your agent's permissions.

What it does

Shader Skills, by gokayfem, is an agent skill called shader-art-coding for creating, debugging and refining procedural GLSL shaders. Instead of having the agent recall formulas from memory, it gives it a library of 186 GLSL functions in 20 modules covering hashing, noise, 2D and 3D signed distance functions, raymarching, PBR shading, water, atmosphere, tone mapping and debug views.

The agent calls functions by name, and a Python bundler pulls in their dependencies to produce one self-contained shader file. A checker flags common WebGL mistakes and compiles the result when glslangValidator is installed. The README says the SDFs and noise functions are checked with GPU property tests, and it includes a guide to using noise in game cases such as terrain and textures.

Output targets Shadertoy, WebGL2 and GLSL ES 3.00. HLSL and Unity ShaderLab are outside its scope. It installs as a Claude Code plugin, through the skills CLI for other agents, as a Gemini CLI extension or by copying the folder.

Features

  • 186 GLSL functions in 20 modules
  • Bundler builds one self-contained shader file
  • Checker catches WebGL errors and compiles with glslang
  • 11 example shaders: terrain, ocean, clouds and more
  • Noise guide with game use cases

Limits

  • GLSL ES 3.00 and Shadertoy only, no HLSL or Unity ShaderLab
  • Compile checks need glslangValidator installed
  • The skills CLI install needs Node.js 22.20 or later

Guides that cover Shader Skills

Browse all 84 agent skills