webgl

webgl is a skill for Claude Code from sukirman1901/frontend-expert. It costs 64 tokens per session (431 once invoked), scanned A, original, MIT.

A skill for building animated fullscreen WebGL backgrounds with Plasma Studio, using fragment shaders on a canvas. It covers gradients, dithering, raymarching, resizing, cleanup, and reduced-motion support.

In plain words
What is it for?
Use it for WebGL or shader backgrounds, animated canvas effects, Plasma Studio exports, and landing-page visual effects.
Why use it?
It provides a defined approach for shader backgrounds and avoids choosing a 3D scene framework when only a fullscreen effect is needed.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the frontend-expert plugin — 25 skills, 5 commands, 3 agents, 2 hooks shipped together

Good fit Use it for WebGL or shader backgrounds, animated canvas effects, Plasma Studio…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sukirman1901/frontend-expert/webgl
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 sukirman1901/frontend-expert --skill webgl
Clone the repo
git clone --depth 1 https://github.com/sukirman1901/frontend-expert

Made for: Claude Code.

Or install frontend-expert, the plugin that ships this one along with the rest of its 25 skills, 5 commands, 3 agents, 2 hooks.

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 webgl

README.md
[![agentmods](https://agentmods.dev/badge/skills/sukirman1901/frontend-expert/webgl.svg)](https://agentmods.dev/skills/sukirman1901/frontend-expert/webgl)
Your own site
<a href="https://agentmods.dev/skills/sukirman1901/frontend-expert/webgl"><img src="https://agentmods.dev/badge/skills/sukirman1901/frontend-expert/webgl.svg" alt="Measured on agentmods" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 431 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.
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.00064 $0.00431
Opus 5 $0.00032 $0.00216
Sonnet 5 $0.00013 $0.00086
Haiku 4.5 $0.00006 $0.00043

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

Security

Grade A, and why

webgl 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 6d 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.

skills/webgl/SKILL.md · 47 lines

What it actually says

WebGL (Plasma Studio)

Overview

Default path for animated fullscreen backgrounds: Plasma Studio — pure WebGL fragment shaders, not Three.js/R3F.

When to use

  • Shader / plasma / WebGL background
  • Export from Studio into a product canvas
  • Landing hero FX with Plasma.init

When to skip

  • Mesh/GLTF/3D scene graph → Three.js (see depth note in reference)
  • Static CSS gradient only

Workflow

  1. Stop — do not scaffold Three.js/R3F for a fullscreen background unless the user explicitly wants a 3D scene graph
  2. Prefer Studio tune → export config over rewriting GLSL
  3. Drop in shader-source + plasma-enginePlasma.init(id, config)
  4. Call destroy() on route unmount; honor prefers-reduced-motion
  5. UI chrome uses tokens via the token decision tree (references/token-preset-scoring.md) — do not auto-force plasma-landing just because WebGL is on; use plasma-landing only for Plasma brand / hard-gate / explicit --token
  6. Note WebGL line in Conventions check (references/compliance-gates.md)

Checklist

  • Engine choice clear (Gradient / Dither / Raymarch)
  • Canvas sized by parent; resize OK
  • Lifecycle cleanup (destroy)
  • Text contrast not relying on shader alone
  • Reduced-motion fallback considered

Depth

Full guide: references/webgl.md.

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. 6d ago First seen · 47 lines · 64 tokens per session scan A cce0e93e1250

Subscribe to this mod's changes

webgl is a skill published in the GitHub repository sukirman1901/frontend-expert (10 stars, last pushed 3d ago), licensed MIT. It adds 64 tokens to every session and 431 once invoked, about $0.0003 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-08-31.

Related

Other skills, from other repositories

p5js

Use when users request: p5.js sketches, creative coding, generative art, interactive visualizations, canvas animations, browser-based visual art, data viz, shader effects, or any p5.js project.

NousResearch/hermes-agent · 20 tokens

webgl-liquid-metal

A real-time liquid-metal shader — a domain-warped noise field shaded as molten chrome, with a sweeping specular highlight over an iridescent thin-film (cosine-palette) sheen. No textures. Rendered as a single self-contained index.html. Use when the brief asks for "liquid metal", "molten chrome", "iridescent"…

nexu-io/open-design · 121 tokens

webgl-particle-galaxy

A real-time particle galaxy — tens of thousands of additive-blended GPU points spiraling around a bright core, their orbits solved entirely in the vertex shader (from glVertexID), so the whole cloud draws in one call. Rendered as a single self-contained index.html. Use when the brief asks for a "particle field"…

nexu-io/open-design · 126 tokens

webgl-aurora-veil

A self-contained WebGL2 hero: layered aurora light curtains warped over a night sky scattered with stars; move the cursor to sway the veil.

nexu-io/open-design · 38 tokens

webgl-horizontal-parallax

A horizontal-scroll WebGL gallery (Three.js): frames glide sideways with lerp smoothing and each image parallaxes its texture (UV shift) by its position in the viewport.

nexu-io/open-design · 41 tokens

remotion-to-hyperframes

Port an existing Remotion (React) composition's source to HyperFrames HTML. Use ONLY on an explicit ask to port/convert/migrate/translate a Remotion source — one-way, Remotion-only. A passing Remotion mention, reference-only code, or "make something like my Remotion video" is a fresh build (/general-video). Unclear →…

heygen-com/hyperframes · 84 tokens