Attention Pulse
Designattention-pulseAttention Pulse is an Agent Skill for design published in the nexu-io/motion-anything repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
A soft expanding ring that draws the eye to ONE element — a primary CTA, an unread badge, a new dot. Honors prefers-reduced-motion. One per screen; never use more than one at once or as pure decoration (attention splits and nothing wins).
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/nexu-io/motion-anything/blob/HEAD/recipes/web/attention-pulse/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/attention-pulse, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
attention-pulse
A soft expanding ring to draw the eye to one element. Part of
motion-anything; obeys MOTION-SPEC.md.
When to use it
- A single primary CTA, an unread/new badge, or a notification dot.
When NOT to use it (restraint)
- More than one pulsing element at once. As decoration with no real call to act.
How to apply
- Copy
attention-pulse.cssand link it. - Add
data-pulseto the element (set--pulse-colorto match your accent).
Accessibility & performance
prefers-reduced-motion: no pulse. Transform/opacity only (GPU-safe).