reactuse

reactuse is a skill for Claude Code, Codex from siberiacancode/agent-skills. It costs 50 tokens per session (4,230 once invoked), scanned A, original, MIT.

Um guia para escolher e aplicar hooks da biblioteca Reactuse em projetos React e Next.js. Hooks são funções reutilizáveis que ajudam componentes a gerir estado, operações assíncronas, APIs do navegador e interações da interface.

In plain words
What is it for?
Serve para encontrar o hook Reactuse adequado, verificar se ele pode substituir código existente e aplicá-lo conforme as regras de instalação e utilização da biblioteca.
Why use it?
Reduz a necessidade de escrever lógica de hooks personalizada para problemas comuns. Também orienta a escolha de padrões compatíveis com renderização no servidor e Next.js.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Serve para encontrar o hook Reactuse adequado, verificar se ele pode substituir código existente e aplicá-lo conforme as regras de instalação e utilização da biblioteca.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/siberiacancode/agent-skills/reactuse
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 siberiacancode/agent-skills --skill reactuse
Clone the repo
git clone --depth 1 https://github.com/siberiacancode/agent-skills

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 reactuse

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/siberiacancode/agent-skills/reactuse"><img src="https://agentmods.dev/badge/skills/siberiacancode/agent-skills/reactuse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,230 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 240
    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 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.00050 $0.04230
Opus 5.5 $0.00020 $0.01692
Sonnet 5.5 $0.00010 $0.00846
Haiku 4.5 $0.00005 $0.00423

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

Security

Grade A, and why

reactuse 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 10d 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/packages/reactuse/SKILL.md · 270 lines

How it starts

The opening of the file, as written. The whole thing — 270 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Reactuse

This skill is a decision-and-implementation guide for reactuse library for react.js / next.js projects. It maps requirements to the most suitable reactuse hook, applies the correct usage pattern, and prefers hook-based solutions over bespoke code to keep implementations concise, maintainable, and performant.

When to Apply

  • Apply this skill whenever assisting development work in React.js / Next.js.
  • Always check first whether a reactuse hook can implement the requirement.
  • Prefer reactuse hooks over custom code to improve readability, maintainability, and performance.
  • Map requirements to the most appropriate hook and follow the hook’s invocation rule.
  • Please refer to the Invocation field in the hooks table. For example:
    • AUTO: Use automatically when applicable.
    • EXTERNAL: Use only if the user already installed the required external dependency; otherwise reconsider, and ask to install only if truly needed.
    • EXPLICIT_ONLY: Use only when explicitly requested by the user.

      NOTE User instructions in the prompt or AGENTS.md may override a hook’s default Invocation rule.

Hooks

All hooks listed below are part of the reactuse library. Each section categorizes hooks based on their functionality.

IMPORTANT: Each hook entry includes a short Description and a detailed rule. When using any hook or helper, always consult the corresponding document in ./rules for usage details and type declarations.

Blocked upstream category: Reactuse also exports Humor hooks (useFul, useLess, useOnce) in recent releases. This skill intentionally does not support or recommend them because upstream marks them as jokes or non-production utilities.

Helpers

Hook Description Invocation
cn Normalizes conditional class names for React className. HIGH
createContext Creates a typed context with provider and selector hook. HIGH
createContextHook Scopes one hook result to a React subtree. LOW
createEventEmitter Creates a type-safe event emitter with a subscription hook. LOW
createReactiveContext Creates a typed context selector with optimized updates. LOW
createSharedHook Shares one hook instance across consumers. LOW
createStore Creates a external store with state, subscriptions, and a hook. MEDIUM
createWebMCP Creates an imperative registry for document-level WebMCP tools. LOW
deepEqual Compares nested values recursively across common built-in types. LOW
makeDestructurable Supports object and tuple consumption from one value. LOW
shallowEqual Compares top-level values across common built-in types. LOW
target Wraps DOM targets in the shape Reactuse hooks expect. MEDIUM

Read the full file on GitHub · 270 lines

Files

What ships with it

60 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.

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. 10d ago Changed · +5 lines 6b1f58345954
  2. 2mo ago Changed · +2 lines 00c997e6b20a
  3. 3mo ago First seen · 263 lines · 50 tokens per session scan A 27c5c99c47e2

Subscribe to this mod's changes

reactuse is a skill published in the GitHub repository siberiacancode/agent-skills (25 stars, last pushed 4d ago), licensed MIT. It adds 50 tokens to every session and 4,230 once invoked, about $0.0002 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

reactuse compared with skills from other repositories

reactuse next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
reactusesiberiacancode/agent-skillsSkill254d agoMITA50Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code
next-cache-components-optimizervercel/next.jsSkill144ktodayMITA123Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill144ktodayMITA103Claude Code
next-bundle-optimizervercel/next.jsSkill144ktodayMITA38Claude Code
next-dev-loopvercel/next.jsSkill144ktodayMITA68Claude Code
next-partial-prefetching-optimizervercel/next.jsSkill144ktodayMITA82Claude Code