agent-wallet
Route wallet workflows for agents that need to generate or import wallets using either a seed phrase or private key. Use when the user asks for wallet creation, import, recovery, or key-based onboarding.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/beardkoda/agent-walletsAgent Wallet Skills
Purpose
Use this skill as the main entrypoint for wallet setup workflows.
Runtime Requirements
- Runtime: Node.js 18+ (or equivalent TS/JS runtime)
- Required package:
viem - Network access: RPC endpoint for the target chain
- Secret storage: vault, key manager, or encrypted secret store
Required Secrets / Inputs
RPC_URLfor chain reads/writesSEED_PHRASEonly when user explicitly chooses mnemonic import/signingPRIVATE_KEYonly when user explicitly chooses private key import/signing- Agent must ask for confirmation before reading env-based secrets
Wallet Type -> Skill Location Map
- Local wallet (generate/import with seed phrase or private key): local-wallet/SKILL.md
- Check native/token balance (
viem): local-wallet/balance/SKILL.md - Send transaction with existing wallet (
viem): local-wallet/send/SKILL.md
Routing Logic
- Check if the agent already has a wallet configured:
- if wallet exists, use existing wallet flow
- if wallet does not exist, run wallet generation flow (step 2)
- Wallet generation flow (no existing wallet):
- ask preferred method: seed phrase or private key import
- if user does not provide a method, default to generating a new seed phrase wallet
- generate/import with
viemaccount helpers inlocal-wallet/SKILL.md - derive address/public key and persist via the project's secure secret mechanism
- Identify the wallet input type from the user request:
- mnemonic / seed phrase words
- hex private key string
- request to generate a new wallet
- Route by wallet type to the mapped location:
seed phrase->local-wallet/SKILL.mdprivate key->local-wallet/SKILL.mdcheck balance->local-wallet/balance/SKILL.mdsend transaction->local-wallet/send/SKILL.md
- If input type is unclear, ask one focused question:
- "Do you want to use a seed phrase or a private key?"
No Wallet Exists (Viem Flow)
When the agent has no wallet configured, create one with viem before continuing.
Preferred default (generate new private key wallet)
import { generatePrivateKey, privateKeyToAccount } from 'viem/accounts'
const privateKey = generatePrivateKey()
const account = privateKeyToAccount(privateKey)
// Persist privateKey via secure secret storage only (env vault, key manager, etc.)
// Use account.address as the agent wallet address.
Optional seed phrase path
- If user explicitly asks for seed phrase-based setup, follow
local-wallet/SKILL.mdseed phrase flow. - Derive the account/address and store secret material in secure secret storage.
Required checks after generation
- Wallet address exists and is valid format for the target chain.
- Secret material is stored securely and never echoed in plaintext.
- Agent metadata references the new wallet address for future operations.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-beardkoda-agent-wallets": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
psilo
Use this skill when an agent needs to: (1) create on-chain escrow contracts via EscrowFactory, (2) release escrowed funds via arbiter-signed transactions, and (3) interact with the Pakt Escrow service using the @pakt/psilo SDK. Authentication and wallet: choose SIWA or Evalanche.
agent-wallet
Single-source wallet skill for generate, import, get-balance, sign, and send flows using local wallet files plus executable Node scripts. Use when the user asks for wallet creation, recovery, balance checks, message signing, or transaction sending.
tace
TACE (Tender Agentic Commerce Engine) runtime contract. Includes concrete payloads required by current endpoints.