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.
npx skills add sergekostenchuk/mouse-trail-masking-reveal --skill cursor-reveal-herogit clone --depth 1 https://github.com/sergekostenchuk/mouse-trail-masking-revealWrote 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.
[](https://agentmods.dev/skills/sergekostenchuk/mouse-trail-masking-reveal/cursor-reveal-hero)<a href="https://agentmods.dev/skills/sergekostenchuk/mouse-trail-masking-reveal/cursor-reveal-hero"><img src="https://agentmods.dev/badge/skills/sergekostenchuk/mouse-trail-masking-reveal/cursor-reveal-hero/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sergekostenchuk/mouse-trail-masking-reveal/cursor-reveal-hero"><img src="https://agentmods.dev/badge/skills/sergekostenchuk/mouse-trail-masking-reveal/cursor-reveal-hero.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00080 | $0.01058 |
| Opus 5 | $0.00040 | $0.00529 |
| Sonnet 5 | $0.00016 | $0.00212 |
| Haiku 4.5 | $0.00008 | $0.00106 |
Grade A, and why
cursor-reveal-hero 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 12d 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.
This is a copy
92% identical to cursor-reveal-hero — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cursor Reveal Hero
Use this skill to create or fix a soft cursor-trail reveal effect where a base image is always visible and a reveal image appears only through a fading mask.
Core formula:
final = baseImage + revealImage * softCursorTrailMask
Modes
build: create the effect from scratch in an existing app or from the vanilla template.repair: diagnose broken image loading, mask compositing, pointer handling, sliders, fade, resize, or cache behavior.tune: adjust radius, feather, fade, strength, opacity, and momentum for the intended feel.validate: run browser/canvas checks and inspect screenshots.
Workflow
- If the user is unsure whether the two image layers match, use
$image-layer-alignment-validatorfirst. - Identify the project stack. Prefer the existing framework and asset pipeline.
- For a vanilla implementation, copy
assets/vanilla-template/and replace the image paths. - Keep the page focused on the actual reveal surface. Do not add marketing copy, hero text, or unrelated content unless requested.
- Implement the canvas architecture from
references/canvas-compositing.md. - Add direct controls for tuning: radius, feather, fade, strength, opacity, and momentum.
- Expose
window.revealSettingsand a clear-mask function in development builds when useful. - Run
scripts/smoke-check-reveal.mjsagainst the local URL when a browser target is available. - Report exact changed files, current tuning values, and validation outcome.
Implementation Rules
- Use one visible canvas and offscreen canvases for mask and reveal layers.
- Render at device-pixel-ratio scale while keeping CSS size stable.
- Use pointer events and handle mouse, touch, and pen input.
- For mobile reveal surfaces, set
touch-action: noneon the scene/canvas, start drawing onpointerdown, callsetPointerCapturedefensively, and provide atouchstart/touchmovefallback for environments without Pointer Events. - Use a soft radial gradient, not a hard hover circle.
- Fade old mask content with
destination-out. - Apply the mask to the reveal layer with
destination-in. - Draw the base layer every frame before drawing the masked reveal layer.
- Clear the accumulated mask when control values change so old trails do not confuse tuning.
- Bump cache-buster query strings or hard refresh when static files are cached.
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 221 B
- assets/vanilla-template/index.html 2.0 KB
- assets/vanilla-template/script.js 7.5 KB runs code
- assets/vanilla-template/styles.css 3.1 KB
- references/browser-validation.md 1.4 KB
- references/canvas-compositing.md 1.9 KB
- references/tuning-and-failure-modes.md 1.9 KB
- scripts/smoke-check-reveal.mjs 6.2 KB runs code
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.
- 12d ago First seen · 80 lines · 80 tokens per session scan A 4ef2d38af621
cursor-reveal-hero is a skill published in the GitHub repository sergekostenchuk/mouse-trail-masking-reveal (2 stars, last pushed 2mo ago), licensed MIT. It adds 80 tokens to every session and 1,058 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to cursor-reveal-hero, differing in 3 lines, and is treated as a copy.
Other skills, from other repositories
aesthetic-audit
A commercial visual and user-experience review workflow for websites, product pages, landing pages, and visual assets. It examines clarity, hierarchy, spacing, typography, color, trust signals, conversion paths, and mobile behavior.
ui-styling
Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns…
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
frontend-ui-dark-ts
Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.
reveal-hover-effect
Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…