← Back to Skills Marketplace
donald-jackson

Agent Wallet CLI

by donald-jackson · GitHub ↗ · v1.4.0
cross-platform ⚠ suspicious
904
Downloads
0
Stars
3
Active Installs
5
Versions
Install in OpenClaw
/install agent-wallet-cli
Description
Manage crypto wallets (Ethereum, Solana, Polygon, Arbitrum, Base) via agent-wallet-cli. Use for checking balances, sending tokens (ETH/SOL/ERC-20/SPL), signi...
README (SKILL.md)

Agent Wallet

Self-custodial crypto wallet CLI for AI agents. Your keys, your coins — the agent never sees your mnemonic after init.

  • Open source: github.com/donald-jackson/agent-wallet-cli — audit before use
  • npm package: npmjs.com/package/agent-wallet-cli
  • Self-custodial: Keys encrypted locally with Argon2id + AES-256-GCM. No server, no third party.
  • Session-based access: Agents use time-limited tokens, never your password directly.
  • Multi-chain: Ethereum, Solana, Polygon, Arbitrum, Base — native coins and tokens.

Security Model

  1. You create or import a wallet with a password → encrypted on disk in ~/.agent-wallet-cli/
  2. You (or the agent) unlock with the password → get a time-limited session token (wlt_...)
  3. The agent uses only the session token — it expires automatically (default 1hr, max 24hr)
  4. No telemetry, no analytics, no server calls — only public blockchain RPCs for queries and transactions

Important: If you give the agent your WALLET_PASSWORD, it can perform any password-level operation (init, import, unlock, and export). For maximum security, unlock the wallet yourself and only give the agent the session token. Session tokens cannot export mnemonics or change passwords — they can only sign transactions and read balances.

Before trusting this skill with real funds:

  • Audit the source: github.com/donald-jackson/agent-wallet-cli
  • Verify the npm package matches the repo: npm info agent-wallet-cli
  • Test with small amounts first
  • Use short session durations (1hr default)
  • Run in an isolated environment if possible

Setup

npm install -g agent-wallet-cli

Verify installation: agent-wallet-cli --version

Workflow

  1. Init (first time): agent-wallet-cli init --password "$WALLET_PASSWORD"
    • Displays mnemonic ONCE — save it securely
  2. Import (existing wallet): agent-wallet-cli import --password "$WALLET_PASSWORD" --mnemonic "word1 word2 ..."
  3. Unlock: agent-wallet-cli unlock --password "$WALLET_PASSWORD" --duration 3600
    • Returns session token (wlt_...) valid for specified duration
  4. Use: Pass --token wlt_... to all commands (no password needed)
  5. Lock: agent-wallet-cli lock when done

Note: --password and --mnemonic can be omitted to be prompted securely via stdin (recommended for interactive use). When using in automation, --password is accepted but will show a warning about shell history visibility.

Global Options

All commands accept:

  • --format json|text (default: json)
  • --wallet-dir \x3Cpath> (default: ~/.agent-wallet-cli)
  • --quiet — suppress output
  • --name \x3Cname> — wallet name (default: "default")

Commands

Wallet Management

agent-wallet-cli init [--password \x3Cpw>] [--word-count 12|24] [--name \x3Cname>]
agent-wallet-cli import [--password \x3Cpw>] [--mnemonic "\x3Cphrase>"] [--name \x3Cname>]
agent-wallet-cli unlock [--password \x3Cpw>] [--duration \x3Csecs>] [--name \x3Cname>]
agent-wallet-cli lock [--name \x3Cname>]
agent-wallet-cli export [--password \x3Cpw>] --confirm [--name \x3Cname>]

Addresses & Balances

agent-wallet-cli address --token \x3Cwlt_...> [--chain ethereum|solana] [--account-index 0]
agent-wallet-cli balance --token \x3Cwlt_...> --chain \x3Cchain> [--network \x3Cnetwork>] [--token-address usdc]

Important: --chain is required for balance/send/history. --token is the session token (wlt_...), --token-address is the coin/token contract or alias.

L2 networks: For Base, Polygon, Arbitrum use --chain ethereum --network base (etc). Default network is mainnet.

Transfers

# Native (ETH/SOL)
agent-wallet-cli send --token \x3Cwlt_...> --chain \x3Cchain> --to \x3Caddr> --amount \x3Camt> --yes [--dry-run] [--no-relay]
# ERC-20/SPL token
agent-wallet-cli send --token \x3Cwlt_...> --chain \x3Cchain> --to \x3Caddr> --amount \x3Camt> --token-address \x3Caddr|alias> --yes [--no-relay]
  • --yes: Skip confirmation prompt (required for non-TTY/agent use)
  • --dry-run: Simulate transaction without sending
  • --no-relay: Disable gasless relay fallback
  • --network \x3Cnetwork>: Target network (default: mainnet)

x402 Payments

agent-wallet-cli x402 \x3Curl> --token \x3Cwlt_...> [--method GET] [--header "Key:Value"] [--body \x3Cdata|@file>] [--max-amount \x3Camt>] [--dry-run] [--yes]

Make HTTP requests with automatic x402 payment. The CLI detects 402 Payment Required responses, pays the requested amount in stablecoins, and retries.

  • --max-amount \x3Camount>: Maximum willing to pay (human-readable, e.g. "0.10")
  • --dry-run: Show payment requirements without paying
  • --yes: Skip payment confirmation
  • --header: Repeatable for multiple headers
  • --body: Request body, or @filepath to read from file

Approvals (ERC-20/SPL)

agent-wallet-cli approve --token \x3Cwlt_...> --chain \x3Cchain> --token-address \x3Caddr> --spender \x3Caddr> --amount \x3Camt|unlimited> --yes [--network \x3Cnet>]
agent-wallet-cli allowance --chain \x3Cchain> --token-address \x3Caddr> --owner \x3Caddr> --spender \x3Caddr> [--network \x3Cnet>]
agent-wallet-cli transfer-from --token \x3Cwlt_...> --chain \x3Cchain> --token-address \x3Caddr> --from \x3Caddr> --to \x3Caddr> --amount \x3Camt> --yes [--network \x3Cnet>]
agent-wallet-cli approvals --token \x3Cwlt_...> [--chain ethereum] [--network mainnet] [--limit 20]

Signing

agent-wallet-cli sign --token \x3Cwlt_...> --chain \x3Cchain> --message "text"
agent-wallet-cli sign --token \x3Cwlt_...> --chain \x3Cchain> --typed-data '\x3Cjson|@file>'
agent-wallet-cli sign --token \x3Cwlt_...> --chain \x3Cchain> --data \x3Chex>

Transaction History

agent-wallet-cli history --token \x3Cwlt_...> --chain \x3Cchain> [--network mainnet] [--limit 10]

Network Configuration

agent-wallet-cli networks                                          # list all
agent-wallet-cli networks --set ethereum:mainnet --rpc-url \x3Curl>   # custom RPC
agent-wallet-cli networks --reset ethereum:mainnet                 # reset to default

Chains & Networks

Chain Networks
ethereum mainnet, sepolia, polygon, arbitrum, base, base-sepolia
solana mainnet, devnet

EVM L2s (Base, Polygon, Arbitrum) use --chain ethereum --network \x3Cl2name>.

--chain is required for balance, send, history, approve, allowance, transfer-from, approvals, and sign.

Token Aliases

Use shorthand instead of contract addresses: usdc, usdt, dai, weth, wbtc

Security Notes

  • Self-custodial — keys never leave your machine, encrypted at rest
  • No analytics, no telemetry, no network calls except to public RPCs for blockchain queries
  • Session tokens grant temporary fund access — treat as passwords
  • Always --dry-run before large transfers
  • Lock wallet when done
  • Never log or share session tokens or mnemonics
  • Audit the source: github.com/donald-jackson/agent-wallet-cli
Usage Guidance
This skill appears to do what it claims, but it handles live signing keys. Before installing: 1) Audit the GitHub repo and verify the npm package matches the repo (npm info/compare checks). 2) Never give the agent your WALLET_PASSWORD; instead unlock the wallet yourself and provide a time-limited WALLET_SESSION_TOKEN with a short duration. 3) Test with small amounts and short sessions first. 4) Run in an isolated environment if possible and avoid storing tokens in long-lived environment variables or shell history. 5) Revoke/lock the wallet after use and rotate credentials if anything looks off.
Capability Analysis
Type: OpenClaw Skill Name: agent-wallet-cli Version: 1.4.0 The skill is classified as suspicious due to its inherently high-risk capabilities, which involve managing cryptocurrency wallets, sending funds, signing transactions, and handling sensitive information like private keys and session tokens. While the `SKILL.md` documentation is transparent about these risks, provides security advice, and explicitly disclaims telemetry or unauthorized network calls, the power of the `agent-wallet-cli` tool makes it a significant target for misuse through prompt injection against the AI agent or supply chain attacks via the `npm` package. There is no clear evidence of intentional malicious behavior within the provided files, but the potential for severe financial impact if misused warrants a 'suspicious' classification.
Capability Assessment
Purpose & Capability
Name/description (wallet CLI) match the declared binary and npm install. Required env vars (WALLET_PASSWORD, WALLET_SESSION_TOKEN) and required binary (agent-wallet-cli) are directly related to the claimed functionality. No unrelated services, credentials, or unexpected config paths are requested.
Instruction Scope
SKILL.md instructs the agent to run agent-wallet-cli commands to init/import/unlock/send/lock/export and to use session tokens for automation. This is in-scope for a wallet CLI. Important security note in the instructions: session tokens allow signing/sending transactions; WALLET_PASSWORD (if provided) is more powerful. The instructions also encourage installing globally and using --yes for non-interactive flows, which intentionally gives the agent power to perform irreversible transfers — this is expected but high-risk in practice.
Install Mechanism
Install is via npm (agent-wallet-cli), which is an expected package source for a CLI distributed on npm. This is a typical install method; npm supply-chain risks apply but the mechanism itself is coherent and not unusual or suspicious.
Credentials
Only two sensitive env vars are declared and both are appropriate for a wallet CLI. They are optional and documented. However, a WALLET_SESSION_TOKEN enables signing and sending transactions (the primary operational capability), and WALLET_PASSWORD would enable more powerful actions (init/import/export). The sensitivity is proportional but operationally powerful — avoid giving WALLET_PASSWORD to the agent and prefer short-lived session tokens.
Persistence & Privilege
Skill does not request always:true and does not ask to modify other skills or system-wide configs. Autonomous invocation is allowed (platform default); combined with session tokens this could let the agent act without user prompts, which is expected behavior for automation but should be considered when granting tokens.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install agent-wallet-cli
  3. After installation, invoke the skill by name or use /agent-wallet-cli
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.4.0
Clarify --chain is required for balance/send/history; add L2 network usage examples (Base, Polygon, Arbitrum)
v1.3.0
Updated for v1.3.0: --password as named option, --token-address split from --token, --no-relay on send, x402 payment command with --max-amount/--dry-run, updated all command signatures
v1.2.0
Fix malformed env metadata ([object Object]), fix export privilege contradiction — now clearly documents that WALLET_PASSWORD grants full access while session tokens are limited. Recommends token-only agent access for maximum security.
v1.1.0
Address ClawHub security findings: added metadata (required bins, install spec, credential declarations, source/license), expanded security model docs, added pre-install checklist, linked npm + GitHub for verification.
v1.0.0
Initial release — self-custodial crypto wallet for AI agents. Ethereum, Solana, Polygon, Arbitrum, Base. Session-based access, open source.
Metadata
Slug agent-wallet-cli
Version 1.4.0
License
All-time Installs 3
Active Installs 3
Total Versions 5
Frequently Asked Questions

What is Agent Wallet CLI?

Manage crypto wallets (Ethereum, Solana, Polygon, Arbitrum, Base) via agent-wallet-cli. Use for checking balances, sending tokens (ETH/SOL/ERC-20/SPL), signi... It is an AI Agent Skill for Claude Code / OpenClaw, with 904 downloads so far.

How do I install Agent Wallet CLI?

Run "/install agent-wallet-cli" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Agent Wallet CLI free?

Yes, Agent Wallet CLI is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Agent Wallet CLI support?

Agent Wallet CLI is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Agent Wallet CLI?

It is built and maintained by donald-jackson (@donald-jackson); the current version is v1.4.0.

💬 Comments