← 返回 Skills 市场
Agent-Wallet
作者
Akinsuyi Joshua
· GitHub ↗
· v1.0.1
· MIT-0
108
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install agent-wallets
功能描述
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 creati...
使用说明 (SKILL.md)
Agent 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.
Shared Safety Rules
- Never print full seed phrases or private keys in outputs, logs, or summaries.
- Mask secrets when showing examples (for example
ab12...9f). - Prefer offline generation/import steps where possible.
- Remind users to back up secrets in a secure location.
- Default to read-only actions until user explicitly asks to send/broadcast.
- If chain is not provided, default to a testnet and state that choice.
- Never broadcast immediately after simulation without explicit confirmation.
Completion Requirements
Before finishing:
- confirm wallet address/public key was derived successfully
- confirm secret material was not exposed in plain text
- if wallet was missing, confirm a new wallet was created and stored securely
- provide next action (backup, test transaction, or network config)
Standard Response Contract
Return this structure across all wallet skills:
action:generate|import|balance|sendchain: chain id/name usedaddress: active wallet or queried addresstxHash: transaction hash when available, elsenullstatus:success|failed|needs_confirmationnext_step: one clear follow-up action
安全使用建议
This skill appears to be a legitimate wallet workflow spec, but exercise caution: 1) The registry metadata lacks declared env vars while the docs require RPC_URL, SEED_PHRASE, and PRIVATE_KEY — verify where and how these secrets will be stored and accessed before providing them. 2) Confirm the platform enforces the SKILL.md guardrails (agent must prompt for consent before reading secrets and must not echo full secrets). 3) Ensure 'viem' and Node.js are installed from official sources on the runtime and that the platform does not silently fetch arbitrary code. 4) Because the skill source and homepage are unknown, avoid using it with real/mainnet funds until you have tested flows on a testnet and validated secret storage behavior. 5) If possible, review any runtime code the agent will execute (or require the skill author to publish source) to confirm there are no hidden exfiltration steps. If you cannot verify these points, treat the skill as untrusted for handling real private keys or seed phrases.
功能分析
Type: OpenClaw Skill
Name: agent-wallets
Version: 1.0.1
The agent-wallets skill bundle is a well-structured set of instructions for managing blockchain wallets using the viem library. It covers wallet generation, balance checking, and transaction signing with clear safety guardrails, such as mandatory secret masking, explicit user confirmation for transactions (especially on mainnet), and address validation. The logic is entirely consistent with its stated purpose, and the instructions specifically direct the AI agent to avoid exposing sensitive material like private keys or seed phrases in logs or outputs (SKILL.md, local-wallet/generate/SKILL.md).
能力标签
能力评估
Purpose & Capability
The name/description and the SKILL.md content align: the skill documents wallet generation, import, balance checks, and sending via viem. However, registry metadata lists no required environment variables or credentials while the SKILL.md explicitly requires RPC_URL, SEED_PHRASE, and PRIVATE_KEY; that metadata omission is an inconsistency that should be resolved.
Instruction Scope
The runtime instructions stay within the stated wallet purpose: they describe derive/import/generate flows, balance reads, and send flows, and include explicit guardrails (ask before reading secrets, never print full secrets, require confirmations for broadcasts). The docs reference only expected files/env (process.env.* examples) and standard RPC endpoints — no unexpected external endpoints or data-exfiltration steps are present.
Install Mechanism
This is instruction-only and has no install spec. It requires Node.js 18+ and the 'viem' package but does not specify how/where dependencies are installed. That is not inherently malicious, but it means the runtime environment must already provide viem or the agent/platform will need to install it — check how your platform installs third-party packages before use.
Credentials
The sensitive environment inputs requested by the SKILL.md (RPC_URL, SEED_PHRASE, PRIVATE_KEY) are appropriate for a wallet skill. The concern is that the registry metadata does not declare any required env vars or a primary credential, and the skill source is 'unknown' with no homepage — this mismatch and lack of provenance reduces trust and increases the risk that secrets could be mishandled if the agent or platform does not enforce the documented guardrails.
Persistence & Privilege
The skill does not request permanent always-on inclusion and does not attempt to modify other skills or system-wide settings. It instructs storing secrets in secure secret storage (vault/key manager) which is appropriate; confirm your platform's secure storage mechanism will be used rather than ad hoc persistence.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install agent-wallets - 安装完成后,直接呼叫该 Skill 的名称或使用
/agent-wallets触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added coverage for native/token balance workflows; new balance skill at local-wallet/balance/SKILL.md.
- Updated wallet skill mapping and routing logic to include balance checks.
- Expanded runtime and input requirements for better clarity and security, including explicit chain/network and secret management needs.
- Added a standard response contract specifying outputs for all wallet-related operations.
- Enhanced safety guidance: default to read-only, use testnet if chain unspecified, prevent immediate broadcast, and enforce user confirmation for sensitive actions.
- Updated skill and description naming to agent-wallet.
v1.0.0
Initial release of agent-wallet-skills for managing agent wallet setup and routing.
- Introduces entrypoint skill to route agent wallet workflows for creation, import, or recovery using private key or seed phrase.
- Defines clear routing logic for wallet detection, input type mapping, and transaction flow.
- Enforces security rules: never print full secrets, require secure secret storage, and address validity checks.
- Guides users to preferred generation methods and provides fallback questions when wallet type is unclear.
- Lists completion checks and recommended next actions, such as backup or test transaction.
元数据
常见问题
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 creati... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 108 次。
如何安装 Agent-Wallet?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-wallets」即可一键安装,无需额外配置。
Agent-Wallet 是免费的吗?
是的,Agent-Wallet 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Agent-Wallet 支持哪些平台?
Agent-Wallet 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Agent-Wallet?
由 Akinsuyi Joshua(@beardkoda)开发并维护,当前版本 v1.0.1。
推荐 Skills