microinteractions

microinteractions is a skill for Claude Code from fernando-bertholdo/4-successful-AI-life. It costs 127 tokens per session (3,998 once invoked), scanned A, original, MIT.

A framework for designing the small interactive moments in a product, such as button feedback, toggles, password fields, loading indicators, and like buttons.

In plain words
What is it for?
Use it when designing or reviewing loading states, input feedback, animations, settings changes, syncing, pull-to-refresh, and other single-purpose interactions. It also provides a 0-to-10 review score.
Why use it?
It helps make each interaction clear and predictable by defining what starts it, what happens, what feedback appears, and how it behaves over time.

Skill for Claude Code

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

Part of the ui-excellence plugin — 13 skills shipped together

Good fit Use it when designing or reviewing loading states, input feedback, animations, settings changes, syncing, pull-to-refresh, and other single-purpose interactions. It also provides a 0-to-10 review score.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fernando-bertholdo/4-successful-ai-life/microinteractions
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 fernando-bertholdo/4-successful-AI-life --skill microinteractions
Clone the repo
git clone --depth 1 https://github.com/fernando-bertholdo/4-successful-AI-life

Made for: Claude Code.

Or install ui-excellence, the plugin that ships this one along with the rest of its 13 skills.

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 microinteractions

README.md
[![agentmods](https://agentmods.dev/badge/skills/fernando-bertholdo/4-successful-ai-life/microinteractions/github.svg)](https://agentmods.dev/skills/fernando-bertholdo/4-successful-ai-life/microinteractions)
Your own site
<a href="https://agentmods.dev/skills/fernando-bertholdo/4-successful-ai-life/microinteractions"><img src="https://agentmods.dev/badge/skills/fernando-bertholdo/4-successful-ai-life/microinteractions/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 microinteractions

Your own site · 80×15
<a href="https://agentmods.dev/skills/fernando-bertholdo/4-successful-ai-life/microinteractions"><img src="https://agentmods.dev/badge/skills/fernando-bertholdo/4-successful-ai-life/microinteractions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,998 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 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.00127 $0.03998
Opus 5 $0.00063 $0.01999
Sonnet 5 $0.00025 $0.00800
Haiku 4.5 $0.00013 $0.00400

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

Security

Grade A, and why

microinteractions 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.

plugins/ui-excellence/skills/interaction/microinteractions/SKILL.md · 246 lines

How it starts

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

Microinteractions Framework

A systematic approach to designing the tiny, contained product moments that users interact with every day -- toggles, password fields, loading indicators, pull-to-refresh, like buttons. Based on Dan Saffer's four-part structure (Trigger, Rules, Feedback, Loops & Modes), this framework turns invisible details into the polish that separates forgettable products from beloved ones.

Core Principle

The difference between a product you tolerate and a product you love is almost always in the microinteractions. A microinteraction is a contained product moment built around a single use case: changing a setting, syncing data, setting an alarm, picking a password. They are so small that users rarely think about them consciously -- but they feel them. Every microinteraction follows the same four-part structure: a Trigger initiates it, Rules determine what happens, Feedback shows what is happening, and Loops & Modes define its long-term behavior.

Scoring

Goal: 10/10. When reviewing or creating microinteractions, rate them 0-10 based on adherence to the principles below. A 10/10 means every interactive moment has a deliberate trigger, clear rules, immediate feedback, and thoughtful loop/mode behavior. Lower scores indicate gaps to address. Always provide the current score and specific improvements needed to reach 10/10.

The Microinteraction Structure

Six areas of focus for designing world-class microinteractions:

1. Triggers

Core concept: The trigger is what initiates a microinteraction. It can be manual (user-initiated -- a tap, click, swipe, voice command) or system-initiated (a condition is met -- time, location, incoming data, error state). The trigger is the front door of every microinteraction.

Why it works: Without a clear trigger, users cannot discover or initiate the interaction. Without a system trigger, the product cannot respond to changing conditions. Well-designed triggers make functionality discoverable and set accurate expectations for what will happen next.

Read the full file on GitHub · 246 lines

Files

What ships with it

6 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.

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 · 246 lines · 127 tokens per session scan A 15b34a08ee96

Subscribe to this mod's changes

microinteractions is a skill published in the GitHub repository fernando-bertholdo/4-successful-AI-life (2 stars, last pushed yesterday), licensed MIT. It adds 127 tokens to every session and 3,998 once invoked, about $0.0006 per session on Opus 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-31.

Related

Other skills, from other repositories

ux-spec

Generates UI/UX specifications with wireframes and design system. Creates UXSPEC.md and DESIGNSYSTEM.md from PRD and Architecture specs. Use when designing app interface and creating design system.

rshankras/claude-code-apple-skills · 41 tokens

liquid-glass

Implement Liquid Glass design using .glassEffect() API for iOS/macOS 26+. Covers SwiftUI, AppKit, UIKit, and WidgetKit. Use when creating modern glass-based UI effects.

rshankras/claude-code-apple-skills · 45 tokens

app-icon-generator

Generates an app icon for macOS or iOS — a fast CoreGraphics placeholder and/or flat layered source art to finish in Icon Composer (the Liquid Glass / iOS 26+ standard). Produces appearance variants (light/dark/tinted) and installs into the asset catalog. Use when the user wants to create, generate, iterate, or update…

rshankras/claude-code-apple-skills · 80 tokens

onboarding-generator

Generates value-moment-first onboarding flows for iOS/macOS apps — the default architecture races a new user to the first felt experience of the app's promised outcome, branching on whether they can experience it right now or need to plan for later. The classic paged welcome-carousel tour is an explicit fallback for…

rshankras/claude-code-apple-skills · 93 tokens

assistive-access

Assistive Access implementation for cognitive accessibility including simplified scenes, navigation icons, runtime detection, and design principles. Use when optimizing apps for Assistive Access mode.

rshankras/claude-code-apple-skills · 35 tokens

screenshot-planner

Plan compelling App Store screenshot sequences that showcase your app's value. Use when preparing App Store assets, improving screenshot conversion, or drafting screenshot captions for a launch or major update.

rshankras/claude-code-apple-skills · 40 tokens