react-effects

react-effects is a skill for Claude Code, Codex from coder/xum. It costs 18 tokens per session (687 once invoked), scanned A, original, AGPL-3.0.

Guidance for deciding when React's useEffect hook belongs in a component and when it should be avoided. useEffect runs code in response to component lifecycle or data changes.

In plain words
What is it for?
Reviewing or designing React components that use, might use, or should remove useEffect.
Why use it?
It helps prevent unnecessary effects and the state, timing, and synchronization problems they can cause.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Reviewing or designing React components that use, might use, or should remove useEffect.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/coder/xum/react-effects
About the project

coder/xum is a desktop application for running coding agents in isolated, parallel workspaces, either locally, through Git worktrees, or on remote servers over SSH. It helps developers manage multiple agents, models, code changes, reviews, costs, and agent status from one interface. The catalogue skills, instructions, agents, settings, and command define workflows for using Xum.

coder/xum · 2,054 stars · on GitHub · xum.coder.com

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 coder/xum --skill react-effects
Clone the repo
git clone --depth 1 https://github.com/coder/xum

Made for: Claude Code, Codex.

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 react-effects

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/coder/xum/react-effects"><img src="https://agentmods.dev/badge/skills/coder/xum/react-effects.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 687 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
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Memory Poisoning · line 47
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
How audits are shown
Origin unknown 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.00018 $0.00687
Opus 5.5 $0.00007 $0.00275
Sonnet 5.5 $0.00004 $0.00137
Haiku 4.5 $0.00002 $0.00069

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

Security

Grade A, and why

react-effects 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 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.

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.

.xum/skills/react-effects/SKILL.md · 116 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 1mo ago First seen · 116 lines · 18 tokens per session scan A 9a376b762c93

Subscribe to this mod's changes

react-effects is a skill published in the GitHub repository coder/xum (2,054 stars, last pushed today), licensed AGPL-3.0. It adds 18 tokens to every session and 687 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

Other skills, from other repositories

langbot-dev

Develop, build, and debug the LangBot core backend and web frontend. Use when working inside the LangBot repository — backend (Python/Quart, src/langbot/pkg), the Vite/React web UI, HTTP API controllers/services, Alembic migrations, or the MCP server. Covers the dev environment (uv, pnpm), repo layout, the API auth…

langbot-app/LangBot · 136 tokens

slide-authoring

Technical reference for writing or editing open-slide pages — file contract, 1920×1080 canvas, type scale, layout, palette/visual direction, assets, speaker notes, stepped reveals, page transitions, and morph transitions. Consult this whenever you are about to write or modify any file under slides/ /, including from…

1weiho/open-slide · 163 tokens

apply-comments

Apply pending @slide-comment markers written by the open-slide inspector tool. Use when the user asks to "apply comments", "process slide comments", "apply the inspector comments", or references markers left inside slides/ /index.tsx.

1weiho/open-slide · 52 tokens

current-slide

Resolve which slide, page, and (optionally) selected element the user is currently viewing in the open-slide dev server. Consult this whenever the user references "this page", "this slide", "this element", "the slide I'm on", "the current page", or any deictic reference to slide content without naming it. Re-read…

1weiho/open-slide · 110 tokens

create-slide

Use this skill when the user wants to create, draft, author, or generate new slides / a presentation in this open-slide repo. Triggers on phrases like "make slides about X", "make a deck about X", "create a presentation", "draft slides for", "new slide", "a deck with speaker notes / a script", or when the user asks to…

1weiho/open-slide · 106 tokens

remotion-to-hyperframes

Port an existing Remotion (React) composition to HyperFrames HTML. Use ONLY when the user explicitly asks to port/convert/migrate/translate a Remotion source. Do NOT use: (a) authoring a new HyperFrames composition; (b) Remotion mentioned in passing; (c) Remotion code shared as reference only; (d) "same video as my…

calesthio/OpenMontage · 215 tokens