
Description
add-shader-cursor-trail is an agent skill from the mengto/skills repository, listed on skills.sh. It adds a WebGPU mouse effect to a web page: a white, twinkling, halftone cursor trail driven by a ChromaFlow shader and masked through a DotGrid. The skill asks the agent to add the effect as progressive enhancement, so the section's semantic content, images, controls and static first frame stay intact. It shows the agent how to inspect the framework, rendering mode, motion stack, layer order, reduced-motion rules and package manager first, and it forbids adding another smooth-scroll engine or replacing the section's content. The shader module is loaded only when the visitor is eligible, through a lightweight capability check, so ineligible visitors never download it. The layer sits behind the content as a full-bleed, aria-hidden canvas, and the effect starts only when WebGPU, a fine hover pointer, normal motion preferences, document visibility, window focus and section intersection all allow it. It stops and unmounts when the section leaves the view, and it is hidden for reduced motion, reduced transparency, coarse pointers and forced colours. The skill is listed with about 1.3K installs on skills.sh, and all three security audits show Pass.…
Highlights
- WebGPU halftone cursor trail
- Progressive enhancement with a static fallback
- Gated by pointer, motion and visibility
- Respects reduced-motion settings
- Unmounts when the section leaves view
Ratings & Reviews
No ratings yet
Be the first to rate add-shader-cursor-trail.
People also visit

shaders-cursor-ripples
Add cursor-following fluid WebGPU distortion over an existing image
add-shader-cursor-trail FAQ
What does add-shader-cursor-trail do?
It adds a WebGPU cursor trail effect to a section of a web page, behind the content, as a progressive enhancement.
How do I install it?
Run: npx skills add https://github.com/mengto/skills --skill add-shader-cursor-trail
Does it slow down the page for everyone?
No. The skill keeps a light capability check separate from the heavy shader module, so ineligible visitors do not download the shader bundle.
Which frameworks does it support?
React and Next.js with ready-made files, and the Shaders subpaths for Vue, Svelte and Solid, according to the skill.
What happens for users who prefer reduced motion?
The layer is hidden for reduced motion, reduced transparency, coarse or no-hover pointers, and forced colours.
Has it been checked for security?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best add-shader-cursor-trail alternatives?
Popular alternatives to add-shader-cursor-trail include shaders-cursor-ripples, vfx-text-cursor and webgl-laser. See all add-shader-cursor-trail alternatives







