reactuse

reactuse is a skill for Claude Code, Codex from siberiacancode/agent-skills. It costs 50 tokens per session (4,137 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,137 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.04137
Opus 5.5 $0.00020 $0.01655
Sonnet 5.5 $0.00010 $0.00827
Haiku 4.5 $0.00005 $0.00414

Measured 1mo ago against content hash 00c997e6b20a, 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 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/reactuse/SKILL.md · 265 lines

How it starts

The opening of the file, as written. The whole thing — 265 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 Reference. When using any hook, always consult the corresponding document in ./references 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
makeDestructurable Supports object and tuple consumption from one value. LOW
target Wraps DOM targets in the shape Reactuse hooks expect. MEDIUM

Read the full file on GitHub · 265 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. 1mo ago Changed · +2 lines 00c997e6b20a
  2. 1mo 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 (23 stars, last pushed 8d ago), licensed MIT. It adds 50 tokens to every session and 4,137 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

Other skills, from other repositories

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-cache-components-optimizer

Optimize the meaningful UI available immediately from a Next.js route on an initial load (hard navigation) or named client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route and entry point at a time; the shipped test then guards…

vercel/next.js · 123 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

next-bundle-optimizer

Audit and reduce Next.js browser initial-load work. Use for slow route startup, oversized client bundles, duplicate browser dependencies, or features that can wait for interaction.

vercel/next.js · 38 tokens

next-dev-loop

Verify Next.js runtime behavior after editing app code. Use this skill to confirm a change actually works in a running app — not just that it compiles or type-checks. Combines /next/mcp (Next.js's view) with agent-browser (the browser's view). Requires a running next dev.

vercel/next.js · 68 tokens

next-partial-prefetching-optimizer

Optimize what selected Next.js client navigations include before the click under Partial Prefetching. Use after Cache Components and Partial Prefetching are adopted when the user wants selected URL-specific UI to be instant, wants reusable content to wait for navigation, or needs to choose between default, viewport…

vercel/next.js · 82 tokens