一键导入
uniswap-ai
Use Uniswap AI as the intent planner for swaps and liquidity actions, then pipe its output into Elytro smart accounts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use Uniswap AI as the intent planner for swaps and liquidity actions, then pipe its output into Elytro smart accounts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Elytro smart-account wallet CLI for agents: multi-chain ERC-4337, 2FA email OTP, spending limits, social recovery. Simulate before send, get user approval on risky steps, and explain outcomes in a fixed, user-friendly format (no raw JSON unless asked). Deferred OTP completed with otp submit. Use for: accounts, transfers, contract calls, email/security setup, guardian recovery. Requires Node 18 or newer.
Entry point for the Elytro wallet skill plus the curated DeFi sub-skills. Start here before loading any individual protocol skill.
Start-page skill that routes Elytro agents to the correct DeFi protocol playbook.
Run recurring payroll cycles from an Elytro smart account. Supports ETH or a single ERC-20 token per pay period, manual approval, sponsorship-aware simulations, and logging best practices.
Coordinate Elytro ERC-4337 smart accounts with DeFi planners (e.g., Uniswap AI) to quote, build, simulate, and execute calldata or UserOperations safely.
| name | uniswap-ai |
| description | Use Uniswap AI as the intent planner for swaps and liquidity actions, then pipe its output into Elytro smart accounts. |
| user-invocable | true |
| disable-model-invocation | false |
| required-skills | ["defi/elytro"] |
| allowed-tools | [] |
| related-skills | ["defi","elytro"] |
| metadata | {"upstream":"https://github.com/Uniswap/uniswap-ai"} |
This skill explains how to collaborate with the Uniswap AI agent to design swaps, limit orders, or liquidity instructions before executing them with Elytro.
defi/elytro so you know how to simulate/send transactions through Elytro smart accounts.elytro query ... commands. You will feed these facts into Uniswap AI so it can size trades correctly.When invoking Uniswap AI, pass a concise brief that contains:
Prompt template:
You control the Elytro smart account demo-arb at 0x1234... on Arbitrum (42161).
Balances: 500 USDC, 1.2 WETH.
Goal: swap 250 USDC into WETH with max 0.5% slippage. Provide calldata + ETH value for the Uniswap v3 router or build an ERC-4337 UserOperation that Elytro can sign.
Return JSON with fields {chainId, target, calldata, valueEth} OR {userOperation}.
Ensure Uniswap AI responds with one of:
sender and optionally embedding a paymaster.Checklist:
amountOutMinimum, deadlines).If anything is ambiguous, ask Uniswap AI for clarification before executing.
Feed the validated artifact into the defi/elytro workflow:
ACCOUNT, CHAIN, ROUTER, CALLDATA, VALUE_ETH environment variables and run elytro tx simulate/send as documented there.swap-userop.json), run elytro tx simulate <alias> --userop "$(cat swap-userop.json)", then elytro tx send ....After Elytro returns a bundler or transaction hash:
elytro query balance to confirm final balances and include them in the response.0x prefix and even length before passing it to Elytro.permit2 approvals, ensure the approving token is held and confirm allowances post-trade.defi → selects defi/uniswap.defi/elytro to simulate and send the transaction.Keep this skill handy for any Uniswap-centered workflow; for other protocols, add additional skills and link them through defi.