/wagmi:wagmi-connectorsfrom wagmi
Wallet connectors for MetaMask, WalletConnect, injected, and more. Use when setting up wallet connections.
Ships in wagmi. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Wallet connection adapters.
import { createConfig, http } from '@wagmi/core'
import { mainnet, sepolia } from '@wagmi/core/chains'
import { injected } from '@wagmi/connectors'
import { walletConnect } from '@wagmi/connectors'
import { safe } from '@wagmi/connectors'
export const config = createConfig({
chains: [mainnet, sepolia],
connectors: [
injected(), // Browser wallets (MetaMask, etc.)
walletConnect({ projectId: '...' }),
safe()
],
transports: { ... }
})
import { connect, disconnect, getConnection } from '@wagmi/core'
// Connect
const { account, chainId, connector } = await connect(config, {
connector: injected() // or omit to use first available
})
// Get current connection
const { account, chainId } = getConnection(config)
// Disconnect
await disconnect(config)
import { injected } from '@wagmi/connectors'
injected({
shimDisconnect: true // persist disconnect state
})
import { metaMask } from '@wagmi/connectors'
metaMask({
shimDisconnect: true,
flag: 'all' // or 'ethereum'
})
import { walletConnect } from '@wagmi/connectors'
walletConnect({
projectId: 'YOUR_PROJECT_ID',
showQrModal: true,
qrModalOptions: {
themeMode: 'dark'
}
})
import { safe } from '@wagmi/connectors'
safe({
allowedDomains: [/gnosis-safe.io$/, /app.safe.global$/],
debug: false
})
import { mock } from '@wagmi/connectors'
mock({
accounts: [privateKeyToAccount('0x...')],
chainId: 1
})
import { switchChain } from '@wagmi/core'
import { base } from '@wagmi/core/chains'
await switchChain(config, { chainId: base.id })
import { watchConnections, watchConnector } from '@wagmi/core'
// Watch all connections
watchConnections(config, (connections) => {
console.log('Connections:', connections)
})
// Watch specific connector
watchConnector(config, 'injected', (connector) => {
console.log('Injected connector:', connector)
})
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
wagmi@cyotee is listed by cyotee/cyotee-claude-plugins — review the source before installing
npx claudepluginhub cyotee/cyotee-claude-plugins --plugin wagmi12 skills in this plugin
/wagmi-configWagmi createConfig setup with chains and transports. Use when configuring multi-chain support and network connections./wagmi-overviewVanilla JS Ethereum library built on viem. Use for wallet connections, contract interactions, and blockchain queries./wagmi-react-connectWallet connection hooks for React. Use when connecting wallets and managing connection state./wagmi-react-hooksReact hooks for blockchain queries and mutations. Use when reading/writing contracts or querying chain data./wagmi-react-overviewReact hooks library for Ethereum built on viem and TanStack Query. Use when building React apps with wallet connections and contract interactions./wagmi-react-providersWagmiProvider and QueryClientProvider setup for React. Use when configuring the React context for wallet and blockchain data.2 plugins ship this exact skill · first indexed Jul 20, 2026