no-useEffect

no-useEffect is a skill for Claude Code, Codex from canwhite/Krebs. It costs 25 tokens per session (1,477 once invoked), scanned A, original, no licence file.

A React coding guideline that avoids direct use of useEffect, a feature for responding to changes in data or the page. It recommends other patterns instead.

In plain words
What is it for?
Use it when writing or reviewing React components and deciding how to respond to data or interface changes.
Why use it?
It helps prevent unnecessary or hard-to-follow side effects in React code. The rules give developers a consistent way to handle these cases.

Skill for Claude CodeCodex

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

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.

agentmods
npx agentmods add skills/canwhite/krebs/no-useeffect
Any agent
npx skills add canwhite/Krebs --skill no-useeffect
Clone the repo
git clone --depth 1 https://github.com/canwhite/Krebs

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 no-useEffect

README.md
[![agentmods](https://agentmods.dev/badge/skills/canwhite/krebs/no-useeffect.svg)](https://agentmods.dev/skills/canwhite/krebs/no-useeffect)
Your own site
<a href="https://agentmods.dev/skills/canwhite/krebs/no-useeffect"><img src="https://agentmods.dev/badge/skills/canwhite/krebs/no-useeffect.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,477 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00025 $0.01477
Opus 5 $0.00013 $0.00739
Sonnet 5 $0.00005 $0.00295
Haiku 4.5 $0.00003 $0.00148

Measured 6d ago against content hash 2673ca48731a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

no-useEffect 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 6d 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.

skills/no-useeffect/SKILL.md · 210 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

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. 6d ago First seen · 210 lines · 25 tokens per session scan A 2673ca48731a

Subscribe to this mod's changes

no-useEffect is a skill published in the GitHub repository canwhite/Krebs (1,096 stars, last pushed 8d ago), with no licence file. It adds 25 tokens to every session and 1,477 once invoked, about $0.0001 per session on Opus 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

react-core

General React fundamentals - components and JSX, props and state, the core hooks (useState/useEffect/useRef/useMemo/useCallback/useContext), composition, conditional and list rendering, and controlled inputs. The canonical "depends on React" reference.

bobmatnyc/claude-mpm-skills · 52 tokens

react

React UI patterns for apps/ui—Effects vs rendering, TanStack Query for all server data, useMemo, keys, event handlers. Start here when creating or editing React components.

ctxpipe-ai/ctxpipe · 38 tokens

react-code-review-patterns

Review checklists and patterns for React/TypeScript frontend code reviews. Use when: (1) reviewing React components, (2) checking TypeScript type safety, (3) validating hooks usage, (4) checking accessibility compliance.

thapaliyabikendra/ai-artifacts · 53 tokens

dashboard

Use this skill when contributing to InsForge's shared dashboard package. This is for maintainers editing packages/dashboard, which ships in self-hosting and cloud-hosting modes, and the local frontend/ shell used for self-hosting in this repo.

InsForge/InsForge · 60 tokens

react-grab

Use when the user wants a hands-free loop where grabbing UI elements in the browser with React Grab feeds tasks to the agent automatically, with no copy-paste or manual handoff. Triggers: "watch react grab", "monitor my grabs", "auto-process react grab", "watch my clipboard for grabs". Not for a one-off paste of a…

aidenybai/react-grab · 86 tokens

react-modern

Use this skill when writing or reviewing React 19+ code in WrongStack. Triggers: user mentions "React", "component", "useState", "useEffect", "Server Component", "Client Component", "Suspense", "useTransition", "use hook".

WrongStack/WrongStack · 57 tokens