react

react is a skill for Claude Code, Codex from hmj1026/dhpk. It costs 69 tokens per session (558 once invoked), scanned A, original, MIT.

A version-aware guide for React, a JavaScript library for building user interfaces. It covers setup, rendering, effects, hooks, refs, Actions, and changes between React 18 and React 19.

In plain words
What is it for?
Use it to implement or review React components and application setup, fix effect or hook issues, or plan a React 18-to-19 migration. It does not cover Next.js framework APIs.
Why use it?
React behaviour and recommended APIs differ between major versions, and a package may use a different version from the wider repository. This resolves the target package before giving version-specific advice.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the dhpk plugin — 39 skills, 1 command, 1 agent, 3 hooks shipped together

Good fit Use it to implement or review React components and application setup, fix effect or hook issues, or plan a React 18-to-19 migration. It does not cover Next.js framework APIs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hmj1026/dhpk/react
View source ↗ hmj1026/dhpk
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 hmj1026/dhpk --skill react
Clone the repo
git clone --depth 1 https://github.com/hmj1026/dhpk

Made for: Claude Code, Codex.

Or install dhpk, the plugin that ships this one along with the rest of its 39 skills, 1 command, 1 agent, 3 hooks.

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 react

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hmj1026/dhpk/react"><img src="https://agentmods.dev/badge/skills/hmj1026/dhpk/react.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 558 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 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.00069 $0.00558
Opus 5.5 $0.00028 $0.00223
Sonnet 5.5 $0.00014 $0.00112
Haiku 4.5 $0.00007 $0.00056

Measured yesterday against content hash 54018dc160fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

generated/claude-marketplace/package/skills/flow-drive/references/react/SKILL.md · 48 lines

How it starts

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

React

Describe the React task directly, for example: “Review effect cleanup in packages/admin” or “Migrate packages/web from React 18 to React 19.” Optional review or migrate prefixes express the same tasks.

  1. Target. Read target-selection.md, then resolve the package/subproject and React version from explicit task inputs and that package's evidence. Complete its clarification gate before reading a version resource or taking a version-dependent action.
  2. Load. For a resolved React 18 target, read 18.md. For React 19, read 19.md. Read both only for an explicit 18-to-19 migration or multiple resolved targets, and group notes by target. Load only the selected resource; the links are a menu, not a preload list.
  3. Apply. Match root APIs, effects, hooks, and migration traps to the selected target and requested change. Keep Next.js framework decisions in the separate Next.js family. A React task can finish from this directory without finding another skill or an ambient repository document.
  4. Verify. Report the package path, target/version evidence (including an intentional override), selected references, recommendations or applied changes, and actual checks. Distinguish guidance from verified runtime behavior; report unavailable checks as NOT_RUN.

Resource boundary

Resolve bundled links relative to this skill's real directory. Before loading a selected resource, verify that it exists and its real path stays within this directory. Missing, absolute, traversal, or symlink-escaping required resources return BLOCKED_RESOURCE_MISSING; stop the dependent action without searching the checkout, predecessor skills, sibling skills, or environment for a copy. Target project manifests and source files are explicit task inputs, not bundled fallback resources.

Output

Return target-scoped React guidance or changes, the relevant migration traps, and verification evidence. For unresolved targets, return one grouped clarification and wait; provide no version-specific recommendation yet.

Read the full file on GitHub · 48 lines

Files

What ships with it

5 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. yesterday First seen · 48 lines · 69 tokens per session scan A 54018dc160fa

Subscribe to this mod's changes

react is a skill published in the GitHub repository hmj1026/dhpk (2 stars, last pushed today), licensed MIT. It adds 69 tokens to every session and 558 once invoked, about $0.0003 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-10-16.

Related

Other skills, from other repositories

harness

A meta-skill for designing and maintaining a project harness: a coordinated set of specialist agents, skills, and project instructions. It defines their roles, connects them to the project, and updates the setup as the work changes.

revfactory/harness · 184 tokens

evolve

A workflow for improving an existing setup that guides coding agents. It collects results and feedback, compares the current setup with its starting version, and records useful changes.

revfactory/harness · 184 tokens

genpage

Creates, updates, and deploys Power Apps generative pages for model-driven apps using React v17, TypeScript, and Fluent UI V9. Orchestrates specialist agents for planning, entity creation, and code generation. Use it when user asks to build, retrieve, or update a page in an existing Microsoft Power Apps model-driven…

microsoft/power-platform-skills · 140 tokens

aceternity-ui

100+ animated React components (Aceternity UI) for Next.js with Tailwind. Use for hero sections, parallax, 3D effects, or encountering animation, shadcn CLI integration errors.

secondsky/claude-skills · 48 tokens

auto-animate

AutoAnimate (@formkit/auto-animate) zero-config animations for React. Use for list transitions, accordions, toasts, or encountering SSR errors, animation libraries complexity.

secondsky/claude-skills · 40 tokens

bun-tanstack-start

TanStack Start full-stack React framework with Bun runtime. Use for TanStack Router, server functions, vinxi, or encountering SSR, build, preset errors.

secondsky/claude-skills · 38 tokens