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/agent-skills --skill metamask-agent-walletgit clone --depth 1 https://github.com/MetaMask/agent-skillsWrote 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/agent-skills/metamask-agent-wallet)<a href="https://agentmods.dev/skills/metamask/agent-skills/metamask-agent-wallet"><img src="https://agentmods.dev/badge/skills/metamask/agent-skills/metamask-agent-wallet/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/agent-skills/metamask-agent-wallet"><img src="https://agentmods.dev/badge/skills/metamask/agent-skills/metamask-agent-wallet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk warn
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.00205 | $0.07194 |
| Opus 5.5 | $0.00082 | $0.02878 |
| Sonnet 5.5 | $0.00041 | $0.01439 |
| Haiku 4.5 | $0.00020 | $0.00719 |
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 15d 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.
This is a copy
91% identical to metamask-agent-wallet — 177 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 347 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, tokenized real-world assets, AI market and asset summaries, perpetual futures trading, prediction market trading, prediction trade/redeem history, token swaps, cross-chain bridges, DeFi earn/yield vaults, and EVM calldata decoding.
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 browser (Google or Email) | mm login browser |
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 |
| Inspect CLI, skills, environment, and session health | mm doctor |
doctor.md |
| List installed CLI plugins | mm plugins |
plugins.md |
| Inspect an installed CLI plugin | mm plugins inspect |
plugins.md |
| Install a CLI plugin | mm plugins install |
plugins.md |
| Update a CLI plugin | mm plugins update |
plugins.md |
| Uninstall a CLI plugin | mm plugins uninstall |
plugins.md |
| Remove all user-installed CLI plugins | mm plugins reset |
plugins.md |
| Link a local plugin directory for development | mm plugins link |
plugins.md |
| Enable or disable the plugin beta | mm config set experimentalPlugins |
plugins.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 a QR code and address to fund the active wallet | mm wallet add-fund |
wallet.md |
| Show current trading mode | mm wallet trading-mode get |
wallet.md |
| Set trading mode to guard or beast | mm wallet trading-mode set |
wallet.md |
| View wallet policy | mm wallet policy get |
wallet.md |
| Set wallet policy | mm wallet policy set |
wallet.md |
| Show project policy template | mm wallet policy template |
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 tokenized real-world assets such as stocks, ETFs, and CEFs | mm token rwas |
market-data.md |
| Get the featured AI market highlight | mm pulse |
market-data.md |
| Get an AI-generated summary for one asset | mm pulse asset |
market-data.md |
| Get the AI-generated market-wide overview | mm pulse market |
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 |
| List funding payments for the account | mm perps funding |
perps.md |
| Show market funding rate history | mm perps funding-rates |
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 |
| List vault equities for the wallet | mm perps vault list |
perps.md |
| Show Hyperliquid vault details | mm perps vault info |
perps.md |
| Deposit USDC into a Hyperliquid vault | mm perps vault deposit |
perps.md |
| Withdraw USDC from a Hyperliquid vault | mm perps vault withdraw |
perps.md |
| Show Hyperliquid account mode | mm perps account mode get |
perps.md |
| Switch Hyperliquid account mode | mm perps account mode set |
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 |
| List Predict trade or redeem history | mm predict history |
predict.md |
| Inspect Predict history for a specific market | mm predict history get |
predict.md |
| Look up a transaction by hash | mm tx |
tx-history.md |
| List recent transactions for the active wallet | mm tx history |
tx-history.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 |
Pay an HTTP 402 / x402 paywalled request |
python3 scripts/x402_pay.py |
x402.md |
| Pay an x402-gated MCP tool call | python3 scripts/x402_pay.py |
x402.md |
| List earn vaults and APYs | mm earn markets |
earn.md |
| View earn vault positions | mm earn positions |
earn.md |
| Supply tokens to an earn vault | mm earn supply |
earn.md |
| Withdraw tokens from an earn vault | mm earn withdraw |
earn.md |
What ships with it
40 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/auth.md 10 KB
- references/chain.md 561 B
- references/decode.md 1.2 KB
- references/doctor.md 2.8 KB
- references/earn.md 6.7 KB
- references/errors.md 21 KB
- references/market-data.md 11 KB
- references/perps.md 29 KB
- references/plugins.md 11 KB
- references/polling.md 1.7 KB
- references/predict.md 25 KB
- references/signing.md 2.8 KB
- references/swap.md 14 KB
- references/transaction.md 2.6 KB
- references/transfer.md 2.4 KB
- references/tx-history.md 3.4 KB
- references/wallet.md 9.2 KB
- references/x402.md 11 KB
- scripts/amount_to_hex.py 631 B runs code
- scripts/x402_pay.py 34 KB runs code
- workflows/bridge.md 4.7 KB
- workflows/earn-supply.md 2.2 KB
- workflows/earn-withdraw.md 1.4 KB
- workflows/login.md 978 B
- workflows/market-data.md 3.6 KB
- workflows/onboarding.md 3.6 KB
- workflows/perps-close-position.md 1020 B
- workflows/perps-modify-position.md 1.0 KB
- workflows/perps-open-position.md 2.8 KB
- workflows/predict-funding.md 2.7 KB
- workflows/predict-history.md 2.2 KB
- workflows/predict-manage-orders.md 935 B
- workflows/predict-markets.md 1.3 KB
- workflows/predict-place-order.md 2.3 KB
- workflows/predict-portfolio.md 900 B
- workflows/predict-setup.md 1.3 KB
- workflows/swap.md 4.1 KB
- workflows/troubleshooting.md 8.6 KB
- workflows/x402-mcp.md 2.9 KB
- workflows/x402-pay.md 2.9 KB
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.
- 15d ago Changed · +1 lines b074728463cd
- 19d ago Changed · +10 lines · +7 tokens per session 5a79d190e745
- 23d ago Changed · +2 lines · +3 tokens per session 3a71a0c15d2b
- 24d ago Changed · +36 tokens per session 94ddc6b4f527
- 28d ago Changed · +4 lines · +18 tokens per session 9d4a42614276
- 1mo ago Changed 6b9e99a8c73b
- 1mo ago Changed · +15 lines · +11 tokens per session 1a7a9206c4ef
- 2mo ago Changed · +19 lines 4d2d9e08fb57
- 2mo ago First seen · 296 lines · 130 tokens per session scan A aaea5d578b55
metamask-agent-wallet is a skill published in the GitHub repository MetaMask/agent-skills (30 stars, last pushed 15d ago), licensed MIT. It adds 205 tokens to every session and 7,194 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to metamask-agent-wallet, differing in 177 lines, and is treated as a copy.
metamask-agent-wallet compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| metamask-agent-walletMetaMask/agent-skills | Skill | 30 | 15d ago | MIT | A | 205 | Claude Code |
| agentic-streetLeoYeAI/openclaw-master-skills | Skill | 2.2k | 6d ago | MIT | A | 91 | Claude Code, Codex |
| token-pickaeonfun/aeon | Skill | 788 | yesterday | MIT | A | 25 | Claude Code, Codex |
| bridgealsk1992/CloddsBot | Skill | 3.1k | 1mo ago | MIT | A | 13 | Claude Code, Codex |
| hyperliquidalsk1992/CloddsBot | Skill | 3.1k | 1mo ago | MIT | A | 19 | Claude Code, Codex |
| marginfialsk1992/CloddsBot | Skill | 3.1k | 1mo ago | MIT | A | 11 | Claude Code, Codex |
| airdrop-hunting-guidenirholas/three.ws | Skill | 269 | yesterday | Apache-2.0 | A | 54 | Claude Code, Codex |