interaction-design

interaction-design is a skill for Claude Code from cuellarfr/design-skills. It costs 44 tokens per session (4,573 once invoked), scanned A, original, MIT.

A guide to interaction design, which defines how a product behaves when people use it. It covers responses to input, small interface moments, animation, gestures, errors, and the different states a product can be in.

In plain words
What is it for?
Use it to design interaction flows, microinteractions, animations, gestures, error prevention, state machines, and behavior specifications across contexts.
Why use it?
It helps teams describe behavior clearly so products remain understandable and predictable during normal use, errors, loading, and other situations.

Skill for Claude Code

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

Part of the design-skills plugin — 10 skills shipped together

Good fit Use it to design interaction flows, microinteractions, animations, gestures, error prevention, state machines, and behavior specifications across contexts.

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

Made for: Claude Code.

Or install design-skills, the plugin that ships this one along with the rest of its 10 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 interaction-design

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cuellarfr/design-skills/interaction-design"><img src="https://agentmods.dev/badge/skills/cuellarfr/design-skills/interaction-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,573 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
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 314
    This pattern attempts to override system instructions or ignore safety constraints. Without LLM analysis, manual review is recommended.
    Fix: Remove or rewrite any text that instructs the agent to ignore prompts, override safety rules, or trust unverified content. Ensure skill content cannot be injected to alter agent behavior.
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.00044 $0.04573
Opus 5 $0.00022 $0.02286
Sonnet 5 $0.00009 $0.00915
Haiku 4.5 $0.00004 $0.00457

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

Security

Grade A, and why

interaction-design 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 10d 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/interaction-design/SKILL.md · 353 lines

How it starts

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

Interaction Design

You are an expert in interaction design — the discipline that defines how products behave in response to human input. Your recommendations are grounded in Dan Saffer's Microinteractions (trigger-rules-feedback-loops framework), Alan Cooper's About Face (product posture, perpetual intermediates, orchestration, excise), Donna Lichaw's The User's Journey (narrative arc, storymapping, peak-end design), the 12 Principles of Animation adapted for UI, David Harel's statecharts for UI state modeling, and motion guidelines from Material Design 3 and Apple HIG.

Interaction design is the design of behavior. A product's visual appearance is what users see; its interaction design is what they experience. The gap between a product people tolerate and one they love is almost always in the quality of its interactions.


The Microinteraction Framework

Every interaction — from toggling a switch to submitting a form — consists of four parts (Saffer):

Part Definition Key Question
Trigger What initiates the interaction How does the user (or system) start this?
Rules The hidden logic that governs behavior What happens, in what sequence, with what constraints?
Feedback How the system communicates what's happening What does the user see, hear, or feel?
Loops & Modes How the interaction changes over time Does this repeat? Expire? Adapt?

Triggers

Manual triggers (user-initiated): buttons, toggles, gestures, voice commands, keyboard shortcuts.

System triggers (automatic): notifications, location-based alerts, time-based events, state changes, error detection.

Trigger design principles:

  1. Bring the data forward — Show essential information on the trigger itself. A mail icon with an unread count. A battery icon showing charge level. Don't force users to open something just to check status
  2. Match visibility to frequency — High-use triggers should be prominent and always accessible. Infrequent triggers can be less visible
  3. Consistent behavior — A trigger must initiate the same action every time. Inconsistency destroys trust
  4. Communicate state — Triggers have states: normal, hover, active, disabled, updated. Each state must be visually distinct

Read the full file on GitHub · 353 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. 10d ago First seen · 353 lines · 44 tokens per session scan A 4fcfd67b45e4

Subscribe to this mod's changes

interaction-design is a skill published in the GitHub repository cuellarfr/design-skills (54 stars, last pushed 17d ago), licensed MIT. It adds 44 tokens to every session and 4,573 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

Accessibility Audit Helper

Reviews UI code and components for WCAG 2.1 accessibility violations and provides specific fixes.

Notysoty/openagentskills · 23 tokens

Form UX Optimizer

Reviews web forms for usability issues — field ordering, validation messages, error states, and accessibility.

Notysoty/openagentskills · 24 tokens

straightedge

Design execution engine. Holds the accessibility and craft standards as pass/fail gates, picks a page or composition shape before any visual rule so two briefs do not produce the same layout, and runs a computed ship check before delivery. Use this skill for ANY design or build task in any medium: poster, flyer…

iamAlvinV/straightedge · 202 tokens

accessibility

Audit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

addyosmani/web-quality-skills · 51 tokens

frontend-slides

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

gooseworks-ai/goose-skills · 63 tokens

goose-graphics

Portable visual skill pack for the Agent Skills ecosystem (Claude Code, Claude Desktop, Claude Cowork, Claude Design, Goose, Cursor, Codex). Discovers community-published styles + formats via the gooseworks CLI, runs an extract-style workflow on reference images, and exports rendered PNGs via Playwright.

gooseworks-ai/goose-skills · 67 tokens