notifications-and-recovery

notifications-and-recovery is a skill for Claude Code from dembrandt/dembrandt-skills. It costs 32 tokens per session (1,872 once invoked), scanned A, original, MIT.

A guide to showing users what happened after an action and helping them recover when something goes wrong. It explains when to use messages such as toasts, inline errors, banners, dialogs, loading placeholders, and empty states.

In plain words
What is it for?
Use it when designing forms, error states, success messages, background actions, loading screens, or in-place editing. It helps choose the right way to communicate each change in state.
Why use it?
It prevents users from wondering whether an action worked and gives them a clear next step after an error. It also helps avoid using an interruption when a small, temporary message is enough.

Skill for Claude Code

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

Part of the dembrandt plugin — 45 skills shipped together

Good fit Use it when designing forms, error states, success messages, background actions, loading screens, or in-place editing. It helps choose the right way to communicate each change in state.

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

Made for: Claude Code.

Or install dembrandt, the plugin that ships this one along with the rest of its 45 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 notifications-and-recovery

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dembrandt/dembrandt-skills/notifications-and-recovery"><img src="https://agentmods.dev/badge/skills/dembrandt/dembrandt-skills/notifications-and-recovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,872 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
  • Socket pass 2 Oct 2026
  • Snyk pass 2 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00032 $0.01872
Opus 5.5 $0.00013 $0.00749
Sonnet 5.5 $0.00006 $0.00374
Haiku 4.5 $0.00003 $0.00187

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

Security

Grade A, and why

notifications-and-recovery 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.

directory/skills/notifications-and-recovery/SKILL.md · 200 lines

How it starts

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

Notifications and Recovery

When something changes — success, failure, or anything in between — the user must know. And when something goes wrong, they must always have a path forward. A notification without a recovery action is just an apology.


Pattern Selection

Pattern When to use Dismissal
Toast Transient result of a user action (saved, sent, deleted) Auto-dismiss 4–6s, manual close
Inline error Field-level validation, form errors Clears on correction
Alert banner Persistent issue affecting the current context Manual dismiss or resolved state
Modal / dialog Blocking error requiring a decision before continuing User action required
Empty state No data yet — guide the user to the first action Replaced by the first item
Skeleton / loading Async content pending Replaced by content
In-place confirmation Inline edit saved, row updated, item toggled Auto-clears after 2–3s

Toast Notifications

Toasts confirm that a background action completed. They appear without interrupting the user's flow.

Placement: bottom-center or bottom-right. Never top-center — it competes with page content and navigation.

Duration: 4–6 seconds for information. Errors should persist until dismissed — the user needs time to read and act.

Anatomy:

[Icon] Message text                    [Action] [×]
  • Icon: colour-coded (green ✓ success, red ✗ error, orange ⚠ warning, blue ℹ info)
  • Message: one sentence, plain language
  • Action (optional): "Undo", "Retry", "View" — one action maximum
  • Close button: always present on errors; optional on success
✓ "Changes saved."
✓ "Message sent.  [Undo]"
✗ "Could not save. Check your connection.  [Retry]"  ← persists until dismissed

Never: multiple simultaneous toasts. Queue them; show one at a time.


Inline Errors

Inline errors appear adjacent to the element that caused them. They are the most contextual and actionable form of error feedback.

Read the full file on GitHub · 200 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 Changed · -50 lines f50bb86a29c0
  2. 1mo ago Changed · -33 tokens per session 7cb092b41b5d
  3. 3mo ago First seen · 250 lines · 65 tokens per session scan A fe6f9260ba80

Subscribe to this mod's changes

notifications-and-recovery is a skill published in the GitHub repository dembrandt/dembrandt-skills (245 stars, last pushed yesterday), licensed MIT. It adds 32 tokens to every session and 1,872 once invoked, about $0.0001 per session on Opus 5.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

notifications-and-recovery compared with skills from other repositories

notifications-and-recovery next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
notifications-and-recoverydembrandt/dembrandt-skillsSkill245yesterdayMITA32Claude Code
design-dnazanwei/design-dnaSkill2.2k3mo agoMITA192Claude Code, Codex
dbim-brand-identityYashraj00700/indian-gov-ui-skillsSkill24mo agoMITA117Claude Code, Codex
indian-gov-web-uiYashraj00700/indian-gov-ui-skillsSkill24mo agoMITA95Claude Code, Codex
ux4g-design-systemYashraj00700/indian-gov-ui-skillsSkill24mo agoMITA147Claude Code, Codex
gov-service-patternsYashraj00700/indian-gov-ui-skillsSkill24mo agoMITA115Claude Code, Codex
ui-ux-lawsAmirGhl/ui-ux-lawsSkill24mo agoMITA203Claude Code, Codex