简介
为 Uniswap 代理提供 Privy/Turnkey/Safe 三级钱包配置,自动完成创建、策略设置与资金充值,平衡开发效率与资产安全。
原始描述
Set up an agent wallet for Uniswap operations. Use when user needs to provision a wallet for an autonomous agent. Supports Privy (development), Turnkey (production), and Safe (maximum security). Configures spending limits, token allowlists, and funds the wallet for gas.
通过你的 Agent 添加
安装目录:setup-agent-wallet/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: setup-agent-wallet
description: Set up an agent wallet for Uniswap operations. Use when user needs to provision a wallet for an autonomous agent. Supports Privy (development), Turnkey (production), and Safe (maximum security). Configures spending limits, token allowlists, and funds the wallet for gas.
model: opus
allowed-tools: [Task(subagent_type:wallet-provisioner)]
Set Up Agent Wallet
Overview
Overview
Provision and configure a wallet for autonomous Uniswap agent operations. Supports three wallet providers at different security tiers. Handles the full lifecycle: provision wallet, configure safety policies, fund for gas, and validate the setup.
When to Use
Activate when the user says:
- "Set up a wallet"
- "Configure agent wallet"
- "Provision wallet"
- "Initialize wallet"
- "Set up a wallet for my agent"
- "Create a new agent wallet"
Parameters
Extract these from the user's request:
| Parameter | Required | Default | Description |
|---|---|---|---|
provider |
No | privy |
Wallet provider: privy (development), turnkey (production), or safe (maximum security) |
chains |
No | all |
Chains to configure — chain names or "all" for all supported chains |
environment |
No | development |
Either development or production |
spendingLimit |
No | $1000/day |
Daily spending limit (e.g., "$1000/day", "$500/day") |
Provider Selection Guide
- Privy: Best for development and testing. Fast setup, easy to manage. Not recommended for production with significant funds.
- Turnkey: Production-grade key management with TEE (Trusted Execution Environment). Use for real trading with moderate funds.
- Safe: Maximum security via multi-sig smart account. Use for high-value operations or institutional setups.
Workflow
-
Parse user intent: Determine the wallet provider, target chains, environment, and spending limit from the user's request. Apply defaults for any unspecified parameters.
-
Delegate to wallet-provisioner agent: Hand off the provisioning task with the extracted parameters. The agent handles the full setup pipeline:
- Provision: Create the wallet via the selected provider's API
- Configure policies: Set spending limits (per-tx and daily), token allowlists, and rate limits
- Fund: Send gas tokens to the wallet on each requested chain
- Validate: Confirm the wallet is operational by verifying balances and policy configuration
-
Report results: Present the wallet setup summary to the user.
Agent Delegation
-
Parse user intent: Determine the wallet provider, target chains, environment, and spending limit from the user's request. Apply defaults for any unspecified parameters.
-
Delegate to
wallet-provisioneragent: Hand off the provisioning task with the extracted parameters. The agent handles the full setup pipeline:- Provision: Create the wallet via the selected provider's API
- Configure policies: Set spending limits (per-tx and daily), token allowlists, and rate limits
- Fund: Send gas tokens to the wallet on each requested chain
- Validate: Confirm the wallet is operational by verifying balances and policy configuration
-
Report results: Present the wallet setup summary to the user.
Agent Delegation
This skill delegates to the wallet-provisioner agent:
Task(subagent_type:wallet-provisioner)
provider: <privy|turnkey|safe>
chains: <chain list>
environment: <development|production>
spendingLimit: <daily limit>
The agent internally handles all provisioning steps and returns the final wallet configuration.
Output Format
Agent Wallet Configured
Address: 0x1234...ABCD
Provider: Privy (development)
Chains: Ethereum, Base, Arbitrum
Limits: $1,000/day, $500/tx
Allowlist: USDC, WETH, UNI, ARB (4 tokens)
Gas: Funded on all 3 chains
Config: .uniswap/agent-wallet.json
Error Handling
Error
User-Facing Message
Suggested Action
PROVIDER_AUTH_FAILED
"Could not authenticate with [provider]. Check API keys."
Verify provider credentials in environment variables
FUNDING_FAILED
"Could not fund wallet on [chain]. Insufficient source balance."
Fund the source wallet first
CHAIN_NOT_SUPPORTED
"[chain] is not supported by [provider]."
Choose a different chain or provider
Agent Wallet Configured
Address: 0x1234...ABCD
Provider: Privy (development)
Chains: Ethereum, Base, Arbitrum
Limits: $1,000/day, $500/tx
Allowlist: USDC, WETH, UNI, ARB (4 tokens)
Gas: Funded on all 3 chains
Config: .uniswap/agent-wallet.json
| Error | User-Facing Message | Suggested Action |
|---|---|---|
PROVIDER_AUTH_FAILED |
"Could not authenticate with [provider]. Check API keys." | Verify provider credentials in environment variables |
FUNDING_FAILED |
"Could not fund wallet on [chain]. Insufficient source balance." | Fund the source wallet first |
CHAIN_NOT_SUPPORTED |
"[chain] is not supported by [provider]." | Choose a different chain or provider |
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。