npx skills add ...
npx skills add franalgaba/grimoire --skill grimoire-aave
Fetches Aave V3 public market data using the Grimoire venue CLI. Use when you need Aave health checks, chain listings, market metadata, or reserve info.
npx skills add franalgaba/grimoire --skill grimoire-aave
Use this skill to query Aave V3 metadata and reserve snapshots for strategy inputs.
Preferred invocations:
grimoire venue aave ...npx -y @grimoirelabs/cli venue aave ... (no-install)bun run packages/cli/src/index.ts venue aave ... (repo-local)grimoire-aave ... (direct binary from @grimoirelabs/venues)Recommended preflight:
grimoire venue doctor --adapter aave --chain 1 --rpc-url <rpc> --jsongrimoire venue aave health — check Aave protocol healthgrimoire venue aave chains — list supported chainsgrimoire venue aave markets --chain <id> [--user <address>] — list markets on a chain (optionally with user positions)grimoire venue aave market --chain <id> --address <market> [--user <address>] — single market detailsgrimoire venue aave reserve --chain <id> --market <address> --token <address> — single reserve detailsgrimoire venue aave reserves --chain <id> [--market <address>] [--asset <symbol|address>] — list reserves with optional filtersgrimoire venue aave reserves-snapshot --chain <id> [--market <address>] [--asset <symbol|address>] — generate spell params: block for reserves (agent-only)Use reserves-snapshot to emit a params: block for spell inputs. This is an agent-only command (output suppressed in interactive mode).
| Chain | Market Address |
|---|---|
| Ethereum (1) | 0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2 |
| Base (8453) | 0xA238Dd80C259a72e81d7e4664a9801593F98d1c5 |
Aave V3 actions do not currently support runtime constraints (max_slippage, min_output, etc.). The adapter handles approvals and amount conversion automatically.
Aave exposes the apy metric surface for comparisons:
Use this in conditional logic (for example, compare against Morpho APY before reallocating).
The @aave/client SDK uses different amount formats per action:
| Action | Format | Example (0.1 USDC) |
|---|---|---|
| supply | value: "0.1" | Human-readable BigDecimal |
| borrow | value: "0.1" | Human-readable BigDecimal |
| withdraw | value: { exact: "100000" } | Raw amount in exact wrapper |
| repay | value: { exact: "100000" } | Raw amount in exact wrapper |
The adapter handles this conversion automatically.
reserves also supports --format spell.--format json in automation; use table for quick interactive checks.aave_v3.lend(USDC, params.amount)
aave_v3.withdraw(USDC, params.amount)
aave_v3.borrow(USDC, params.amount)
aave_v3.repay(USDC, params.amount)aave_apy = apy(aave, USDC)
aave_apy_generic = metric("apy", aave, USDC)