# asr-keyword-glow

asr-keyword-glow — a rule that makes words light up and scale up as they get "spoken", driven by per-word timestamps. For promo clips and narrated videos where you need to pace the emphasis.

- rule · `type=rule` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline · ★ 78316 repo stars
- Author: calesthio
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/calesthio/OpenMontage/tree/HEAD/.agents/skills/hyperframes-animation/rules/asr-keyword-glow.md
- Updated: 2026-10-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/rules/asr-keyword-glow

## What it does

Each word carries `start` and `end` timestamps. Every frame computes an attack–sustain–release envelope: zero before start, a linear ramp to peak, hold at one, then decay to a rest level of 0.25 with a faint lingering glow. The envelope feeds both the `textShadow` blur radius and the word scale, so a stronger blur and bigger scale mean a louder visual accent.

The rule lays out the HTML with one span per word, CSS for the scene and phrase, and a GSAP timeline with a single driver object spanning the whole scene duration. The brand word gets a `.brand` class, wider letter spacing, and a longer emphasis window.

Variations include a sine pulse during sustain, a color lerp at the peak, a karaoke mode that dims inactive words, and a 3D pop-out via `translateZ`. The rule recommends karaoke for short 5–10 word phrases because the subtle default reads too faint on video. You need GSAP 3.14.2 from a CDN or the timeline will not build.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/rules/asr-keyword-glow.md` — The paths frontmatter field limits the files

### Codex

**AGENTS.md**
- Codex reads AGENTS.md: paste the rule text there

### Cursor

**Manually: put the files in place**
- File: `.cursor/rules/asr-keyword-glow.mdc` — Frontmatter: description, globs, alwaysApply

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/instructions/asr-keyword-glow.instructions.md` — The applyTo field sets which files it applies to

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/rules/asr-keyword-glow.md`

### Cline

**Manually: put the files in place**
- File: `.clinerules/asr-keyword-glow.md`

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/calesthio/OpenMontage/tree/HEAD/.agents/skills/hyperframes-animation/rules/asr-keyword-glow.md

## When to use it
- highlight a word exactly when the voiceover hits it
- pace emphasis in a promo clip without real audio
- keep a breadcrumb of recently spoken words via rest glow
- build karaoke-style highlighting for a short phrase

## Example prompts
- Build a scene with the asr-keyword-glow rule: six words, brand word last
- Highlight the words in this HTML using my voiceover timings, karaoke variant
- Set up the GSAP timeline with the envelope for this phrase and add the peak color shift

## Similar
- [hyperframes](https://affpapa.org/en/nevibecode/skills/heygen-com-hyperframes.md) — skill · 1600000 installs
- [video-producer](https://affpapa.org/en/nevibecode/skills/notedit-video-producer.md) — skill · 162 installs
- [remotion-to-hyperframes](https://affpapa.org/en/nevibecode/skills/remotion-to-hyperframes.md) — skill · 651200 installs
- [cinetic](https://affpapa.org/en/nevibecode/skills/cinetic.md) — skill · 2100 installs
- [launch-video](https://affpapa.org/en/nevibecode/skills/iart-ai-launch-video.md) — skill · 1900 installs
- [beam-glow-states](https://affpapa.org/en/nevibecode/skills/beam-glow-states.md) — skill · 1700 installs

From the same set: [calesthio/openmontage](https://affpapa.org/en/nevibecode/by/calesthio/openmontage.md) — 101 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
