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 agents-inc/skills --skill web-error-handling-error-boundariesgit clone --depth 1 https://github.com/agents-inc/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/agents-inc/skills/web-error-handling-error-boundaries)<a href="https://agentmods.dev/skills/agents-inc/skills/web-error-handling-error-boundaries"><img src="https://agentmods.dev/badge/skills/agents-inc/skills/web-error-handling-error-boundaries.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.00032 | $0.02375 |
| Opus 5 | $0.00016 | $0.01188 |
| Sonnet 5 | $0.00006 | $0.00475 |
| Haiku 4.5 | $0.00003 | $0.00237 |
Grade A, and why
web-error-handling-error-boundaries scanned grade A with 1 finding 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 today.
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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
const response = await fetch(endpoint); How it starts
The opening of the file, as written. The whole thing — 249 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React Error Boundaries
Quick Guide: A boundary catches errors thrown during render, in lifecycle methods and in constructors, and swaps the subtree for fallback UI. It never sees event-handler, async or server-render errors — those reach it only when something calls
showBoundary(). Boundaries are class components, becausegetDerivedStateFromErrorandcomponentDidCatchhave no hook equivalent. React 19 addsonCaughtError,onUncaughtErrorandonRecoverableErroroncreateRoot, which log rather than render and are silently ignored on React 18.
Detailed Resources:
- examples/core.md — the class boundary,
react-error-boundaryusage,resetKeys,useErrorBoundary, granular placement - examples/react-19-hooks.md —
createRoot/hydrateRooterror options,captureOwnerStack(), error filtering - examples/recovery.md — retry limits, exponential backoff, error classification
- examples/testing.md — what makes a boundary testable, and the fixtures that do it
- reference.md — what boundaries catch, lifecycle and prop tables, checklists
Which path applies
- No boundary dependency wanted — write the class yourself;
getDerivedStateFromErrorpluscomponentDidCatchis the whole API, and examples/core.md has it in full. react-error-boundaryis available — takeresetKeys,useErrorBoundaryand theFallbackPropstype rather than reimplementing them, and follow examples/core.md.- React 19, and the question is logging rather than UI — the three
createRootoptions report every error including the ones no boundary caught; see examples/react-19-hooks.md.
<critical_requirements>
Before writing error boundary code
Return new state from getDerivedStateFromError and put every side effect in componentDidCatch. The first runs during render, where a fetch or a log call breaks React's phase rules; the second runs at commit, where they are safe.
What ships with it
6 files 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.
- today Changed · -208 lines 19fc997dca73
- 2d ago First seen · 457 lines · 32 tokens per session scan A ea1c969442fb
web-error-handling-error-boundaries is a skill published in the GitHub repository agents-inc/skills (24 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 2,375 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.
Other skills, from other repositories
G2 Legend Expert
Expert skill for G2 legend development - provides comprehensive knowledge about legend rendering implementation, component architecture, layout algorithms, and interaction handling. Use when implementing, customizing, or debugging legend functionality in G2 visualizations.
harness-doctor
Check whether this project's Agentsmith harness is installed correctly and healthy — fires on "is my harness set up right?", "harness doctor", "check my harness". Part of the Agentsmith harness; checks each selected agent's managed rules, settings, skills, hooks, verification, and leanness with a one-line fix for each…
performance-optimization
Web and backend performance optimization including Core Web Vitals (LCP, FID, INP, CLS), bundle analysis with webpack-bundle-analyzer, code splitting, lazy loading, image optimization (WebP, AVIF, responsive srcset), caching strategies (HTTP Cache-Control, CDN, Redis, application-level), database query optimization…
performance-profiling
A measurement-first approach to finding and fixing performance problems in web apps, covering Core Web Vitals targets, a baseline-isolate-fix-verify loop, bundle and runtime/memory analysis, and prioritized quick wins. Use it when diagnosing slow loads or interactions, running Lighthouse audits, inspecting bundle…
node-zombie-guardian
Use when diagnosing stale or orphaned Node.js processes launched by VCO, auditing ownership/liveness, or safely simulating cleanup without touching external Node workloads.
moai-design-tools
Design tool integration specialist covering Figma MCP, Pencil renderer, and Pencil-to-code export. Use when fetching design context from Figma, rendering Pencil designs, or exporting to React/Tailwind code.