safe-transactions
Installation
SKILL.md
Aave transaction preparation
Every tool named below comes from Aave's MCP server, https://mcp.aave.com. If get_markets is not
available, add it first: claude mcp add --transport http aave https://mcp.aave.com (Claude Code),
codex mcp add aave --url https://mcp.aave.com (Codex), or point any other MCP client at the URL.
Non-custodial: every tool here returns an unsigned transaction for the user's own wallet to sign. Say what a prepared transaction will do once signed, and that nothing has been sent.
The chain is discover → inspect → simulate → build, then hand over unsigned.
Steps
- Discover —
get_marketswithsymbols, anduserset to the sender, in this session even when a market looks familiar: selectors (v4reserveId; v3market+token+chainId) are deployment-specific and cannot be recalled. Theuserrows say what this wallet can actually supply or borrow before anything is built. - Inspect —
get_user_summaryfor what the wallet already owes and how much room it has, andget_reserve_detailswhere the reserve's own parameters bear on the action. A borrow or a withdraw sized without this is a guess. - Simulate —
preview_actionwith the exact parameters you intend to build. Mandatory before every borrow and withdraw; run it for supply and repay too. An error-level warning means the action cannot succeed as specified: fix the inputs or tell the user, rather than building it. - Build —
prepare_actionwith the same selectors and amount. Follow the returned plan in order: an approval step comes before the action, and a sent transaction is confirmed withget_transaction_processedbefore building one that depends on it. - Hand over — show the unsigned transaction, the simulated outcome (the health factor after, for anything touching debt or collateral), and every warning (warning level succeeds but must reach the user). Then stop: signing is the user's move.