reexamine_resilience

reexamine_resilience is a cursor rule for Cursor from HomenShum/NodeBenchAI. It costs 373 tokens per session, scanned A, original, MIT.

A set of software-development rules for handling errors in network calls, user interfaces, and optional features. It covers retries, partial results, error messages, fallback content, and loading states.

In plain words
What is it for?
Use it when reviewing or building code that fetches data, renders asynchronous content, handles optional dependencies, or needs retry and fallback behavior.
Why use it?
It helps applications remain usable when requests fail, data is incomplete, images are missing, or one interface section crashes.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when reviewing or building code that fetches data, renders asynchronous content, handles optional dependencies, or needs retry and fallback behavior.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/homenshum/nodebenchai/reexamine_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.

Clone the repo
git clone --depth 1 https://github.com/HomenShum/NodeBenchAI

Made for: Cursor.

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 reexamine_resilience

README.md
[![agentmods](https://agentmods.dev/badge/rules/homenshum/nodebenchai/reexamine_resilience/github.svg)](https://agentmods.dev/rules/homenshum/nodebenchai/reexamine_resilience)
Your own site
<a href="https://agentmods.dev/rules/homenshum/nodebenchai/reexamine_resilience"><img src="https://agentmods.dev/badge/rules/homenshum/nodebenchai/reexamine_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 reexamine_resilience

Your own site · 80×15
<a href="https://agentmods.dev/rules/homenshum/nodebenchai/reexamine_resilience"><img src="https://agentmods.dev/badge/rules/homenshum/nodebenchai/reexamine_resilience.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 373 This file is loaded in full into every session.
When invoked 373 The same file — it is already loaded in full.
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.00373 $0.00373
Opus 5.5 $0.00149 $0.00149
Sonnet 5.5 $0.00075 $0.00075
Haiku 4.5 $0.00037 $0.00037

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

Security

Grade A, and why

reexamine_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 3mo 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.

.cursor/rules/reexamine_resilience.mdc · 34 lines

What it actually says

Re-examine: Error Resilience

Retry with backoff

  • Network/fetch calls: retry 2-3 times with exponential backoff (Math.min(30000, base * 1.5^attempt))
  • Show retry status to user (e.g., "Retrying in 5s..." or a refresh indicator)
  • Add a manual "Retry" button after max retries exhausted

Partial failures

  • If one API call in a batch fails, don't discard the successful results
  • Render what you have + show targeted error for the failed portion
  • Example: 9/10 screenshots load → show 9 + "1 image unavailable" placeholder

Error boundaries (React / UI)

  • Wrap major sections in error boundaries so one crash doesn't take down the page
  • Error boundary fallback: informative message + retry action, not blank screen
  • Log errors to console or telemetry with enough context to debug

Graceful degradation

  • If optional dependency missing (embedding model, Python server, env var): degrade, don't crash
  • Feature detection before use: if (window.IntersectionObserver) etc.
  • Image 404 → fallback placeholder with "Image unavailable" text
  • Missing data fields → show "N/A" or hide the section, not undefined

Loading states

  • Every async operation needs a loading indicator (skeleton, spinner, or progress bar)
  • Never leave the user staring at a blank screen during fetch
  • See reexamine_polish for skeleton loading patterns
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. 3mo ago First seen · 34 lines · 373 tokens per session scan A fbed689a0938

Subscribe to this mod's changes

reexamine_resilience is a cursor rule published in the GitHub repository HomenShum/NodeBenchAI (14 stars, last pushed 17d ago), licensed MIT. It adds 373 tokens to every session, about $0.0015 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

reexamine_resilience compared with cursor rules from other repositories

reexamine_resilience next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
reexamine_resilienceHomenShum/NodeBenchAICursor rule1417d agoMITA373Cursor
hatch3r-observability-logginghatch3r/hatch3rCursor rule262mo agoMITA0Cursor
linuxAcKeskin/contextureCursor rule28d agoMITA1,224Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor
angular-20angular/angularCursor rule102k5d agoMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor