react-docs-mcp: Skill for Claude Code

.claude/skills/using-docs-mcp/SKILL.md

using-docs-mcp is a skill for Claude Code from Sannnao/react-docs-mcp. It costs 44 tokens per session (509 once invoked), scanned A, original, MIT.

Instructions for using search and document-retrieval tools that index current React or React Native documentation. React and React Native are JavaScript tools for building web and mobile interfaces.

In plain words
What is it for?
Searching for API guidance, narrowing results to documentation sections, opening relevant pages, and retrieving fuller instructions for migrations or multi-step procedures.
Why use it?
It reduces reliance on possibly outdated remembered API details by checking the live indexed documentation before writing code.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Sannnao/react-docs-mcp's own configuration. It tells Claude Code how to work on react-docs-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything react-docs-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Sannnao/react-docs-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Sannnao/react-docs-mcp/master/.claude/skills/using-docs-mcp/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Sannnao/react-docs-mcp

Made for: Claude Code.

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 using-docs-mcp

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sannnao/react-docs-mcp/using-docs-mcp"><img src="https://agentmods.dev/badge/skills/sannnao/react-docs-mcp/using-docs-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 509 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.00044 $0.00509
Opus 5.5 $0.00018 $0.00204
Sonnet 5.5 $0.00009 $0.00102
Haiku 4.5 $0.00004 $0.00051

Measured 1mo ago against content hash 7896ebb1f79e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

.claude/skills/using-docs-mcp/SKILL.md · 18 lines

How it starts

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

Using react-docs-mcp / react-native-docs-mcp

When these MCP servers are connected, prefer them over recalling React or React Native APIs from memory — training data goes stale, these tools index the live docs repo.

Workflow

  1. Search first. Call search_react_docs (or search_react_native_docs) with a natural-language query before writing any React/React Native code that touches an API you're not 100% certain about. 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 — enough for most questions.
  3. Use full: true sparingly. Pass full: true to get_doc only when the summary likely cuts off something you need — long migration/upgrade guides, multi-step setup pages, or anything with many sequential steps where truncation would hide later steps. Don't default to full for every call; it costs more context for no benefit on short reference pages.
  4. Filter by section when you know the area. section narrows results (e.g. learn/reference/blog/community for React; the-new-architecture/legacy/releases for React Native). For React Native, most pages have no section — search unfiltered unless you're specifically after one of those three areas.
  5. Pin React Native docs to the user's actual version when it matters. If the project's installed react-native version is known and differs from latest, and the question is about an API that may have changed across versions, note that react-native-docs-mcp can be started with --docs-version=X.YY to index that release's frozen docs snapshot instead of always-current — mention this to the user rather than silently assuming latest-version behavior applies to their older app.
  6. Refresh if docs seem stale or contradict recent framework changes. Call update_docs to pull the latest commit before concluding an API doesn't exist.

Read the full file on GitHub · 18 lines

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 First seen · 18 lines · 44 tokens per session scan A 7896ebb1f79e

Subscribe to this mod's changes

using-docs-mcp is a skill published in the GitHub repository Sannnao/react-docs-mcp (8 stars, last pushed 3mo ago), licensed MIT. It adds 44 tokens to every session and 509 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-31.

Related

Other skills, from other repositories

tamagui-upgrade-v3

Migrate an app from Tamagui v2 (or v1) to v3. Use when upgrading Tamagui versions, removing $ token prefixes, converting hoverStyle/pressStyle/media/theme/platform condition objects to flat values, running the flat-values codemod, or fixing v3 breaking changes. Triggers: "upgrade tamagui", "migrate to v3", "flat…

tamagui/tamagui · 120 tokens

tamagui

Universal React UI framework for web and native with flat conditional values. Use when building cross-platform apps with Tamagui, writing styled components, or applying tokens, themes, animations, and media queries.

tamagui/tamagui · 44 tokens

tamagui-v6-config

Tamagui v6 theme system: the light/dark/accent/brand/inverse/level/active theme family, the background-active one-off key, and recipe-tree authoring with createV6Config. Use when choosing a theme for a surface, building a selected/emphasis state, or authoring a custom v6 colors pack.

tamagui/tamagui · 0 tokens

tamagui-theme-generator

Generate custom Tamagui themes, color palettes, and preview URLs. Use when creating or refining a color scheme, authoring light/dark palettes with brand accents, or previewing generated themes in the browser.

tamagui/tamagui · 48 tokens

git-safety

Git safety rules. INVOKE WHEN: git push, force push, git reset, git clean, destructive git, push force, reset hard. NEVER force push or do destructive git operations.

tamagui/tamagui · 0 tokens

release-safety

Release safety rules. INVOKE WHEN: yarn release, npm publish, release canary, release packages, publishing, skip checks, skip tests. NEVER skip checks or tests without explicit permission.

tamagui/tamagui · 0 tokens