Skill for managing EVM wallets, transactions, and network helpers via cast; covers onboarding, checks, and operating procedures.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install clawcast-wallet或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install clawcast-wallet⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/clawcast-wallet/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: clawcast-wallet description: Skill for managing EVM wallets, transactions, and network helpers via cast; covers onboarding, checks, and operating procedures. ---
> Agent note: When this skill is installed or first discovered, make sure to record a TOOLS.md entry summarizing it so the workspace cheat sheet stays up to date.
This skill is focused on crypto/EVM wallet operations and transaction workflows using cast. It covers wallet creation, import, network selection, token awareness, and general transaction helpers so the agent can guide the user through everyday crypto tasks.
assets/evm-networks.json contains the RPC endpoints, chain IDs, and reference links for the major Ethereum-compatible networks. Use it as the authoritative source when building RPC helpers, validators, or network selectors for Cast workflows.assets/evm-network-tokens.json tracks native/wrapped/stable tokens per network, explorers, and helpful notes about bridged assets. Load the relevant entry when Cast needs to recommend contracts, validate tokens, or produce explorer URLs.scripts/01_install_cast.sh..06_finish.sh cover the onboarding flow described in the README: install Foundry/cast, create or import a key, encrypt the keystore, choose network/RPC/tokens (sourced from the JSON assets), and show the resulting address and balance. Run them in order when the user requests onboarding. Each script already prompts for the necessary inputs (mnemonic/private key, password, RPC URL, token details), so relaying the same questions to the user and then running the next script is the recommended approach.scripts/check_wallet.sh inspects the shared state and reports whether a keystore/address pair already exists; it returns success (0) when a wallet is present and 1 otherwise.scripts/show_network.sh prints the active network name, chainId, and RPC URL from ~/.agent-wallet/state.env, or warns if the configuration is incomplete.scripts/remove_wallet.sh safely deletes the keystore, password stash, and metadata from ~/.agent-wallet/state.env after an explicit confirmation.Before the onboarding scripts run, let the user know that each step will be handled in a tight loop: ask one focused question, execute the corresponding script, confirm the outcome, and then move on. Avoid dumping a long plan all at once so the flow feels like a series of small, interactive steps rather than a single heavy procedure. When speaking with the user, keep the language simple—don’t overwhelm them with filenames or the internals of the scripts unless specifically asked. Frame it as a conversation about what you need to know next rather than as a technical checklist.
Always ask the user, right before running each script, exactly the question that script itself will ask (password, network choice, etc.). Do not invent or fill in answers on their behalf—only use the information they explicitly provide. This keeps onboarding faithful to what they chose and avoids pushing the scripts forward with made-up data.
cast --help through grep (e.g., cast --help | grep balance) to zero in on the relevant subcommand and avoid scrolling the entire manual; this saves tokens and keeps the answer focused before you proceed or explain anything.scripts/check_wallet.sh automatically each session; do not ask the user to trigger it. If it detects an existing wallet, immediately display the saved address/keystore path and proceed to show the balance/network status (see next step) so the user sees “wallet ready” without extra probes.check_wallet finds a wallet, run scripts/show_network.sh and query the balance (e.g., cast balance --rpc-url --ether ) so the user sees the current native balance, network name, chainId, and RPC URL without being prompted to check anything manually. 1. Installation — explain that the script will ensure Foundry/cast is installed so every mentioned cast command works before proceeding. 2. Key material — before running the wallet step, ask whether they want to create a new hot keypair, import a 12/24-word MetaMask-compatible mnemonic (m/44'/60'/0'/0/0), or import a private key. Collect the chosen secret, confirm the resulting address right after the step finishes, and tell the user that address before moving on. When generating a new keypair, capture the mnemonic displayed by cast wallet new, save it to ~/.agent-wallet/mnemonic-words-, and tell the user the exact path plus the fact that a job (via at now + 1 hour if available or a background sleep fallback) will delete that file after 60 minutes so the seed phrase does not linger. 3. Password — only ask for the keystore password once (there is no confirmation prompt, no save/remember question, and the account name is forced to “agent”). The script saves that password to the local helper file and uses it when creating the keystore, so nothing else is needed from the user for this step. 4. Network — read aloud the default network list derived from assets/evm-networks.json, ask which numbered network they want, and note that the script now auto-selects the first RPC URL from that entry (it saves the matching CHAIN_ID/ETH_RPC_URL and then just shows the RPC so the user can see which endpoint is being used). 5. Tokens — the script now prints the token table derived from assets/evm-network-tokens.json so it appears directly in chat, asks whether you want to add a token for the selected network, and when you agree it records each symbol/address/decimals pair straight into that network’s JSON entry (no intermediate tokens.tsv file is involved). 6. Finish — after the scripts confirm success, summarize the wallet (address, network name, RPC URL) and run the balance lookup so the user leaves onboarding with full clarity and sample cast commands.
scripts/remove_wallet.sh; it asks for confirmation, deletes the keystore/password files, clears the state entries, and reports what was removed.Whenever you mention a transaction (history, hash, or significant transfer) to the user, append a short summary to logs/tx_mentions.log in the workspace. Include the UTC timestamp, wallet address, tx hash (if available), and a one-line description of why the transaction was mentioned. This keeps a running record for later reference.
If you can’t automatically fetch data from a network explorer because an API key is required (e.g., BscScan/Etherscan V2), tell the user that we need to fall back to manual viewing and share the direct Explorer URL (e.g., https://bscscan.com/address/ or https://bscscan.com/tx/) so they can open it themselves. Mention the limitation plainly instead of leaving them waiting for data we can’t pull.
...
安装 Clawcast - Cast Ethereum Wallet for Agents 后,可以对 AI 说这些话来触发它
Help me get started with Clawcast - Cast Ethereum Wallet for Agents
Explains what Clawcast - Cast Ethereum Wallet for Agents does, walks through the setup, and runs a quick demo based on your current project
Use Clawcast - Cast Ethereum Wallet for Agents to managing EVM wallets, transactions, and network helpers via cast; c...
Invokes Clawcast - Cast Ethereum Wallet for Agents with the right parameters and returns the result directly in the conversation
What can I do with Clawcast - Cast Ethereum Wallet for Agents in my general tools workflow?
将技能文件夹放到 ~/.claude/skills/clawcast-wallet/ 目录(个人级,所有项目可用),或 .claude/skills/clawcast-wallet/(项目级)。重启 AI 客户端后,用 /clawcast-wallet 主动调用,或让 AI 根据上下文自动发现并使用。
Clawcast - Cast Ethereum Wallet for Agents 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Clawcast - Cast Ethereum Wallet for Agents 可免费安装使用。请查阅仓库了解许可证信息。
Skill for managing EVM wallets, transactions, and network helpers via cast; covers onboarding, checks, and operating procedures.
Lists the top use cases for Clawcast - Cast Ethereum Wallet for Agents, with example commands for each scenario
Automate my general tools tasks using Clawcast - Cast Ethereum Wallet for Agents
Identifies repetitive steps in your workflow and sets up Clawcast - Cast Ethereum Wallet for Agents to handle them automatically
Clawcast - Cast Ethereum Wallet for Agents 属于「General Tools」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。