ai-interaction-patterns

ai-interaction-patterns is a skill for Claude Code from terrene-foundation/kailash-coc-claude-py. It costs 29 tokens per session (1,347 once invoked), scanned A, original, Apache-2.0.

A guide to designing user experiences for AI systems, including prompting, user control, explanations, memory, trust, citations, and human review. It focuses on how people interact with AI, not general page layout.

In plain words
What is it for?
Use it when designing chat flows, prompt inputs, AI suggestions, approval steps, disclosures, citations, memory controls, or generated interfaces.
Why use it?
It helps avoid AI interfaces that hide important behavior, leave users unsure what happened, or make generated results hard to check and control.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when designing chat flows, prompt inputs, AI suggestions, approval steps, disclosures, citations, memory controls, or generated interfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/terrene-foundation/kailash-coc-claude-py/25-ai-interaction-patterns
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 terrene-foundation/kailash-coc-claude-py --skill 25-ai-interaction-patterns
Clone the repo
git clone --depth 1 https://github.com/terrene-foundation/kailash-coc-claude-py

Made for: Claude Code.

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 ai-interaction-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/terrene-foundation/kailash-coc-claude-py/25-ai-interaction-patterns/github.svg)](https://agentmods.dev/skills/terrene-foundation/kailash-coc-claude-py/25-ai-interaction-patterns)
Your own site
<a href="https://agentmods.dev/skills/terrene-foundation/kailash-coc-claude-py/25-ai-interaction-patterns"><img src="https://agentmods.dev/badge/skills/terrene-foundation/kailash-coc-claude-py/25-ai-interaction-patterns/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 ai-interaction-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/terrene-foundation/kailash-coc-claude-py/25-ai-interaction-patterns"><img src="https://agentmods.dev/badge/skills/terrene-foundation/kailash-coc-claude-py/25-ai-interaction-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,347 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 medium

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 →

  • medium Excessive Agency · line 103
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00029 $0.01347
Opus 5 $0.00015 $0.00674
Sonnet 5 $0.00006 $0.00269
Haiku 4.5 $0.00003 $0.00135

Measured 7d ago against content hash 18665c5acf26, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ai-interaction-patterns 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 7d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/skills/25-ai-interaction-patterns/SKILL.md · 114 lines

How it starts

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

AI Interaction Patterns

AI-specific UX patterns for designing interfaces where users interact with AI models. Covers the full interaction lifecycle: from first prompt to output verification, memory persistence, and trust building.

Source: Based on Shape of AI pattern library (CC-BY-NC-SA) by Emily Campbell.

When to Use

Use these patterns when asking about AI UX, AI interaction, prompt UX, AI trust, AI disclosure, AI avatar, AI personality, AI memory UX, action plan UX, stream of thought, AI citations, AI controls, AI wayfinding, AI suggestions, gallery pattern, follow-up pattern, draft mode, AI variations, AI consent, AI caveat, human-in-the-loop, AI transparency, AI state, prompt design, AI onboarding, or generative UI.

How This Differs from Other UI/UX Skills

Skill Focus
23-uiux-design-principles Layout, hierarchy, responsive design (framework-agnostic)
25-ai-interaction-patterns (this) AI-SPECIFIC interaction logic: how users prompt, control, trust, and relate to AI

Reference Documentation

Quick Pattern Selection

By User Problem

User Says/Feels Apply Pattern
"I don't know what to ask" Gallery, Suggestions, Templates
"AI didn't understand me" Follow-ups, Nudges, Prompt Enhancer
"I want alternatives" Variations, Branches, Randomize
"Is this accurate?" Citations, References, Caveat
"This is taking too long" Draft Mode, Controls, Cost Estimates
"I need AI to do something complex" Action Plan, Stream of Thought
"Is this AI or human?" Disclosure, Avatar, Name
"Don't store my data" Incognito Mode, Consent, Data Ownership
"AI forgot what I said" Memory (scoped/global/ephemeral)

Read the full file on GitHub · 114 lines

Files

What ships with it

1 file 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. 7d ago First seen · 114 lines · 29 tokens per session scan A 18665c5acf26

Subscribe to this mod's changes

ai-interaction-patterns is a skill published in the GitHub repository terrene-foundation/kailash-coc-claude-py (12 stars, last pushed 23d ago), licensed Apache-2.0. It adds 29 tokens to every session and 1,347 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

enhance-prompt

Transforms vague UI ideas into polished, Stitch-optimized prompts. Enhances specificity, adds UI/UX keywords, injects design system context, and structures output for better generation results.

google-labs-code/stitch-skills · 41 tokens

stitch-ued-guide

Visual vocabulary, design terminology, and prompt engineering strategy for Stitch. Reference this when you need layout pattern names, aesthetic style terms, color structure formulas, or device guidelines.

gabelul/stitch-kit · 40 tokens

stitch-ui-prompt-architect

Builds Stitch-ready prompts via two paths — Path A enhances vague ideas into polished prompts, Path B merges a Design Spec JSON + user request into a structured [Context] [Layout] [Components] prompt.

gabelul/stitch-kit · 50 tokens

ai-product-design

Design, specify, map, evaluate, or improve an AI assistant, LLM feature, copilot, chatbot, agent, recommendation, generation, or automation workflow. Define capability boundaries, user control, recovery, trust, evidence, uncertainty, permissions, and evaluation. Trigger on "design this AI feature", "build an AI…

aditya-ariosity/ux-ui-skills · 105 tokens

ai-feedback-loops

Design feedback mechanisms that help AI systems learn from users - thumbs up/down, preference ranking, corrections, and human-in-the-loop escalation. Use when: RLHF UX, user feedback for AI, thumbs up down design, AI correction flow, human in the loop, feedback signal design, AI improvement loops.

varunk130/ai-ux-skill-library · 66 tokens

mobbin-prompts

Generate implementation, analysis, onboarding, agent-specific, PR-reference, and feature-review prompt packs from saved Mobbin artifacts without loading the Mobbin MCP server. Use when the user wants captured Mobbin references turned into Codex, Claude Code, Pi, Mem Palace, onboarding, PR, or review-ready context.

LanSynergy/mobbin-mcp · 67 tokens