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); the path alone says nothing.

Good fit Use it when writing or reviewing React components and deciding how to respond to data or interface changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/canwhite/krebs/no-useeffect
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 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/github.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/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 no-useEffect

Your own site · 80×15
<a href="https://agentmods.dev/skills/canwhite/krebs/no-useeffect"><img src="https://agentmods.dev/badge/skills/canwhite/krebs/no-useeffect.svg" alt="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.5 $0.00010 $0.00591
Sonnet 5.5 $0.00005 $0.00295
Haiku 4.5 $0.00003 $0.00148

Measured 1mo ago against content hash 2673ca48731a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 1mo 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 (928 stars, last pushed 1mo 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.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-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

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, reviewing, or debugging React components and hooks — state, effects, data fetching, forms, Server and Client Components — in whatever React setup the project uses. Triggers: user mentions "React", "component", "hook", "useState", "useEffect", "re-render", "Server Component", "use client"…

WrongStack/WrongStack · 98 tokens

react

Use when building or reviewing a client-side React SPA bundled by Vite (React 19.2): components, where state lives, hooks, server data fetching, client routing, re-render and effect bugs. NOT App Router / server components / SSR (that is nextjs); NOT native screens (that is react-native).

ericrisco/rsc-harness · 70 tokens

react-native-expo

Build and upgrade React Native or Expo applications with navigation, native modules and verified platform integration. Use when implementing mobile screens, Expo Router flows or device capabilities; choose a supported SDK combination rather than forcing independent latest packages together.

WrongStack/WrongStack · 49 tokens