using-react-hook-form-docs-mcp

A usage guide for a search tool that retrieves the current official documentation for React Hook Form, a library for building forms in React applications.

In plain words
What is it for?
Use it when checking registration options, validation, field arrays, resolver behavior, getting-started guides, FAQs, TypeScript guidance, or migration instructions.
Why use it?
React Hook Form APIs can change, and remembered information may be outdated. The guide directs the agent to search the live documentation before writing uncertain form code.

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/sannnao/react-docs-mcp/using-react-hook-form-docs-mcp
Any agent
npx skills add Sannnao/react-docs-mcp --skill using-react-hook-form-docs-mcp
Clone the repo
git clone --depth 1 https://github.com/Sannnao/react-docs-mcp

Made for: Claude Code, Codex.

Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 343 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.00041 $0.00343
Opus 5 $0.00020 $0.00171
Sonnet 5 $0.00008 $0.00069
Haiku 4.5 $0.00004 $0.00034

Measured 3d ago against content hash e7702bdb6fbb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

using-react-hook-form-docs-mcp 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 3d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

packages/react-hook-form-docs-mcp/.claude/skills/using-react-hook-form-docs-mcp/SKILL.md · 17 lines

What it actually says

Using react-hook-form-docs-mcp

When this MCP server is connected, prefer it over recalling React Hook Form APIs from memory — training data goes stale, this tool indexes the live official docs.

Workflow

  1. Search first. Call search_react_hook_form_docs with a natural-language query before writing form code that touches an API you're not 100% certain about (register options, validation rules, useFieldArray methods, resolver behavior). Results include a relevance-ranked snippet and a url.
  2. Drill in only when needed. If the search snippet isn't enough, call get_doc with the path from a search result. It returns a ~1500 char summary plus a structure outline by default.
  3. Use full: true sparingly. Pass full: true to get_doc only for long guides — Advanced Usage, the v7→v8 migration guide — where truncation would hide later steps. Don't default to full for short API reference pages.
  4. Search unfiltered by default. Only docs/ (the API reference) is a real section; guide pages (get-started, advanced-usage, faqs, ts) live at the content root and are missed by any section filter.
  5. Refresh if docs seem stale. Call update_docs to pull the latest commit before concluding an API doesn't exist.
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. 3d ago First seen · 17 lines · 41 tokens per session scan A e7702bdb6fbb

Subscribe to this mod's changes

using-react-hook-form-docs-mcp is a skill published in the GitHub repository Sannnao/react-docs-mcp (8 stars, last pushed 1mo ago), licensed MIT. It adds 41 tokens to every session and 343 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

using-react-hook-form-docs-mcp

How to effectively use the react-hook-form-docs-mcp search and doc-retrieval tools instead of relying on training-data memory of React Hook Form APIs.

Sannnao/react-hook-form-docs-mcp · 41 tokens

using-react-native-docs-mcp

How to effectively use the react-native-docs-mcp search and doc-retrieval tools instead of relying on training-data memory of React Native APIs.

Sannnao/react-native-docs-mcp · 38 tokens

tamagui

Universal React UI framework for web and native. Use when building cross-platform apps with Tamagui, creating styled components with styled(), configuring design tokens/themes, using Tamagui UI components, or working with animations. Triggers: "tamagui", "styled()", "$token", "XStack/YStack", "useTheme", "@tamagui/"…

tamagui/tamagui · 90 tokens

truesheet-usage

Consumer-side guide for integrating @lodev09/react-native-true-sheet into a React Native app. Use this skill whenever the user wants to add, configure, control, or debug a bottom sheet using TrueSheet — including ref-based sheets, named global sheets, web support with TrueSheetProvider/useTrueSheet, React Navigation…

lodev09/react-native-true-sheet · 169 tokens

writing-react-native-storybook-stories

Create and edit React Native Storybook stories using Component Story Format (CSF). Use when writing .stories.tsx files, adding stories to React Native components, configuring Storybook addons (controls, actions, backgrounds, notes), setting up argTypes, decorators, parameters, or working with portable stories for…

storybookjs/react-native · 83 tokens

setup-react-native-storybook

Set up Storybook for React Native in Expo, React Native CLI, or Re.Pack projects. Use when adding Storybook to a project, configuring metro.config.js with withStorybook, creating .rnstorybook configuration files, setting up Storybook routes in Expo Router, configuring getStorybookUI, or adding the StorybookPlugin to a…

storybookjs/react-native · 102 tokens