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/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/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="Reviewed on agentmods" width="80" 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.5 | $0.00013 | $0.00950 |
| Sonnet 5.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 1mo 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.
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.
- 1mo ago Changed · -208 lines 19fc997dca73
- 1mo 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 (25 stars, last pushed 2d ago), licensed MIT. It adds 32 tokens to every session and 2,375 once invoked, about $0.0001 per session on Opus 5.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
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…
moai-workflow-ddd
Domain-Driven Development workflow specialist using ANALYZE-PRESERVE-IMPROVE cycle for behavior-preserving code transformation. Use when refactoring legacy code or reducing technical debt safely.
moai-lane-watchdog
One lane stall watchdog iteration: measure lane progress on three channels, classify the stall cause, apply the remedy or resolve the judgment through the decision ladder — instead of waiting on a reply — then record the outcome and report. Reads the unified --auto doctrine at…
moai-workflow-loop
Ralph Engine - Automated feedback loop with LSP diagnostics and AST-grep integration for continuous code quality improvement. Use when implementing error-driven development, automated fixing, or continuous quality validation workflows.
moai-workflow-testing
Use when writing tests, measuring coverage, or running characterization, performance, or PR-review QA. Comprehensive specialist combining DDD testing, characterization tests, performance profiling, and TRUST 5 quality-assurance validation.
evidence-audit
Evidence-led audit/fix rounds for any codebase in any language. Finds only defects that a runnable proof reproduces on current code, applies the narrowest in-scope patch, verifies with a second proof, promotes high-risk proofs to permanent regression tests, and reports exact validation results. Use whenever the user…