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 migrate-wagmi-metamask-connectorgit 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/migrate-wagmi-metamask-connector)<a href="https://agentmods.dev/skills/metamask/metamask-connect-cursor-plugin/migrate-wagmi-metamask-connector"><img src="https://agentmods.dev/badge/skills/metamask/metamask-connect-cursor-plugin/migrate-wagmi-metamask-connector/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/migrate-wagmi-metamask-connector"><img src="https://agentmods.dev/badge/skills/metamask/metamask-connect-cursor-plugin/migrate-wagmi-metamask-connector.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.00039 | $0.02584 |
| Opus 5 | $0.00019 | $0.01292 |
| Sonnet 5 | $0.00008 | $0.00517 |
| Haiku 4.5 | $0.00004 | $0.00258 |
Grade A, and why
migrate-wagmi-metamask-connector 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 12d 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 — 280 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Migrate Wagmi MetaMask Connector to @metamask/connect-evm
When to use
- Upgrading a wagmi project from
@wagmi/connectorsv6.x/v7.x (which bundled@metamask/sdk) to v8.x+ / wagmi >= 3.6 (which uses@metamask/connect-evm) - You see errors like
Cannot find module '@metamask/sdk'after updating wagmi - You want to adopt the new MetaMask Connect SDK in an existing wagmi app
- Consumer is migrating to the latest wagmi version that includes the MetaMask connector refactor (PR #4960)
Breaking Change Summary
The MetaMask connector in wagmi has been completely rewritten. The underlying SDK changed from @metamask/sdk to @metamask/connect-evm. The connector now dynamically imports @metamask/connect-evm instead of bundling @metamask/sdk.
Key impacts:
- New optional peer dependency:
@metamask/connect-evmmust be installed explicitly, at a version inside wagmi's declared peer range (checknpm info @wagmi/connectors peerDependencies— currently^1.3.0) - Old dependency
@metamask/sdkshould be removed - Configuration parameter names changed (
dappMetadata→dapp,useDeeplink→mobile.useDeeplink) - Several deprecated SDK-specific options are removed entirely
- Internal provider type changed from
SDKProvidertoEIP1193Provider
Workflow
Step 1: Update Dependencies
Remove the old SDK and install the new one:
# npm
npm uninstall @metamask/sdk
npm install @metamask/connect-evm
# pnpm
pnpm remove @metamask/sdk
pnpm add @metamask/connect-evm
# yarn
yarn remove @metamask/sdk
yarn add @metamask/connect-evm
Then update wagmi packages to the latest:
npm install wagmi@latest @wagmi/core@latest @wagmi/connectors@latest
Step 2: Update MetaMask Connector Configuration
Before (old @metamask/sdk options):
import { metaMask } from 'wagmi/connectors'
metaMask({
dappMetadata: {
name: 'My Dapp',
url: 'https://mydapp.com',
},
useDeeplink: true,
logging: { sdk: false },
// These SDK-specific options are REMOVED:
forceDeleteProvider: false,
forceInjectProvider: false,
injectProvider: false,
})
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.
- 12d ago First seen · 280 lines · 39 tokens per session scan A 682f23a35ed9
migrate-wagmi-metamask-connector is a skill published in the GitHub repository MetaMask/metamask-connect-cursor-plugin (2 stars, last pushed 2mo ago), licensed MIT. It adds 39 tokens to every session and 2,584 once invoked, about $0.0002 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
onchainkit
Build onchain apps with Coinbase's OnchainKit React components - wallets, swaps, NFTs, payments.
adopting-generated-api-types
Use when migrating frontend code from manual API client calls (api.get, api.create, api.surveys.get, api.dashboards.list, new ApiRequest()) and handwritten TypeScript interfaces to generated API functions and types. Triggers on files importing from lib/api, files with api.get . , manual interface definitions that…
dapp-frontend-patterns
Use when building dApp frontends with wagmi v2 and viem. Covers useReadContract, useWriteContract, useSimulateContract, useWaitForTransactionReceipt, wallet connection (RainbowKit), chain switching, and ENS resolution.
scaffold-eth-patterns
Use when building with Scaffold-ETH 2. Covers project structure, custom hooks (useScaffoldReadContract, useScaffoldWriteContract), debug page, deploying contracts, hot reload, and wagmi integration.
crypto-market-dashboard-guide
Guide to building a real-time crypto market dashboard with Next.js, React, and TradingView charts. Features multi-chain portfolio tracking, DeFi position monitoring, price alerts, and social sentiment integration. Production-ready dashboard template.
ritual-dapp-frontend
Skill "ritual-dapp-frontend" from OpenCoven/coven, covering ritual dapp frontend skill, when to use, tech stack, quick start pattern and 1. setup chain & providers.