Loading...
Loading...
This skill should be used when the user asks about Aave, lending, borrowing, 'supply to Aave', 'deposit into Aave', 'withdraw from Aave', 'Aave APY', 'Aave markets', 'lending rates', 'health factor', or mentions Aave V3, DeFi lending, supply/withdraw assets, or checking lending rates. Covers market data, reserve details, account positions, and supply/withdraw operations on Ethereum, Polygon, and Arbitrum. Do NOT use for DEX swaps — use okx-dex-swap instead. Do NOT use for prediction markets — use okx-dapp-polymarket instead.
npx skill4agent add purong-huang-1121/skills-store dapp-aaveplugin-storewhich plugin-storecurl -sSL https://raw.githubusercontent.com/purong-huang-1121/skills-store/main/install.sh | sh~/.plugin-store/last_checkcached_ts=$(cat ~/.plugin-store/last_check 2>/dev/null || true)
now=$(date +%s)cached_ts(now - cached_ts) < 43200curl -sSL https://raw.githubusercontent.com/purong-huang-1121/skills-store/main/install.sh | shplugin-storeokx-dex-tokenokx-dex-swapokx-dex-marketokx-wallet-portfoliookx-onchain-gatewayokx-dapp-polymarket# Add to .env file
EVM_PRIVATE_KEY=0x...# List all Aave V3 markets on Ethereum
plugin-store aave markets --chain ethereum
# Get reserve details for USDC
plugin-store aave reserve USDC --chain ethereum
# Check account positions
plugin-store aave account 0xYourAddress --chain ethereum# Supply 100 USDC to Aave on Ethereum
plugin-store aave supply --token USDC --amount 100 --chain ethereum
# Withdraw 50 USDC from Aave
plugin-store aave withdraw --token USDC --amount 50 --chain ethereum
# Withdraw all USDC (full balance)
plugin-store aave withdraw --token USDC --amount max --chain ethereum# Borrow 500 USDC against your collateral (variable rate)
plugin-store aave borrow --token USDC --amount 500 --chain ethereum
# Repay 200 USDC of your debt
plugin-store aave repay --token USDC --amount 200 --chain ethereum
# Repay all outstanding USDC debt
plugin-store aave repay --token USDC --amount max --chain ethereum| # | Command | Auth | Description |
|---|---|---|---|
| 1 | | No | List all Aave V3 reserve markets on a chain |
| 2 | | No | Get detailed reserve data (APY, liquidity, config) |
| 3 | | No | View account positions, health factor, borrowing power |
| 4 | | Yes | Supply assets to earn yield |
| 5 | | Yes | Withdraw supplied assets (use "max" for full withdrawal) |
| 6 | | Yes | Borrow assets at variable rate against collateral |
| 7 | | Yes | Repay borrowed assets (use "max" for full repayment) |
User: "What are the best lending rates on Aave right now?"
1. aave markets --chain ethereum → show all reserves with APYs
↓ user picks an asset
2. aave reserve USDC --chain ethereum → show detailed reserve info
↓ user wants to supply
3. Check EVM_PRIVATE_KEY is set
↓ not set → prompt user to add to .env
↓ set → continue
4. aave supply --token USDC --amount 100 --chain ethereum
↓
5. "Supplied 100 USDC to Aave V3. You will receive aUSDC as a receipt token."symbol<symbol>underlyingAsset1. aave account 0xYourAddress --chain ethereum → show positions, health factor
2. aave reserve WETH --chain ethereum → check current rates on a position
3. aave withdraw --token WETH --amount max --chain ethereum → withdraw full balance1. aave markets --chain ethereum → Ethereum rates
2. aave markets --chain polygon → Polygon rates
3. aave markets --chain arbitrum → Arbitrum rates
4. aave supply --token USDC --amount 100 --chain arbitrum → supply on best chain1. okx-wallet-portfolio balance --chain ethereum → check token balances
2. aave markets --chain ethereum → check lending rates
3. aave supply --token USDC --amount 100 --chain ethereum → supply to AavemarketsreserveaccountsupplywithdrawborrowrepaymarketsEVM_PRIVATE_KEY.env| Just completed | Suggest |
|---|---|
| 1. Check specific reserve details → |
| 1. Supply assets → |
| 1. Withdraw assets → |
| 1. Check updated position → |
| 1. Check updated position → |
| 1. Check health factor → |
| 1. Check updated debt → |
plugin-store aave markets --chain <chain>| Param | Required | Default | Description |
|---|---|---|---|
| Yes | - | Chain: ethereum, polygon, arbitrum |
| Field | Description |
|---|---|
| Asset symbol (e.g. USDC, WETH, DAI) |
| Token contract address |
| Current annual supply yield (as decimal, multiply by 100 for %) |
| Current annual borrow rate |
| Total amount supplied |
| Total amount borrowed |
| Amount available to borrow |
| Ratio of borrowed to supplied |
| Loan-to-value ratio for collateral |
| Threshold at which position can be liquidated |
plugin-store aave reserve <symbol> --chain <chain>| Param | Required | Default | Description |
|---|---|---|---|
| Yes | - | Asset symbol (e.g. USDC, WETH, DAI) |
| Yes | - | Chain: ethereum, polygon, arbitrum |
| Field | Description |
|---|---|
| Asset symbol |
| Current supply APY |
| Variable borrow rate |
| Stable borrow rate (if available) |
| Total supplied amount |
| Total borrowed amount |
| Available to borrow |
| Current utilization |
| Max loan-to-value for collateral |
| Liquidation trigger threshold |
| Bonus for liquidators |
| Protocol fee on interest |
| Whether asset can be used as collateral |
| Whether borrowing is enabled |
plugin-store aave account <address> --chain <chain>| Param | Required | Default | Description |
|---|---|---|---|
| Yes | - | Wallet address (0x...) |
| Yes | - | Chain: ethereum, polygon, arbitrum |
| Field | Description |
|---|---|
| Total value of supplied assets in USD |
| Total value of borrowed assets in USD |
| Net position value in USD |
| Health factor (< 1.0 = liquidatable) |
| Remaining borrowing capacity in USD |
| Current loan-to-value ratio |
| List of supplied positions |
| List of borrow positions |
plugin-store aave supply --token <symbol> --amount <amount> --chain <chain>| Param | Required | Default | Description |
|---|---|---|---|
| Yes | - | Asset symbol (e.g. USDC, WETH) |
| Yes | - | Amount to supply (in token units) |
| Yes | - | Chain: ethereum, polygon, arbitrum |
| Field | Description |
|---|---|
| Transaction hash |
| Transaction status (pending, confirmed, failed) |
| Amount supplied |
| Token symbol |
| Chain used |
plugin-store aave withdraw --token <symbol> --amount <amount> --chain <chain>| Param | Required | Default | Description |
|---|---|---|---|
| Yes | - | Asset symbol (e.g. USDC, WETH) |
| Yes | - | Amount to withdraw (in token units, or "max" for full withdrawal) |
| Yes | - | Chain: ethereum, polygon, arbitrum |
| Field | Description |
|---|---|
| Transaction hash |
| Transaction status (pending, confirmed, failed) |
| Amount withdrawn |
| Token symbol |
| Chain used |
plugin-store aave borrow --token <symbol> --amount <amount> --chain <chain>| Param | Required | Default | Description |
|---|---|---|---|
| Yes | - | Asset symbol to borrow (e.g. USDC, WETH) |
| Yes | - | Amount to borrow (in token units) |
| No | ethereum | Chain: ethereum, polygon, arbitrum |
| Field | Description |
|---|---|
| Transaction hash |
| Transaction status (success, reverted) |
| Amount borrowed |
| Token symbol |
| Chain used |
plugin-store aave repay --token <symbol> --amount <amount> --chain <chain>| Param | Required | Default | Description |
|---|---|---|---|
| Yes | - | Asset symbol to repay (e.g. USDC, WETH) |
| Yes | - | Amount to repay (in token units, or "max" for full repayment) |
| No | ethereum | Chain: ethereum, polygon, arbitrum |
| Field | Description |
|---|---|
| Transaction hash |
| Transaction status (success, reverted) |
| Amount repaid |
| Token symbol |
| Chain used |
okx-wallet-portfolioaccount--amount max--amount maxtype(uint256).maxmarkets