react_patterns_hooks

A restricted knowledge service for coding agents, offering searchable guidance about React patterns and hooks. React is a JavaScript library for building user interfaces, and hooks are functions used to manage component behaviour and state.

In plain words
What is it for?
Use it when looking for React implementation guidance, especially around component patterns and hooks. The available excerpt does not support more specific claims.
Why use it?
It can provide relevant React guidance without relying only on the agent's general knowledge. The supplied information does not describe the individual knowledge packs or the exact search process.

Skill for Claude CodeCodex

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/midosresearch/midos/react_patterns_hooks
Any agent
npx skills add MidOSresearch/midos --skill react_patterns_hooks
Clone the repo
git clone --depth 1 https://github.com/MidOSresearch/midos

Made for: Claude Code, Codex.

Per session 3 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 142 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00003 $0.00142
Opus 5 $0.00002 $0.00071
Sonnet 5 $0.00001 $0.00028
Haiku 4.5 $0.00000 $0.00014

Measured yesterday against content hash 93a3635dbf45, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

react_patterns_hooks 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 yesterday.

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.

knowledge/skills/react_patterns_hooks/SKILL.md · 25 lines

What it actually says

Note: Full content available to MidOS PRO subscribers. See https://midos.dev/pricing

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. yesterday First seen · 25 lines · 3 tokens per session scan A 93a3635dbf45

Subscribe to this mod's changes

react_patterns_hooks is a skill published in the GitHub repository MidOSresearch/midos (8 stars, last pushed 4mo ago), licensed MIT. It adds 3 tokens to every session and 142 once invoked, about $0.0000 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-31.