metamask-agent-wallet

metamask-agent-wallet is a skill for Claude Code from nirholas/three.ws. It costs 81 tokens per session (4,524 once invoked), scanned A, original, Apache-2.0.

A command-line wallet tool for MetaMask Agent Wallet, covering authentication, balances, token transfers, signing, swaps, bridges, trading, and lending. A command-line tool is operated by typing commands in a terminal.

In plain words
What is it for?
Managing wallet access, checking balances, sending tokens, signing data, discovering markets, trading, swapping, bridging, and using Aave V3 lending and borrowing.
Why use it?
It puts many wallet and blockchain operations behind one documented interface. The related workflows guide multi-step actions such as logging in, swapping, or bridging assets.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Part of the three-ws-core plugin — 42 skills shipped together

Install

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.

agentmods
npx agentmods add skills/nirholas/three.ws/metamask-agent-wallet
Any agent
npx skills add nirholas/three.ws --skill metamask-agent-wallet
Clone the repo
git clone --depth 1 https://github.com/nirholas/three.ws

Made for: Claude Code.

Or install three-ws-core, the plugin that ships this one along with the rest of its 42 skills.

Wrote 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.

agentmods badge for metamask-agent-wallet

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/three.ws/metamask-agent-wallet.svg)](https://agentmods.dev/skills/nirholas/three.ws/metamask-agent-wallet)
Your own site
<a href="https://agentmods.dev/skills/nirholas/three.ws/metamask-agent-wallet"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/metamask-agent-wallet.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,524 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00081 $0.04524
Opus 5 $0.00041 $0.02262
Sonnet 5 $0.00016 $0.00905
Haiku 4.5 $0.00008 $0.00452

Measured 6d ago against content hash c1b3df6277fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

metamask-agent-wallet 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 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/amount_to_hex.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/metamask-agent-wallet/SKILL.md · 260 lines

How it starts

The opening of the file, as written. The whole thing — 260 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MetaMask Agentic CLI Skill

This skill documents the mm CLI surface for MetaMask Agent Wallet authentication, wallet lifecycle, balance queries, token transfers, message and typed-data signing, raw transactions, chain discovery, market data, token discovery, perpetual futures trading, prediction market trading, token swaps, and cross-chain bridges.

Use the routing table to select the relevant reference file. CLI behavior lives in references/. Repeatable operational patterns live in workflows/.

Command Routing

Match the user's intent to a command and reference file, then read the reference before constructing a command. If intent spans multiple domains, load them sequentially in dependency order.

User Intent Command Reference
Check authentication status mm auth status auth.md
Login in MetaMask Agentic CLI mm login auth.md
Choose a wallet mode and set up policies mm init auth.md
Show current init settings mm init show auth.md
Sign in via QR code with MetaMask Mobile mm login qr auth.md
Sign in via Google mm login google auth.md
Sign in via email OTP mm login email auth.md
Sign out mm logout auth.md
Reset CLI session mm reset auth.md
Show CLI configuration mm config get auth.md
Set CLI configuration mm config set auth.md
Set BYOK mnemonic encryption password mm wallet password set auth.md
Change BYOK mnemonic encryption password mm wallet password change auth.md
Remove BYOK mnemonic encryption password mm wallet password remove auth.md
Interpret raw CLI error codes AuthError, ValidationError, WALLET_ERROR errors.md
Decode EVM calldata into a human-readable intent mm decode decode.md
Create a wallet mm wallet create wallet.md
List all wallets mm wallet list wallet.md
Switch active wallet mm wallet select wallet.md
Show active wallet details mm wallet show wallet.md
Show active wallet address mm wallet address wallet.md
Check the active wallet balance mm wallet balance wallet.md
Show current trading mode and policies mm wallet trading-mode get wallet.md
Set trading mode (guard or beast) mm wallet trading-mode set wallet.md
Sign a plaintext message mm wallet sign-message signing.md
Sign EIP-712 typed data mm wallet sign-typed-data signing.md
Send a raw EVM transaction mm wallet send-transaction transaction.md
Transfer native tokens or ERC-20 tokens mm transfer transfer.md
List supported chains by the CLI mm chains list chain.md
List pending wallet requests mm wallet requests list polling.md
Watch a wallet polling id mm wallet requests watch polling.md
Query spot or historical prices mm price ... market-data.md
Discover tokens, token networks, or token metadata mm token ... market-data.md
List perpetual markets mm perps markets perps.md
Check perps account balance mm perps balance perps.md
List open perpetual positions mm perps positions perps.md
Get a quote for a perpetual order mm perps quote perps.md
List resting perpetual orders mm perps orders perps.md
Open a perpetual position mm perps open perps.md
Close a perpetual position mm perps close perps.md
Modify leverage, take-profit, or stop-loss mm perps modify perps.md
Cancel a resting perps order mm perps cancel perps.md
Deposit USDC into a perps venue mm perps deposit perps.md
Withdraw USDC from a perps venue mm perps withdraw perps.md
Transfer USDC between spot and perp accounts mm perps transfer perps.md
List perpetual futures venues mm perps list-venues perps.md
List available DEXs for a venue mm perps dexs perps.md
Set Predict trading mode mm predict mode predict.md
One-time Predict setup mm predict setup predict.md
Create or refresh Predict credentials mm predict auth predict.md
Repair Predict approvals mm predict approve predict.md
Check Predict back-end status and account setup mm predict status predict.md
Check if Polymarket is geoblocked for your IP mm predict geoblock predict.md
List prediction markets mm predict markets list predict.md
Search prediction markets mm predict markets search predict.md
Inspect a prediction market mm predict markets get predict.md
List Polymarket events mm predict events list predict.md
Inspect a Polymarket event mm predict events get predict.md
List Polymarket event series mm predict series list predict.md
Inspect a Polymarket event series mm predict series get predict.md
List Polymarket tags mm predict tags list predict.md
Inspect a Polymarket tag mm predict tags get predict.md
Preview a prediction order cost mm predict quote predict.md
Place a prediction market order mm predict place predict.md
Cancel prediction orders mm predict cancel predict.md
View prediction market positions mm predict positions predict.md
View open prediction orders mm predict orders predict.md
Show full Predict portfolio snapshot mm predict portfolio predict.md
List redeemable (winning) positions mm predict redeem list predict.md
Redeem winning positions mm predict redeem predict.md
Check Predict deposit wallet balance mm predict balance predict.md
Fund Predict deposit wallet mm predict deposit predict.md
Withdraw pUSD from Predict deposit wallet mm predict withdraw predict.md
Fetch prediction order book mm predict book predict.md
Watch a Predict job mm predict watch predict.md
Get a swap or bridge quote mm swap quote swap.md
Execute a token swap or bridge mm swap execute swap.md
Check swap or bridge status mm swap status swap.md
Bridge tokens to another chain mm swap execute swap.md

Read the full file on GitHub · 260 lines

Changes

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.

  1. 6d ago First seen · 260 lines · 81 tokens per session scan A c1b3df6277fe

Subscribe to this mod's changes

metamask-agent-wallet is a skill published in the GitHub repository nirholas/three.ws (110 stars, last pushed today), licensed Apache-2.0. It adds 81 tokens to every session and 4,524 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

rtc-balance

Check RustChain wallet balance, epoch info, and network status via the public RPC.

Scottcjn/Rustchain · 20 tokens

blockchain-defi

Use this skill when asked about decentralized finance, DeFi protocols, AMM mechanics, lending and borrowing protocols, perpetual futures, yield farming, liquidity mining, liquid staking, restaking, yield optimization, DeFi security, MEV, and protocol composability. Covers AMM design (Uniswap, Curve, Balancer), lending…

j4flmao/agent-skills · 154 tokens

stablecoin-chain-explorer

Explore stablecoin TVL distribution and yield opportunities by blockchain. Query which chains have the most stablecoins, compare cross-chain yields, and find the best opportunities on Ethereum, BSC, Arbitrum, Base, Polygon, and more. Also for protocols and issuers researching where stablecoin TVL and liquidity…

barkermoney/barker-mcp · 102 tokens

apex-copilot

Use this skill when the user is working on a Web3 project and needs Apex Foundation diligence tools: scoring a crypto/Web3 project for investment readiness, matching against the Apex portfolio of 200+ projects, finding relevant Web3 hackathons, matching against Web3 VC funds and investors, smart contract code review…

Apex-Foundation/copilot-mcp · 245 tokens

gstd-sovereign

Full agent autonomy — self-sustaining economic entity that earns GSTD, manages finances, shares intelligence, recruits agents, and promotes financial independence.

gstdcoin/A2A · 35 tokens

crypto-report

Analyze cryptocurrency projects with tokenomics, on-chain metrics, and market analysis. Generate comprehensive crypto research reports.

claude-office-skills/skills · 24 tokens