micro-interactions

micro-interactions is a skill for Claude Code from dembrandt/dembrandt-skills. It costs 28 tokens per session (2,431 once invoked), scanned A, original, MIT.

A design guide for small interface animations and responses, such as a checkbox drawing its checkmark or a toggle easing into place.

In plain words
What is it for?
Use it when designing buttons, toggles, checkboxes, success states, reveals, and other brief interactions in a user interface.
Why use it?
It helps interface actions feel clear without adding distracting or unnecessary motion. The guidance focuses on animations that confirm actions, show progress, or reveal information.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dembrandt plugin — 45 skills, 1 MCP server shipped together

Good fit Use it when designing buttons, toggles, checkboxes, success states, reveals, and other brief interactions in a user interface.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dembrandt/dembrandt-skills/micro-interactions
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 dembrandt/dembrandt-skills --skill micro-interactions
Clone the repo
git clone --depth 1 https://github.com/dembrandt/dembrandt-skills

Made for: Claude Code.

Or install dembrandt, the plugin that ships this one along with the rest of its 45 skills, 1 MCP server.

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 micro-interactions

README.md
[![agentmods](https://agentmods.dev/badge/skills/dembrandt/dembrandt-skills/micro-interactions/github.svg)](https://agentmods.dev/skills/dembrandt/dembrandt-skills/micro-interactions)
Your own site
<a href="https://agentmods.dev/skills/dembrandt/dembrandt-skills/micro-interactions"><img src="https://agentmods.dev/badge/skills/dembrandt/dembrandt-skills/micro-interactions/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 micro-interactions

Your own site · 80×15
<a href="https://agentmods.dev/skills/dembrandt/dembrandt-skills/micro-interactions"><img src="https://agentmods.dev/badge/skills/dembrandt/dembrandt-skills/micro-interactions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,431 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. Third-party audits
  • Socket pass 2 Oct 2026
  • Snyk pass 2 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00028 $0.02431
Opus 5.5 $0.00011 $0.00972
Sonnet 5.5 $0.00006 $0.00486
Haiku 4.5 $0.00003 $0.00243

Measured 25d ago against content hash 0594dc9aa2da, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

micro-interactions 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 25d 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.

skills/micro-interactions/SKILL.md · 266 lines

How it starts

The opening of the file, as written. The whole thing — 266 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Micro-Interactions

A micro-interaction is a moment. A checkbox that draws its checkmark. A heart that pulses when liked. A toggle that eases into place with a little overshoot. A confetti burst on completing a goal. These moments are small in duration — 200–600ms — but they communicate that the product was made by people who cared.

The reference is always the natural world. Nothing in nature snaps instantly. Everything has weight, momentum, and a moment of settling.


What Makes a Good Micro-Interaction

A micro-interaction earns its place when it:

  1. Confirms an action — makes the result of a click, tap, or input unmistakably clear
  2. Rewards a milestone — celebrates something the user worked toward
  3. Reveals something — unfolds information in a way that aids understanding
  4. Adds texture — makes an otherwise flat moment feel physical and real

It fails when it:

  • Delays the user (animation blocks the next action)
  • Repeats too often (becomes noise, not signal)
  • Exists only for decoration (no information is conveyed)

Natural World as Reference

Physical objects have inertia, springiness, and weight. UI that borrows these properties feels intuitive because it matches expectations built over a lifetime.

Natural behaviour UI equivalent
A door swinging to rest Toggle that overshoots slightly before settling
Water dripping Staggered list item reveals
A rubber band snapping back Pull-to-refresh bounce
A leaf falling Gentle fade + drift downward on dismiss
A bell ringing Icon that briefly oscillates (shakes) on trigger
A stamp pressing paper Inner element shift (e.g. icon nudge) without shifting button bounds

The motion should feel inevitable — as if the element has physical properties and cannot behave any other way.


Patterns

Animated Icons

Icons that animate on trigger communicate state change more vividly than a static swap.

Checkmark draw-on: A checkmark that draws itself from start to end point on completion.

@keyframes check-draw {
  from { stroke-dashoffset: 20; }
  to   { stroke-dashoffset: 0; }
}
.checkmark path {
  stroke-dasharray: 20;
  animation: check-draw 300ms ease-out forwards;
}

Read the full file on GitHub · 266 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. 25d ago Changed · -42 tokens per session 0594dc9aa2da
  2. 1mo ago First seen · 266 lines · 70 tokens per session scan A d53cd07b5dd0

Subscribe to this mod's changes

micro-interactions is a skill published in the GitHub repository dembrandt/dembrandt-skills (169 stars, last pushed 5d ago), licensed MIT. It adds 28 tokens to every session and 2,431 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

indian-gov-web-ui

A set of design and accessibility rules for Indian government websites, portals, and administrative panels, including required standards such as GIGW and WCAG.

Yashraj00700/indian-gov-ui-skills · 95 tokens

ux4g-design-system

Use when building or reviewing UI with UX4G — India's official government design system (ux4g.gov.in, cdn.ux4g.gov.in, ux4g-web-components). Covers the v3.0.18 token API, the 52 components, install paths for HTML/React/Angular/Flutter, and the interop hazards. Triggers include "UX4G", "ux4g-web-components"…

Yashraj00700/indian-gov-ui-skills · 147 tokens

design-doctrine

The house rules for ANY design or UI work - the verification protocol (run the gate, never claim a number), the absolute no-emoji rule, token by intent, one shared theme, the eight states, one thing leads, and output completeness. Load this FIRST whenever building, reviewing, or theming a screen, component, or token…

plugin87/ux-ui-agent-skills · 92 tokens

image-to-code

Turn a reference image, screenshot, or mockup into token-driven, accessible code. Infer the design system from the reference (palette, type scale, spacing, radius, layout archetype), map it to the 3-tier tokens, rebuild it, then verify with the kit's gates. Use when the user provides a design/screenshot and wants…

plugin87/ux-ui-agent-skills · 77 tokens

design-dna

Extract, define, and apply design DNA across three dimensions: design system (tokens), design style (qualitative feel), and visual effects (Canvas, WebGL, 3D, particles, shaders, scroll effects, etc.). Use this skill when: (1) a user wants to see the full 3-dimension design structure/schema, (2) a user provides…

zanwei/design-dna · 192 tokens

desktop-principles

Desktop-specific UX principles - hover states, pointer precision, keyboard shortcuts, multi-window, focus management. Covers macOS, Windows, Linux, web desktop.

AThevon/genjutsu · 36 tokens