cursor-reveal-hero

cursor-reveal-hero is a skill for Codex from sergekostenchuk/mouse-trail-masking-reveal. It costs 80 tokens per session (1,058 once invoked), scanned A, a copy of cursor-reveal-hero, MIT.

A frontend effect in which a second image appears through a soft, fading trail that follows the cursor. It is built with canvas, the browser technology for drawing and combining images interactively.

In plain words
What is it for?
Creating or fixing interactive hero sections, adjusting the reveal radius and fade, adding tuning controls, and checking the result in a browser.
Why use it?
It provides a defined way to build, repair, tune, and test cursor-controlled image reveals when pointer handling, fading, resizing, or image loading goes wrong.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: $skill-name invocation.

Good fit Creating or fixing interactive hero sections, adjusting the reveal radius and fade, adding tuning controls, and checking the result in a browser.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sergekostenchuk/mouse-trail-masking-reveal/cursor-reveal-hero
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 sergekostenchuk/mouse-trail-masking-reveal --skill cursor-reveal-hero
Clone the repo
git clone --depth 1 https://github.com/sergekostenchuk/mouse-trail-masking-reveal

Made for: Codex.

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 cursor-reveal-hero

README.md
[![agentmods](https://agentmods.dev/badge/skills/sergekostenchuk/mouse-trail-masking-reveal/cursor-reveal-hero/github.svg)](https://agentmods.dev/skills/sergekostenchuk/mouse-trail-masking-reveal/cursor-reveal-hero)
Your own site
<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.

agentmods 80×15 button for cursor-reveal-hero

Your own site · 80×15
<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>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,058 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 92% copy Near-identical to another mod 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.00080 $0.01058
Opus 5 $0.00040 $0.00529
Sonnet 5 $0.00016 $0.00212
Haiku 4.5 $0.00008 $0.00106

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

Security

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.

The scan reads SKILL.md. This mod also ships 2 executable files (assets/vanilla-template/script.js, scripts/smoke-check-reveal.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

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.

skills/cursor-reveal-hero/SKILL.md · 80 lines

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

  1. If the user is unsure whether the two image layers match, use $image-layer-alignment-validator first.
  2. Identify the project stack. Prefer the existing framework and asset pipeline.
  3. For a vanilla implementation, copy assets/vanilla-template/ and replace the image paths.
  4. Keep the page focused on the actual reveal surface. Do not add marketing copy, hero text, or unrelated content unless requested.
  5. Implement the canvas architecture from references/canvas-compositing.md.
  6. Add direct controls for tuning: radius, feather, fade, strength, opacity, and momentum.
  7. Expose window.revealSettings and a clear-mask function in development builds when useful.
  8. Run scripts/smoke-check-reveal.mjs against the local URL when a browser target is available.
  9. 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: none on the scene/canvas, start drawing on pointerdown, call setPointerCapture defensively, and provide a touchstart/touchmove fallback 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.

Read the full file on GitHub · 80 lines

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. 12d ago First seen · 80 lines · 80 tokens per session scan A 4ef2d38af621

Subscribe to this mod's changes

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.

Related

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.

anymouschina/TapCanvas · 63 tokens

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…

oyi77/1ai-skills · 90 tokens

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…

chakra-ui/chakra-ui · 214 tokens

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.

Yeachan-Heo/oh-my-codex · 52 tokens

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.

microsoft/skills · 48 tokens

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…

MengTo/Skills · 66 tokens