/wagmi:wagmi-react-connectfrom wagmi
Wallet connection hooks for React. Use when connecting wallets and managing connection state.
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 hooks.
import { useConnect } from 'wagmi'
function ConnectButton() {
const { connectors, connect, isPending, error } = useConnect()
return (
<div>
{connectors.map((connector) => (
<button
key={connector.uid}
onClick={() => connect({ connector })}
disabled={isPending}
>
Connect {connector.name}
</button>
))}
{error && <div>Error: {error.message}</div>}
</div>
)
}
import { useConnection } from 'wagmi'
function Profile() {
const { address, chainId, connector } = useConnection()
if (!address) return <div>Not connected</div>
return (
<div>
<p>Address: {address}</p>
<p>Chain: {chainId}</p>
<p>Connector: {connector.name}</p>
</div>
)
}
import { useDisconnect } from 'wagmi'
function DisconnectButton() {
const { disconnect, isPending } = useDisconnect()
return (
<button onClick={() => disconnect()} disabled={isPending}>
Disconnect
</button>
)
}
import { useAccount } from 'wagmi'
function Profile() {
const { address, isConnected, chainId, status } = useAccount()
if (status === 'connecting') return <div>Connecting...</div>
if (!isConnected) return <div>Not connected</div>
return (
<div>
<p>Address: {address}</p>
<p>Chain ID: {chainId}</p>
</div>
)
}
import { useSwitchChain, useChainId } from 'wagmi'
import { base, mainnet } from 'wagmi/chains'
function ChainSwitcher() {
const { chains } = useSwitchChain()
const chainId = useChainId()
return (
<select
value={chainId}
onChange={(e) => switchChain({ chainId: Number(e.target.value) })}
>
{chains.map((chain) => (
<option key={chain.id} value={chain.id}>
{chain.name}
</option>
))}
</select>
)
}
// In WagmiProvider
<WagmiProvider config={config} reconnect>
This automatically reconnects on mount if previously connected.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
12 skills in this plugin
/wagmi-configWagmi createConfig setup with chains and transports. Use when configuring multi-chain support and network connections./wagmi-connectorsWallet connectors for MetaMask, WalletConnect, injected, and more. Use when setting up wallet connections./wagmi-overviewVanilla JS Ethereum library built on viem. Use for wallet connections, contract interactions, and blockchain queries./wagmi-react-hooksReact hooks for blockchain queries and mutations. Use when reading/writing contracts or querying chain data.wagmi@cyotee is listed by cyotee/cyotee-claude-plugins — review the source before installing
npx claudepluginhub cyotee/cyotee-claude-plugins --plugin wagmi2 plugins ship this exact skill · first indexed Jul 20, 2026