clawcast
Installation
SKILL.md
Cast Skill
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.
Resources
- EVM network list —
assets/evm-networks.jsoncontains 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. - Token metadata —
assets/evm-network-tokens.jsontracks 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
- Step scripts —
scripts/01_install_cast.sh..06_finish.shcover 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. - Wallet health check —
scripts/check_wallet.shinspects the shared state and reports whether a keystore/address pair already exists; it returns success (0) when a wallet is present and 1 otherwise. - Network status —
scripts/show_network.shprints the active network name, chainId, and RPC URL from~/.agent-wallet/state.env, or warns if the configuration is incomplete. - Wallet removal —
scripts/remove_wallet.shsafely deletes the keystore, password stash, and metadata from~/.agent-wallet/state.envafter an explicit confirmation.