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/verygoodsecurity/collect-js-react/vgs-collect-react-guidenpx skills add verygoodsecurity/collect-js-react --skill vgs-collect-react-guidegit clone --depth 1 https://github.com/verygoodsecurity/collect-js-reactWrote 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/verygoodsecurity/collect-js-react/vgs-collect-react-guide)<a href="https://agentmods.dev/skills/verygoodsecurity/collect-js-react/vgs-collect-react-guide"><img src="https://agentmods.dev/badge/skills/verygoodsecurity/collect-js-react/vgs-collect-react-guide.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.00105 | $0.01394 |
| Opus 5 | $0.00053 | $0.00697 |
| Sonnet 5 | $0.00021 | $0.00279 |
| Haiku 4.5 | $0.00011 | $0.00139 |
Grade A, and why
vgs-collect-react-guide 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.
How it starts
The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.
VGS Collect React Guide
Use this skill for public customer integration guidance for @vgs/collect-js-react only. Keep answers and bundled references limited to public React wrapper APIs, required public loader setup, examples, and troubleshooting.
Route First
- Read
references/react.mdfor React wrapper setup, components, hooks, props, submit modes, and examples. - Read
references/compatibility.mdwhen the answer mentions wrapper installation, React support, Collect core version selection, or upgrade questions. - Use
examples/react-basic/App.tsxonly when the selected flow is the default React CMP create-card flow.
Do not load or answer with vanilla JavaScript-only integration patterns unless the user explicitly asks to leave React. If they need direct CDN script tags, window.VGSCollect, or non-React loadVGSCollect examples, use a vanilla JavaScript Collect guide instead.
Task Routing
Choose one primary task mode before answering. The primary mode controls the shape of the output.
integrate: first-time React wrapper setup. Confirm the app loads Collect core before rendering fields, chooseVGSCollectSessionfor new work, and use the selected submit flow.implement: add or change a wrapper feature in the customer's app context. Generate code with explicit validation, error handling, and placeholders for secrets, identifiers, endpoints, and environment values the user has not supplied.migrate: move between wrapper, loader, or Collect core versions, or replace legacyVGSCollectFormusage. Compare current and target versions separately for@vgs/collect-js-react,@vgs/collect-js, and Collect core.troubleshoot: localize the failure before changing code. Prefer package state, loader/CDN configuration, console errors, network errors, sanitized logs, or a minimal repro.review: review code against public wrapper APIs, selected flow, version evidence, security rules, compatibility, and missing tests. Flag private, deprecated, insecure, or version-incompatible behavior.
What ships with it
3 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.
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 · 81 lines · 105 tokens per session scan A 1d0c39943c62
vgs-collect-react-guide is a skill published in the GitHub repository verygoodsecurity/collect-js-react (2 stars, last pushed 1mo ago), licensed MIT. It adds 105 tokens to every session and 1,394 once invoked, about $0.0005 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.
Other skills, from other repositories
react-patterns
React 18/19 patterns including hooks discipline, server/client component boundaries, Suspense + error boundaries, form actions, data fetching, state management decision trees, and accessibility-first composition. Use when writing or reviewing React components.
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…
material-ui-tailwind
Integrates Material UI with Tailwind CSS v4 using cascade layers (enableCssLayer, @layer order) and documents Tailwind v3 interoperability (preflight, important, injectFirst, portals). Use when combining MUI with Tailwind utilities, slotProps className, or theme token bridges.
verify
Use when you want to validate changes before committing, or when you need to check all React contribution requirements.
r3f-best-practices
React Three Fiber (R3F) and Poimandres ecosystem best practices. Use when writing, reviewing, or optimizing R3F code. Triggers on tasks involving @react-three/fiber, @react-three/drei, zustand, @react-three/postprocessing, @react-three/rapier, or leva.
assistant-ui-primitives
Guide for assistant-ui UI primitives - ThreadPrimitive, ComposerPrimitive, MessagePrimitive. Use when customizing chat UI components.