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.
npx agentmods add skills/siberiacancode/agent-skills/reactusenpx skills add siberiacancode/agent-skills --skill reactusegit clone --depth 1 https://github.com/siberiacancode/agent-skillsWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00050 | $0.04084 |
| Opus 5 | $0.00025 | $0.02042 |
| Sonnet 5 | $0.00010 | $0.00817 |
| Haiku 4.5 | $0.00005 | $0.00408 |
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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 263 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
Invocationfield 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.mdmay override a hook’s defaultInvocationrule.
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.
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 |
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.
- AGENTS.md 257 KB
- metadata.json 478 B
- README.md 3.2 KB
- rules/_sections.md 1.6 KB
- rules/_template.md 1.1 KB
- rules/cn.md 1.2 KB
- rules/createContext.md 1.8 KB
- rules/createContextHook.md 1.3 KB
- rules/createEventEmitter.md 1.2 KB
- rules/createReactiveContext.md 1.9 KB
- rules/createSharedHook.md 1.1 KB
- rules/createStore.md 1.8 KB
- rules/makeDestructurable.md 985 B
- rules/target.md 1.4 KB
- rules/useActiveElement.md 1.3 KB
- rules/useAsync.md 917 B
- rules/useAsyncEffect.md 630 B
- rules/useAudio.md 2.2 KB
- rules/useAutoScroll.md 1.1 KB
- rules/useBatchedCallback.md 1.2 KB
- rules/useBattery.md 1.4 KB
- rules/useBluetooth.md 3.8 KB
- rules/useBoolean.md 723 B
- rules/useBreakpoints.md 2.4 KB
- rules/useBroadcastChannel.md 1000 B
- rules/useBrowserLanguage.md 560 B
- rules/useBrowserLocation.md 1.7 KB
- rules/useClickOutside.md 1.0 KB
- rules/useClipboard.md 966 B
- rules/useConst.md 523 B
- rules/useContextMenu.md 3.0 KB
- rules/useControllableState.md 1.6 KB
- rules/useCookie.md 2.8 KB
- rules/useCookies.md 1.2 KB
- rules/useCopy.md 815 B
- rules/useCounter.md 1.2 KB
- rules/useCssVar.md 1.3 KB
- rules/useCycleList.md 1.3 KB
- rules/useDebounceCallback.md 891 B
- rules/useDebounceEffect.md 788 B
- rules/useDebounceState.md 949 B
- rules/useDebounceValue.md 783 B
- rules/useDefault.md 875 B
- rules/useDeviceList.md 2.0 KB
- rules/useDeviceMotion.md 1.8 KB
- rules/useDeviceOrientation.md 990 B
- rules/useDevicePixelRatio.md 882 B
- rules/useDidUpdate.md 737 B
- rules/useDisclosure.md 1.2 KB
- rules/useDisplayMedia.md 2.6 KB
- rules/useDocumentEvent.md 774 B
- rules/useDocumentTitle.md 1.1 KB
- rules/useDocumentVisibility.md 732 B
- rules/useDoubleClick.md 1.7 KB
- rules/useDraggable.md 2.7 KB
- rules/useDropZone.md 2.6 KB
- rules/useEvent.md 745 B
- rules/useEventListener.md 2.4 KB
- rules/useEventSource.md 2.3 KB
- rules/useEyeDropper.md 974 B
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.
- 2d ago First seen · 263 lines · 50 tokens per session scan A 27c5c99c47e2
reactuse is a skill published in the GitHub repository siberiacancode/agent-skills (17 stars, last pushed 24d ago), licensed MIT. It adds 50 tokens to every session and 4,084 once invoked, about $0.0003 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.
Other skills, from other repositories
react-query-setup
Set up @trpc/tanstack-react-query with createTRPCContext(), TRPCProvider, useTRPC() hook, queryOptions/mutationOptions factories, query invalidation via queryClient.invalidateQueries with queryFilter, and type inference with inferInput/inferOutput.
react-query-classic-migration
Migrate from @trpc/react-query (classic) to @trpc/tanstack-react-query. Run npx @trpc/upgrade CLI for automated codemod. Manually migrate remaining patterns: hook-based to options-factory, utils.invalidate to queryClient.invalidateQueries with queryFilter, provider changes.
new-hook
Scaffold a new React hook in @reactuses/core with the repo's real conventions (interface.ts + multilingual JSDoc, SSR-safe browser access, shared-util reuse, 3-part public export). Triggers on "add a hook", "new hook", "scaffold a hook", "create a useXxx", or when implementing a new piece of hook functionality in…
nextjs-dashboard
Next.js 15+ App Router dashboard skill — server/client components, mobile nav, polling, data tables, skeleton states, and production-grade dashboard UX patterns.
server-setup
Initialize tRPC with initTRPC.create(), define routers with t.router(), create procedures with .query()/.mutation()/.subscription(), configure context with createContext(), export AppRouter type, merge routers with t.mergeRouters(), lazy-load routers with lazy().
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…