aomi-transact
它能做什么
这个程序可以让你用自然语言与加密货币和去中心化金融(DeFi)互动。它可以在以太坊(Ethereum)等多个区块链网络上为你模拟并执行交易。
适用场景
- ✓想把一种加密货币兑换成另一种时(例如用 ETH 兑换 USDC)。
- ✓想在不同区块链网络之间转移加密货币时。
- ✓想在确认交易前先查看交易结果时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/aomi-transact/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“在 Uniswap 上用 1 ETH 兑换 USDC,并告诉我具体怎么操作。”
每周 5 个新技能,1 分钟读完。
工作原理
你用自然语言描述想做的事情,程序会把它转换为技术指令,先模拟操作以确保可行。如果你同意,它会把交易发送到区块链网络。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Aomi Transact
Authorized use only. This skill signs and broadcasts on-chain transactions on the user's behalf. The user must explicitly request each signing step. The skill will not run
aomi tx signwithout an explicit user request and a correspondingtx-Nqueued byaomi tx list.Signing gate. Do not include
aomi tx signin a copied or runnable multi-command block. Stop after listing or simulating queued transactions, summarize the tx ids, chain, value, recipient, calldata purpose, and simulation result, then ask the user for an explicit signing instruction such assign tx-1. Only run the exact signing command after that separate approval.
Overview
aomi-transact is a procedure for driving the Aomi CLI (@aomi-labs/client) from natural-language prompts. The user types something like "swap 1 ETH for USDC on Uniswap"; the agent picks the right protocol and contract, stages the approve+swap as a batch, simulates it on a forked chain, and returns a queued wallet request for the user to sign. The wallet only ever sees calldata that already passed simulation.
The CLI is account-abstraction-first: by default it signs through a zero-config Alchemy proxy (no provider credentials needed), using EIP-7702 on Ethereum mainnet and ERC-4337 on L2s. Each aomi <subcommand> invocation starts, runs, and exits — there is no long-running process.
The full skill including references (account-abstraction.md, apps.md, examples.md, session.md, troubleshooting.md, drain-vectors.md), templates (aomi-workflow.sh), and per-host metadata (agents/openai.yaml) lives upstream at aomi-labs/skills. This entry is the canonical SKILL.md only — clone the upstream for the full bundle.
When to Use This Skill
- The user wants to chat with the Aomi agent from the terminal.
- The user wants balances, prices, routes, quotes, or transaction status.
- The user wants to build, simulate, confirm, sign, or broadcast wallet requests.
- The user wants to simulate a batch of pending transactions before signing.
- The user wants to inspect or switch apps, models, chains, or sessions.
- The user wants to inspect or change Account Abstraction settings (EIP-7702 / ERC-4337).
- The user wants to sign EIP-712 typed-data payloads (off-chain agreements, intent fillers).
Examples
Read-only — price check
aomi --prompt "what is the price of ETH?" --new-session
Returns a quote with no wallet request queued. Use aomi tx list to confirm there's nothing pending.
Single-tx flow — Lido stake
aomi chat "Stake 0.01 ETH with Lido to get stETH" \
--public-key 0xUserAddress --chain 1 --new-session
aomi tx list
submit(address(0)) on Lido stETH 0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84, value = 0.01 ETH. No approve, single tx. Stop here, show the queued transaction details, and wait for the user's explicit instruction before signing.
Multi-step batch — Uniswap V3 swap
aomi chat "swap 1 USDC for WETH on Uniswap V3, send to my wallet" \
--public-key 0xUserAddress --chain 1 --new-session
aomi tx list # tx-1 = approve, tx-2 = swap
aomi tx simulate tx-1 tx-2 # mandatory for multi-step
The simulator runs each tx sequentially on a forked chain so the swap step sees the approve's state changes. Don't sign step 2 independently — it would revert. Stop after simulation, summarize the batch, and wait for an explicit user instruction naming both tx ids before signing.
Cross-chain — CCTP Ethereum → Base
aomi chat "Bridge 50 USDC from Ethereum to Base via CCTP. Recipient is my wallet." \
--public-key 0xUserAddress --chain 1 --new-session
aomi tx list
aomi tx simulate tx-1 tx-2
Stop after simulation and wait for the user to explicitly approve signing the named tx ids. After signing, source-chain burn confirms in 1-2 blocks; destination mint requires Circle's off-chain attestation (~13-19 minutes).
Limitations
- Requires
@aomi-labs/clientv0.1.30 or newer. Older versions lack--aa,--aa-provider,--aa-modeand the simulation gate. Install withnpm install -g @aomi-labs/clientor run on demand vianpx @aomi-labs/client@0.1.30 ....
…
常见问题
我需要具备区块链的专业知识吗?
不需要,这个程序的目标正是让你用自然语言操作,技术细节由它来处理。
这样安全吗?我的加密货币会被盗吗?
程序会先模拟交易,并在签署任何操作前请你明确确认。没有你的直接许可,它不会执行任何操作。
它支持哪些加密货币网络?
支持 Ethereum、Base、Arbitrum、Optimism、Polygon 和 Linea 等主流网络。
详情
作者的原始描述
Build natural-language crypto/DeFi agents and EVM MCP plugins (Claude Code, Cursor, Codex, Gemini). Aomi turns prompts into wallet-signed txs on Ethereum, Base, Arbitrum, Optimism, Polygon, Linea — non-custodial, fork-simulated. 40+ apps: Uniswap, Aave, Lido, Morpho, GMX, Hyperliquid, Polymarket.
热度
- GitHub 星标
- 48k
- 排名
- #3762
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。