
Trust wallet CLI
Lets an agent run the twak CLI to manage a Trust Wallet crypto wallet from a shell
Trust wallet CLI is an open-source agent skill for finance and payments. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 112
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Trust wallet CLI
This skill guides an AI coding agent through the Trust Wallet command-line tool, twak, which is installed from npm as @trustwallet/cli. It points the agent to separate reference files for setup, wallet creation and signing, balances, sending, swaps, fiat on- and off-ramps, market data, transaction history, price alerts, DCA and limit orders, ERC-20 approvals, token risk checks, x402 payments, and several chain-specific programs.
The skill also covers running twak as an MCP or REST server for other agents. The server can be started read-only, can restrict local signing behind an explicit flag, and can run a background watcher that fires automations. Signing is governed by a policy with USD limits and slippage caps that the agent is directed to read in a dedicated reference.
Using it requires Node tooling to install the CLI and a wallet password or OS keychain entry for signing. The skill ships as markdown references only, with no bundled scripts.
When your agent uses it
Trust Wallet CLI (`twak`) — install, create wallets, check balances, send tokens, swap, view history, set price alerts, DCA automations, limit orders, manage ERC-20 approvals, check token risk, browse trending/DApps, and run x402 micropayments. Use whenever the user wants to use the twak CLI, manage a crypto wallet from the terminal, send or swap tokens via command line, check portfolio, create price alerts, set up DCA, create limit orders, approve ERC-20 spenders, or interact with Trust Wallet from a shell. Also covers MCP server setup for AI agents.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 18 files (106 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the web3-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add trustwallet/tw-agent-skills
/plugin install web3-skills@tw-agent-skillsOr copy only this skill to ~/.claude/skills/trust-wallet-cli:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trustwallet/tw-agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/trust-wallet-cli &&
cp -R "$tmp/skills/wallet" ~/.claude/skills/trust-wallet-cli &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/trust-wallet-cli inside it instead.
Copy the skill folder to ~/.agents/skills/trust-wallet-cli to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trustwallet/tw-agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/trust-wallet-cli &&
cp -R "$tmp/skills/wallet" ~/.agents/skills/trust-wallet-cli &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/trust-wallet-cli inside it instead.
Copy the skill folder to ~/.cursor/skills/trust-wallet-cli to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trustwallet/tw-agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/trust-wallet-cli &&
cp -R "$tmp/skills/wallet" ~/.cursor/skills/trust-wallet-cli &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/trust-wallet-cli inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/trustwallet/tw-agent-skills.git --path skills/walletOr copy the folder to ~/.gemini/skills/trust-wallet-cli yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/trust-wallet-cli:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trustwallet/tw-agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/trust-wallet-cli &&
cp -R "$tmp/skills/wallet" ~/.copilot/skills/trust-wallet-cli &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/trust-wallet-cli inside it instead.
Get the folder:
git clone --depth 1 https://github.com/trustwallet/tw-agent-skills.gitThen copy tw-agent-skills/skills/wallet into your agent's skills folder as trust-wallet-cli. Agents that support SKILL.md read one folder per skill.
What it does
- CLI installation and setup
- Covers installing the twak package and configuring authentication and environment variables.
- Wallet and balance management
- Creates wallets, checks signing status, and reports balances and token holdings across chains.
- Sending and swapping tokens
- Transfers tokens, including ENS names, and performs same-chain and cross-chain swaps.
- Price alerts and automations
- Sets price alerts, dollar-cost averaging schedules and limit orders.
- Token risk and approvals
- Checks token risk signals and manages ERC-20 spender approvals and revocations.
- MCP and REST server mode
- Exposes wallet actions to AI agents over MCP or REST, with a read-only option.
Good for
- Check my wallet balances across chains from the terminal
- Swap ETH for USDC using the command line
- Set a price alert when ETH crosses a target
- Set up a weekly dollar-cost average buy of a token
- Check whether a token looks risky before I trade it
- Revoke an ERC-20 spender approval
Trust wallet CLI FAQ
How do I install the CLI?
The skill says to install it globally with npm install -g @trustwallet/cli, and to read the setup reference for authentication.
Does Trust wallet CLI run without a wallet?
No. Wallet operations depend on creating or connecting a wallet, and the skill directs the agent to the wallet reference for that step.
Can an agent sign transactions automatically?
Only when the server is started with the local signing flag and the signing policy allows it. Without that flag, signing tools return LOCAL_SIGNING_DISABLED and a connected phone wallet is used instead.
What does read-only mode do?
It serves only tools that read prices, quotes, balances, history and addresses. Tools that sign or change state are not listed or callable.
How do I install Trust wallet CLI in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/trust-wallet-cli to use it in all your projects, or to .claude/skills/trust-wallet-cli in one project. Or install the web3-skills plugin, which includes it: /plugin marketplace add trustwallet/tw-agent-skills, then /plugin install web3-skills@tw-agent-skills.
Does Trust wallet CLI run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Trust wallet CLI?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Trust wallet CLI?
The closest alternatives to Trust wallet CLI are Trust wallet MCP, Trust wallet API, Trust wallet SDK, Setup and Use developer controlled wallets.
Where this comes from
- Description: from the skill's own SKILL.md.
More from trustwallet/tw-agent-skills

Lets an agent query Trust Wallet's API for token prices, swap quotes and security checks
- Open source
- 112 GitHub stars
- Finance and payments

Lets an agent check balances and send, swap or buy crypto via Trust Wallet's MCP server
- Open source
- 112 GitHub stars
- Finance and payments

Guides an agent through Trust Wallet's open-source wallet, dApp and token libraries
- Open source
- 112 GitHub stars
- Finance and payments

Starter SKILL.md template for authoring new agent skills in Trust Wallet's repo
- Open source
- 112 GitHub stars
- Developer tools



