Shader GLSL skill
Write fragment shaders for motion, transitions and generative backgrounds.
Community · iArt| Author | iArt |
|---|---|
| Licence | MIT |
| Source | iart-ai/webgl-animation-skills · SKILL.md on GitHub |
| Project website | www.iart.ai/skills#webgl-animation-skills |
| Works in | Claude Code · Codex, Gemini CLI, Cursor, Copilot |
| Read from the source on |
shader-glsl: Write fragment shaders for motion, transitions and generative backgrounds.
The skill combines GLSL building blocks with Three.js uniform wiring.
From the skill's SKILL.md: # Shader / GLSL
What it does
- Normalize coordinates, build effects and inspect rendering.
What you get
- Shader code and optional standalone HTML.
When to use it
- Create a procedural screen effect.
When not to use it
- Assuming desktop complexity is safe on mobile.
What it needs
- WebGL browser and shader runtime; Three.js where used.
Files in the skill
| File or folder | What it is for |
|---|---|
SKILL.md | Entry-point instructions and supporting workflow. |
Licence as found in the repository on 2026-11-16: MIT.
Example prompts
Type one of these after installing; naming the skill makes sure it is used.
- Build an animated noise background.
- Create an SDF transition.
- Wire time and resolution uniforms.
How to install shader-glsl
Prepare the workflow
Copy references with the skill. Render and inspect the output; copying instructions does not provision a GPU context or install a renderer.
A skill is a folder with a SKILL.md file. You install it once; the agent reads its short description at the start of each session and loads the full instructions only when a request matches. Pick the place you use:
Claude Code: copy the folder into your skills folder
Put the skill's folder in ~/.claude/skills/ to use it in every project on this computer, or in .claude/skills/ inside a repository to share it with everyone who works there (commit it).
git clone --depth 1 https://github.com/iart-ai/webgl-animation-skills.git
mkdir -p ~/.claude/skills
cp -R webgl-animation-skills/skills/shader-glsl ~/.claude/skills/Claude Code notices new or changed skills in these folders during the session. If the skills folder did not exist when the session started, run /reload-skills once. Then type /shader-glsl or just describe the task.
On Windows, run the commands in Git Bash or WSL, or copy the folder into the same place with File Explorer.
Codex, Gemini CLI, Cursor and GitHub Copilot
These agents read the same SKILL.md folders. The one folder all four accept inside a project is .agents/skills/, so this copies the skill there:
git clone --depth 1 https://github.com/iart-ai/webgl-animation-skills.git
mkdir -p .agents/skills
cp -R webgl-animation-skills/skills/shader-glsl .agents/skills/| Agent | Project folder | Your user folder | Notes |
|---|---|---|---|
| OpenAI Codex | .agents/skills/ | ~/.agents/skills/ | Type $ or run /skills to pick a skill; Codex also chooses one when your task matches. |
| Gemini CLI | .agents/skills/.gemini/skills/ | ~/.agents/skills/~/.gemini/skills/ | Or install from Git with gemini skills install <git URL> --path <folder> --consent. Google replaced Gemini CLI with Antigravity CLI for free-tier and Google One users on 18 June 2026; Antigravity uses .agents/skills/ in a project and ~/.gemini/config/skills/ for you. |
| Cursor | .agents/skills/.cursor/skills/ | ~/.agents/skills/~/.cursor/skills/ | Type / in Agent chat to pick a skill. Cursor also reads Claude Code's .claude/skills/ folders. |
| GitHub Copilot | .github/skills/.agents/skills/.claude/skills/ | ~/.copilot/skills/~/.agents/skills/ | Works in Copilot CLI, the cloud agent, and agent mode in VS Code, Visual Studio and JetBrains (IDE support depends on the version). Or run gh skill install OWNER/REPOSITORY SKILL (public preview, GitHub CLI 2.90.0 or later). |
Sources for these steps
Checked against each vendor's documentation on 2026-11-14:
Per-pixel work
Fragment shaders run across pixels; expensive loops and precision choices still affect mobile performance.
Verify the actual frame
Inspect resolution, animation, edge quality and uniform updates in the target renderer.
Questions about shader-glsl
Does copying the skill install its tools?
No. Install and configure external requirements separately.
Is full cloud execution verified here?
No. The page offers source-based local-agent guidance, not a tested cloud runtime.
Does it cover SDF shapes?
Yes, alongside noise, domain warping and transitions.
Should coordinates ignore aspect ratio?
No. Aspect-correct them before building shapes.
More AI skills
Related skills
Three.js Bloom skill
Community · Scott SunImplement HDR bloom with explicit exposure and material ownership.Three.js Shaders skill
Community · CloudAI-XGLSL uniforms, shader chunks, custom effects and TSL equivalents.Awwwards-Style 3D skill
Community · awwwards-3d contributorsBuild cinematic scroll-driven 3D websites with a pinned stack.Three.js Fundamentals skill
Community · CloudAI-XScenes, cameras, renderer setup, transforms and cleanup.Three.js Geometry skill
Community · CloudAI-XBuilt-in shapes, BufferGeometry, instancing, batching and point clouds.Three.js Materials skill
Community · CloudAI-XUnlit, shaded, PBR, transparent and node-based materials.