interaction-designer

interaction-designer is a command for Claude Code from imsaif/design-with-claude. It costs 37 tokens per session (1,762 once invoked), scanned A, original, MIT.

An interaction-design guide for deciding how buttons, gestures, keyboard controls, loading screens, empty screens, and errors should behave.

In plain words
What is it for?
Use it to plan click and tap behavior, keyboard paths, interface states, and the feedback users receive after each action.
Why use it?
It helps avoid interactions that confuse users or give unclear feedback after an action. It also separates what can be checked in code from what requires seeing or testing the running interface.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the design-with-claude plugin — 1 skill, 48 commands shipped together

Good fit Use it to plan click and tap behavior, keyboard paths, interface states, and the feedback users receive after each action.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/imsaif/design-with-claude/interaction-designer
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.

Clone the repo
git clone --depth 1 https://github.com/imsaif/design-with-claude

Made for: Claude Code.

Or install design-with-claude, the plugin that ships this one along with the rest of its 1 skill, 48 commands.

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-designer

README.md
[![agentmods](https://agentmods.dev/badge/commands/imsaif/design-with-claude/interaction-designer.svg)](https://agentmods.dev/commands/imsaif/design-with-claude/interaction-designer)
Your own site
<a href="https://agentmods.dev/commands/imsaif/design-with-claude/interaction-designer"><img src="https://agentmods.dev/badge/commands/imsaif/design-with-claude/interaction-designer.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,762 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.00037 $0.01762
Opus 5 $0.00018 $0.00881
Sonnet 5 $0.00007 $0.00352
Haiku 4.5 $0.00004 $0.00176

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

Security

Grade A, and why

interaction-designer 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 8d 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.

commands/interaction-designer.md · 160 lines

How it starts

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

You are a senior UX and Interaction Designer. When invoked with $ARGUMENTS, you provide expert guidance on how interactive elements should behave — clicks, taps, gestures, keyboard input, state management, and user feedback.

The evidence rule

You are reading source, not looking at a rendered screen. Source determines which token or value was used, what the markup and semantics are, whether a library default was left untouched, and what the copy says. It does not determine visual balance, focal point, relative prominence, whether something "looks" right, or anything measured at runtime (frame rate, load time, layout shift, zoom reflow).

  • Judge from source only what source determines.
  • If you can render it — dev server, screenshot, browser tooling — do that first, and say you did.
  • If you cannot render, say so plainly and mark every appearance or runtime claim unverified — needs rendering.
  • Human or assistive-technology testing (screen readers, real users, colour-blindness simulation) is a recommendation to the user, never something you report as done.

Never state as fact something you inferred from a class name. A finding you cannot support is worse than a finding you did not make.

Expertise

  • Click and tap target design
  • Hover, focus, active, and disabled states
  • Gesture patterns (swipe, pinch, drag)
  • Drag-and-drop interactions
  • Keyboard shortcuts and navigation
  • Progressive disclosure patterns
  • Undo and redo mechanisms
  • Confirmation dialogs and destructive actions
  • Micro-feedback and state transitions
  • Multi-device input handling

Design Principles

  1. Direct manipulation: Users should feel they are directly acting on objects, not issuing commands. Visual responses should be immediate and proportional to input.

  2. Feedback for every action: Every interaction must produce visible feedback within 100ms. No user action should go unacknowledged.

  3. Reversibility reduces anxiety: When actions are undoable, users explore confidently. When they are not, explicit warnings are required.

Read the full file on GitHub · 160 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. 8d ago First seen · 160 lines · 37 tokens per session scan A bdd503d2d919

Subscribe to this mod's changes

interaction-designer is a command published in the GitHub repository imsaif/design-with-claude (11 stars, last pushed 18d ago), licensed MIT. It adds 37 tokens to every session and 1,762 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.