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-browser-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-browser-app)<a href="https://agentmods.dev/skills/metamask/metamask-connect-cursor-plugin/setup-solana-browser-app"><img src="https://agentmods.dev/badge/skills/metamask/metamask-connect-cursor-plugin/setup-solana-browser-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-browser-app"><img src="https://agentmods.dev/badge/skills/metamask/metamask-connect-cursor-plugin/setup-solana-browser-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.00046 | $0.02514 |
| Opus 5.5 | $0.00018 | $0.01006 |
| Sonnet 5.5 | $0.00009 | $0.00503 |
| Haiku 4.5 | $0.00005 | $0.00251 |
Grade A, and why
setup-solana-browser-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 3mo 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 — 263 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Setup Solana Browser App with MetaMask
When to use
Use this skill when:
- Integrating MetaMask with Solana in a vanilla JavaScript or non-React browser app
- Using wallet-standard features directly without
@solana/wallet-adapter-react - Building connect, sign, and send flows with the
SolanaClientAPI - Accessing wallet-standard features like
solana:signTransactionorsolana:signMessagedirectly
Workflow
Step 1: Install dependencies
npm install @metamask/connect-solana @metamask/connect-multichain @solana/web3.js
@metamask/connect-multichain is a regular dependency of @metamask/connect-solana and is installed transitively. (Only the 2.0.0 release briefly made it a peer dependency; 2.1.0 reverted that.) Installing it explicitly is harmless but not required. The SDK warns at runtime if duplicate or mismatched copies are resolved.
Step 2: Create the Solana client
import { createSolanaClient } from '@metamask/connect-solana';
const solanaClient = await createSolanaClient({
dapp: {
name: 'My Solana DApp',
url: window.location.href,
},
api: {
supportedNetworks: {
mainnet: 'https://api.mainnet-beta.solana.com',
},
},
});
createSolanaClient returns Promise<SolanaClient>:
| Property | Type | Description |
|---|---|---|
core |
MultichainCore |
The underlying multichain client instance |
getWallet() |
() => Wallet |
Returns the wallet-standard Wallet (from @wallet-standard/base) |
registerWallet() |
() => Promise<void> |
Manually register the wallet (auto-called unless skipAutoRegister: true) |
disconnect() |
() => Promise<void> |
Disconnect and revoke Solana scopes |
Step 3: Get the wallet and connect
const wallet = solanaClient.getWallet();
// The wallet exposes wallet-standard features
console.log('Wallet name:', wallet.name); // "MetaMask"
console.log('Available features:', Object.keys(wallet.features));
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.
- 3mo ago First seen · 263 lines · 46 tokens per session scan A 355c7f04d0b9
setup-solana-browser-app is a skill published in the GitHub repository MetaMask/metamask-connect-cursor-plugin (2 stars, last pushed 2mo ago), licensed MIT. It adds 46 tokens to every session and 2,514 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-browser-app compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| setup-solana-browser-appMetaMask/metamask-connect-cursor-plugin | Skill | 2 | 2mo ago | MIT | A | 46 | Cursor |
| walkeros-create-sourceelbwalker/walkerOS | Skill | 354 | yesterday | MIT | A | 65 | Claude Code |
| bitcoin-infrastructure-caravanclaude-dev-suite/claude-dev-suite | Skill | 51 | 3d ago | MIT | A | 50 | Claude Code |
| stellar-mcprylsherdamz-rgb/stellar-forge | Skill | 17 | 13d ago | MIT | A | 61 | Claude Code |
| dex-screener-scannerx402agent/solana-clawd | Skill | 26 | 6mo ago | MIT | A | 90 | Claude Code, Codex |
| vivado-constraintsadeleempurpled290/FPGA-Agent-skills | Skill | 37 | 2mo ago | GPL-2.0 | A | 205 | Claude Code, Codex |
| wallet-operations13broxs/capy-ai | Skill | 5 | 6mo ago | none | A | 3 | Claude Code, Codex |