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 skills add MetaMask/metamask-connect-cursor-plugin --skill setup-solana-react-native-appgit clone --depth 1 https://github.com/MetaMask/metamask-connect-cursor-pluginWrote 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/metamask/metamask-connect-cursor-plugin/setup-solana-react-native-app)<a href="https://agentmods.dev/skills/metamask/metamask-connect-cursor-plugin/setup-solana-react-native-app"><img src="https://agentmods.dev/badge/skills/metamask/metamask-connect-cursor-plugin/setup-solana-react-native-app/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.
<a href="https://agentmods.dev/skills/metamask/metamask-connect-cursor-plugin/setup-solana-react-native-app"><img src="https://agentmods.dev/badge/skills/metamask/metamask-connect-cursor-plugin/setup-solana-react-native-app.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00052 | $0.03539 |
| Opus 5.5 | $0.00021 | $0.01416 |
| Sonnet 5.5 | $0.00010 | $0.00708 |
| Haiku 4.5 | $0.00005 | $0.00354 |
Grade A, and why
setup-solana-react-native-app 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 2mo 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 — 382 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Setup Solana React Native App with MetaMask
When to use
Use this skill when:
- Integrating MetaMask with Solana in a React Native application
- Setting up the required polyfills and metro shims for
@metamask/connect-solana - Building Solana sign and send flows in React Native using
invokeMethod - You need Solana support in React Native where
@solana/wallet-adapter-reactis not available
Workflow
Step 1: Install dependencies
npm install @metamask/connect-solana @metamask/connect-multichain @solana/web3.js react-native-get-random-values buffer readable-stream @react-native-async-storage/async-storage
@metamask/connect-multichain is a regular dependency of @metamask/connect-solana and is installed transitively — but this skill imports createMultichainClient directly (to configure mobile.preferredOpenLink, which createSolanaClient does not forward), so declare it explicitly to keep strict package managers (pnpm) happy. The SDK warns at runtime if duplicate or mismatched copies are resolved.
Step 2: Create the polyfills file
Create polyfills.ts at the root of your project.
// polyfills.ts
import { Buffer } from 'buffer';
// Buffer — connect-multichain self-polyfills this, but set early as a safety
// net for peer deps (e.g. @solana/web3.js) that may load first.
global.Buffer = Buffer;
// window object — required for correct platform detection and deeplink behaviour.
const eventListeners = new Map<string, Set<EventListener>>();
if (typeof global.window === 'undefined') {
(global as any).window = {
location: {
hostname: 'my-rn-app',
href: 'https://my-rn-app.local',
},
navigator: { product: 'ReactNative' },
addEventListener: (event: string, listener: EventListener) => {
if (!eventListeners.has(event)) eventListeners.set(event, new Set());
eventListeners.get(event)?.add(listener);
},
removeEventListener: (event: string, listener: EventListener) => {
eventListeners.get(event)?.delete(listener);
},
dispatchEvent: (_event: Event) => true,
};
}
// NOTE: Event and CustomEvent are NOT needed for standalone connect-solana —
// the SDK uses eventemitter3 internally. Add them only if using wagmi.
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.
- 2mo ago First seen · 382 lines · 52 tokens per session scan A 66ae7cd73ab6
setup-solana-react-native-app is a skill published in the GitHub repository MetaMask/metamask-connect-cursor-plugin (2 stars, last pushed 1mo ago), licensed MIT. It adds 52 tokens to every session and 3,539 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.
setup-solana-react-native-app compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| setup-solana-react-native-appMetaMask/metamask-connect-cursor-plugin | Skill | 2 | 1mo ago | MIT | A | 52 | Cursor |
| amethystvitorpamplona/amethyst | Skill | 1.6k | yesterday | MIT | C | 0 | Claude Code, Codex |
| bitcoin-infrastructure-bluewalletclaude-dev-suite/claude-dev-suite | Skill | 47 | 4d ago | MIT | A | 59 | Claude Code |
| seeker-connectsolana-mobile/solana-mobile-skills | Skill | 8 | 16d ago | Apache-2.0 | A | 142 | Claude Code, Codex |
| solana-mobile-publishingsolana-mobile/solana-mobile-skills | Skill | 8 | 16d ago | Apache-2.0 | A | 76 | Claude Code, Codex |
| integration-privysolana-mobile/solana-mobile-skills | Skill | 8 | 16d ago | Apache-2.0 | A | 87 | Claude Code, Codex |
| solana-mobilesolana-mobile/solana-mobile-skills | Skill | 8 | 16d ago | Apache-2.0 | A | 89 | Claude Code, Codex |