ai-error-resilience

ai-error-resilience is a skill for Claude Code, Codex from varunk130/ai-ux-skill-library. It costs 55 tokens per session (2,101 once invoked), scanned A, original, MIT.

A design guide for handling unreliable AI results, uncertainty, edge cases, and failures in a user interface. It treats an AI answer as something that can be partly right, wrong, or unsafe rather than simply successful or failed.

In plain words
What is it for?
Use it to design confidence messages, safe fallbacks, verification steps, alternatives, and error-recovery flows for AI features.
Why use it?
It helps users understand when an answer may be unreliable, limit the consequences of mistakes, and recover through checking, correction, or alternative options.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to design confidence messages, safe fallbacks, verification steps, alternatives, and error-recovery flows for AI features.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/varunk130/ai-ux-skill-library/ai-error-resilience
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 varunk130/ai-ux-skill-library --skill ai-error-resilience
Clone the repo
git clone --depth 1 https://github.com/varunk130/ai-ux-skill-library

Made for: Claude Code, Codex.

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-error-resilience

README.md
[![agentmods](https://agentmods.dev/badge/skills/varunk130/ai-ux-skill-library/ai-error-resilience/github.svg)](https://agentmods.dev/skills/varunk130/ai-ux-skill-library/ai-error-resilience)
Your own site
<a href="https://agentmods.dev/skills/varunk130/ai-ux-skill-library/ai-error-resilience"><img src="https://agentmods.dev/badge/skills/varunk130/ai-ux-skill-library/ai-error-resilience/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-error-resilience

Your own site · 80×15
<a href="https://agentmods.dev/skills/varunk130/ai-ux-skill-library/ai-error-resilience"><img src="https://agentmods.dev/badge/skills/varunk130/ai-ux-skill-library/ai-error-resilience.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,101 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.00055 $0.02101
Opus 5 $0.00028 $0.01051
Sonnet 5 $0.00011 $0.00420
Haiku 4.5 $0.00006 $0.00210

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

Security

Grade A, and why

ai-error-resilience 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 11d 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/ai-error-resilience/SKILL.md · 162 lines

How it starts

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

AI Error Resilience

Design AI products that fail gracefully, communicate uncertainty honestly, and help users recover without losing trust. The RECOVER framework treats AI errors as a design material, not a bug to hide.

Core Principle

Traditional software has bugs. AI has probabilistic outputs on a spectrum of correctness. You cannot design AI UX using binary error/success patterns. Instead, design for a continuum: right, mostly right, partially right, uncertain, wrong, and dangerously wrong.


The RECOVER Framework

Letter Phase Design Question
R Recognize Can the system detect when its output may be unreliable?
E Express Uncertainty Does the interface clearly communicate degrees of confidence to the user?
C Contain Blast Radius If the AI is wrong, what's the worst that can happen? How is damage limited?
O Offer Alternatives Does the user get a Plan B when Plan A might be wrong?
V Verify Collaboratively Can the user easily check, correct, or confirm the AI's output?
E Evolve from Errors Does the system learn from this error type to prevent future occurrences?
R Restore Confidence After a failure, how does the product rebuild the user's willingness to try again?

AI Error Taxonomy

Not all AI errors are created equal. Each type requires a different UX response.

Error Type Description Severity UX Response Pattern
Confident hallucination AI invents facts and states them as truth Critical Citation requirement + verification prompt
Stale knowledge AI references outdated information High Timestamp + "knowledge cutoff" indicator
Context misread AI misinterprets the user's intent or context Medium Reflect understanding before answering
Partial answer AI addresses some but not all parts of a query Medium Checklist showing what was/wasn't addressed
Formatting error Content is correct but presented poorly Low Easy reformat/regenerate affordance
Refusal overreach AI refuses a legitimate request due to overly strict safety filters Medium Explain why + offer alternative path
Confidence inversion AI is most confident when it's most wrong Critical Mandatory human review for high-stakes outputs

Read the full file on GitHub · 162 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. 11d ago First seen · 162 lines · 55 tokens per session scan A 22f69192ae54

Subscribe to this mod's changes

ai-error-resilience is a skill published in the GitHub repository varunk130/ai-ux-skill-library (3 stars, last pushed 1mo ago), licensed MIT. It adds 55 tokens to every session and 2,101 once invoked, about $0.0003 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

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

ss-dial

Turn ONE design axis up or down as a coordinated, deterministic transform — "denser", "sharper corners", "more muted", "bolder", "flatter", "livelier". Not a vibe the model reinterprets each time; a defined ramp that moves many tokens together, respects the guardrails (8px grid, a11y floors, single accent…

bitjaru/styleseed · 114 tokens

ss-reference

Compile screenshots, URLs, Figma exports, or an existing UI into a project-local StyleSeed output grammar with evidence, tokens, confidence, anti-patterns, and a validation screen. Use when the user supplies a design reference that StyleSeed does not already model.

bitjaru/styleseed · 56 tokens

bim-classification-ai

Classify BIM elements using AI and standard classification systems. Map elements to UniFormat, MasterFormat, OmniClass, and CWICR codes.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 35 tokens

032-architecture-adr-non-functional-requirements

Facilitates conversational discovery to create Architectural Decision Records (ADRs) for non-functional requirements using the ISO/IEC 25010:2023 quality model. Use when the user wants to document quality attributes, NFR decisions, security/performance/scalability architecture, or design systems with measurable…

jabrena/plinth · 120 tokens

component-family-consistency

Buttons, inputs, pills, badges, calendars, and other interactive components form a visual family — they share the same border-radius, colour logic, shadow scale, border style, and spacing rhythm. Inconsistency between them breaks the sense of a coherent product. Use when building or reviewing a component library…

dembrandt/dembrandt-skills · 76 tokens