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/speakeasy-api/gram/vercel-react-best-practicesnpx skills add speakeasy-api/gram --skill vercel-react-best-practicesgit clone --depth 1 https://github.com/speakeasy-api/gramWrote 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.
[](https://agentmods.dev/skills/speakeasy-api/gram/vercel-react-best-practices)<a href="https://agentmods.dev/skills/speakeasy-api/gram/vercel-react-best-practices"><img src="https://agentmods.dev/badge/skills/speakeasy-api/gram/vercel-react-best-practices.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00067 | $0.01533 |
| Opus 5 | $0.00034 | $0.00766 |
| Sonnet 5 | $0.00013 | $0.00307 |
| Haiku 4.5 | $0.00007 | $0.00153 |
Grade A, and why
vercel-react-best-practices 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 4d 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.
The source is not reproduced here
Licensed AGPL-3.0
The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.
What ships with it
58 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 80 KB
- rules/advanced-event-handler-refs.md 1.5 KB
- rules/advanced-init-once.md 967 B
- rules/advanced-use-latest.md 1.1 KB
- rules/async-api-routes.md 1.1 KB
- rules/async-defer-await.md 2.0 KB
- rules/async-dependencies.md 1.3 KB
- rules/async-parallel.md 659 B
- rules/async-suspense-boundaries.md 2.5 KB
- rules/bundle-barrel-imports.md 2.3 KB
- rules/bundle-conditional.md 966 B
- rules/bundle-defer-third-party.md 928 B
- rules/bundle-dynamic-imports.md 799 B
- rules/bundle-preload.md 1.1 KB
- rules/client-event-listeners.md 2.0 KB
- rules/client-localstorage-schema.md 2.0 KB
- rules/client-passive-event-listeners.md 1.6 KB
- rules/client-swr-dedup.md 1.1 KB
- rules/js-batch-dom-css.md 3.2 KB
- rules/js-cache-function-results.md 1.9 KB
- rules/js-cache-property-access.md 536 B
- rules/js-cache-storage.md 1.6 KB
- rules/js-combine-iterations.md 768 B
- rules/js-early-exit.md 1.1 KB
- rules/js-hoist-regexp.md 1.0 KB
- rules/js-index-maps.md 850 B
- rules/js-length-check-first.md 1.7 KB
- rules/js-min-max-loop.md 2.2 KB
- rules/js-set-map-lookups.md 532 B
- rules/js-tosorted-immutable.md 1.7 KB
- rules/rendering-activity.md 566 B
- rules/rendering-animate-svg-wrapper.md 1.1 KB
- rules/rendering-conditional-render.md 938 B
- rules/rendering-content-visibility.md 818 B
- rules/rendering-hoist-jsx.md 993 B
- rules/rendering-hydration-no-flicker.md 2.2 KB
- rules/rendering-hydration-suppress-warning.md 852 B
- rules/rendering-svg-precision.md 588 B
- rules/rendering-usetransition-loading.md 2.0 KB
- rules/rerender-defer-reads.md 983 B
- rules/rerender-dependencies.md 833 B
- rules/rerender-derived-state-no-effect.md 1.2 KB
- rules/rerender-derived-state.md 732 B
- rules/rerender-functional-setstate.md 2.9 KB
- rules/rerender-lazy-state-init.md 2.0 KB
- rules/rerender-memo-with-default-value.md 1.1 KB
- rules/rerender-memo.md 1.1 KB
- rules/rerender-move-effect-to-event.md 1.2 KB
- rules/rerender-simple-expression-in-memo.md 1023 B
- rules/rerender-transitions.md 1.0 KB
- rules/rerender-use-ref-transient-values.md 1.7 KB
- rules/server-after-nonblocking.md 2.0 KB
- rules/server-auth-actions.md 2.6 KB
- rules/server-cache-lru.md 1.3 KB
- rules/server-cache-react.md 2.2 KB
- rules/server-dedup-props.md 2.0 KB
- rules/server-parallel-fetching.md 1.5 KB
- rules/server-serialization.md 1006 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.
- 4d ago First seen · 139 lines · 67 tokens per session scan A e8841c6512b3
vercel-react-best-practices is a skill published in the GitHub repository speakeasy-api/gram (267 stars, last pushed 4d ago), licensed AGPL-3.0. It adds 67 tokens to every session and 1,533 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-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance…
langchain
Framework for building LLM-powered applications with agents, chains, and RAG. Supports multiple providers (OpenAI, Anthropic, Google), 500+ integrations, ReAct agents, tool calling, memory management, and vector store retrieval. Use for building chatbots, question-answering systems, autonomous agents, or RAG…
trigger-realtime-and-frontend
Trigger.dev client/frontend surface: subscribe to runs in realtime (runs.subscribeToRun and the @trigger.dev/react-hooks hook useRealtimeRun), consume metadata and AI/text streams in React (useRealtimeStream), trigger tasks from the browser (useTaskTrigger, useRealtimeTaskTrigger), and mint scoped frontend credentials…
formkit
Use when working with FormKit forms, validation, schema, or custom inputs in React, Vue, or Nuxt projects.
decocms-ui
Build or style React UI with the decocms product design system (@decocms/ui). Use when creating interfaces, pages, or components in a project that should look like decocms products, when the user mentions "design system", "@decocms/ui", "decocms style", or asks to make UI consistent with Studio. Covers installation…
run-parity
Compare React Doctor diagnostics for a GitHub pull request (PR) with Daytona. Use when asked to run parity, check a PR for diagnostic regressions, compare a PR with its base, or report added and removed diagnostics.