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.
npx skills add sanky369/vibe-building-skills --skill error-handling-recoverygit clone --depth 1 https://github.com/sanky369/vibe-building-skillsWrote 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.
[](https://agentmods.dev/skills/sanky369/vibe-building-skills/error-handling-recovery)<a href="https://agentmods.dev/skills/sanky369/vibe-building-skills/error-handling-recovery"><img src="https://agentmods.dev/badge/skills/sanky369/vibe-building-skills/error-handling-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.
<a href="https://agentmods.dev/skills/sanky369/vibe-building-skills/error-handling-recovery"><img src="https://agentmods.dev/badge/skills/sanky369/vibe-building-skills/error-handling-recovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00140 | $0.02054 |
| Opus 5.5 | $0.00056 | $0.00822 |
| Sonnet 5.5 | $0.00028 | $0.00411 |
| Haiku 4.5 | $0.00014 | $0.00205 |
Grade A, and why
error-handling-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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Error Handling & Recovery
Turn every failure into a guided path forward: find each way the app can fail, give it a specific human message, a correct placement, and at least one recovery action. The prime directive: never blame the user, and never leave them at a dead end — every error state ships with a way out. Deliver an error-state matrix covering the failure modes plus the implemented components and copy — not messaging guidelines alone.
When to use / when not to
Use for: error message copy, validation UX, network/offline failure handling, permission-denied and 404 pages, recovery workflows, graceful degradation, error accessibility.
Hand off instead when the real need is:
- Preventing the wait/failure in the first place (retries as performance, optimistic rollback mechanics) →
skills/frontend-design/performance-optimization - The loading half of the async lifecycle (skeletons, spinners, empty states) →
skills/frontend-design/loading-states— this skill owns what happens when loading fails - Error animation timing →
skills/frontend-design/interaction-physics - Full accessibility audit beyond error surfaces →
skills/frontend-design/accessibility-excellence
Step 0 — Inspect the codebase, then ask only what's left
- Harvest existing error surfaces: grep for
catch,.catch(,onError,errorstate variables,toast.error,alert(, error boundary components, and string literals like "error", "failed", "wrong", "invalid". Collect the actual message strings — the current copy is your before-picture. - Map failure classes present in the app: forms (validation), API calls (network/server), auth'd resources (permission), routing (404), plus anything domain-specific (payment declines, quota limits, file-type rejections).
- Find the gaps: catch blocks that swallow errors silently, fetches with no error branch, forms that only style the border red, missing error boundaries around independent sections, no offline handling.
- Check a11y wiring: search for
role="alert",aria-live,aria-invalid,aria-describedby. Absence = automatic fix items.
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.
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.
- 2mo ago First seen · 120 lines · 140 tokens per session scan A a5f51497efaf
error-handling-recovery is a skill published in the GitHub repository sanky369/vibe-building-skills (31 stars, last pushed 3mo ago), licensed MIT. It adds 140 tokens to every session and 2,054 once invoked, about $0.0006 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.
error-handling-recovery compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| error-handling-recoverysanky369/vibe-building-skills | Skill | 31 | 3mo ago | MIT | A | 140 | Claude Code, Codex |
| planjeremylongshore/tons-of-skills-marketplace | Skill | 2.9k | yesterday | MIT | A | 144 | Claude Code |
| prototypevinvcn/mattpocock-skills-zh-CN | Skill | 5.6k | 9d ago | MIT | A | 39 | Claude Code, Codex |
| data-visualization-expertroedyrustam/vibes-plug | Skill | 121 | yesterday | MIT | A | 38 | Cursor |
| design-system-architectroedyrustam/vibes-plug | Skill | 121 | yesterday | MIT | A | 43 | Cursor |
| ephemeral-generative-ui-architectroedyrustam/vibes-plug | Skill | 121 | yesterday | MIT | A | 47 | Cursor |
| prototypedevcxl/mattpocock-skills-zh | Skill | 530 | 3d ago | MIT | A | 39 | Claude Code, Codex |