skills/aave/SKILL.md
Manage Aave V3 DeFi positions on Base — supply, borrow, repay, withdraw, view markets, and check account health. Supports --simulate for gas estimation. Includes liquidation safety checks.
npx skillsauth add ahmetenesdur/fibx-agentic-wallet-skills aaveInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Interact with the Aave V3 lending protocol on Base only. View market data, supply assets to earn yield, borrow against collateral, repay debt, or withdraw.
status, supply, borrow, repay, withdraw.markets does not require authentication — it is a public on-chain query.npx fibx@latest balance to verify enough ETH for gas.borrow, you MUST run npx fibx@latest aave status to check the Health Factor:
max as the amount for repay and withdraw. This sends MAX_UINT256 to the contract.ETH as the token symbol for these actions.npx fibx@latest aave <action> [amount] [token] [--simulate] [--json]
| Action | Description | Example |
| ---------- | ------------------------------------------ | --------------------------------------- |
| status | Account health, LTV, net worth | npx fibx@latest aave status |
| markets | List all active reserves with APY & TVL | npx fibx@latest aave markets |
| supply | Deposit assets (auto-wraps ETH) | npx fibx@latest aave supply 1 ETH |
| borrow | Borrow against collateral | npx fibx@latest aave borrow 50 USDC |
| repay | Repay debt (auto-wraps ETH) | npx fibx@latest aave repay max ETH |
| withdraw | Withdraw assets (auto-unwraps WETH -> ETH) | npx fibx@latest aave withdraw max ETH |
| Parameter | Type | Description | Required |
| ---------- | ------ | --------------------------------------------------------------- | ------------------------------- |
| action | string | status, markets, supply, borrow, repay, or withdraw | Yes |
| amount | string | Amount or max (for full repay/withdraw) | Yes (except status/markets) |
| token | string | Token symbol (USDC, ETH, DAI, etc.) | Yes (except status/markets) |
| simulate | flag | Estimate gas without executing the transaction | No |
| json | flag | Output as JSON | No |
When repaying or withdrawing, always prefer max if the user wants to fully close a position.
Passing max sends MAX_UINT256 to the Aave contract, which covers all accrued interest and prevents tiny residual balances (e.g. 0.000001 USDC) from remaining.
npx fibx@latest aave repay max USDC # Repays all debt including accrued interest
npx fibx@latest aave withdraw max USDC # Withdraws entire supplied position
User: "What markets are available on Aave?"
npx fibx@latest aave markets
User: "How is my Aave position doing?"
npx fibx@latest aave status
User: "Supply 1 ETH to Aave"
npx fibx@latest balance
npx fibx@latest aave supply 1 ETH
User: "How much gas would supplying 1 ETH cost?"
npx fibx@latest aave supply 1 ETH --simulate
User: "Borrow 100 USDC"
npx fibx@latest aave status
# If Health Factor > 1.5:
npx fibx@latest aave borrow 100 USDC
User: "Repay my ETH debt"
npx fibx@latest aave repay max ETH
| Error | Action |
| ------------------------- | -------------------------------------------------------------- |
| Health Factor too low | Blocked to prevent liquidation. Suggest repaying or supplying. |
| Insufficient collateral | Cannot borrow without supplying first. |
| Insufficient balance | Check balance — user may need to swap for the token first. |
| Not authenticated | Run authenticate-wallet skill first. |
| Rate limit / 429 | Use config skill to set a custom RPC. |
trade to swap tokens before supplying (e.g. swap ETH → USDC, then supply USDC).balance to verify available assets before any Aave operation.portfolio to see Aave positions alongside all token holdings with USD values.config to set a custom RPC if you encounter rate limit errors.testing
Get a swap price quote without authentication. Check exchange rates, output amounts, and route info for any token pair on Base, Citrea, HyperEVM, or Monad. No wallet or session required.
testing
Check the on-chain status of a transaction and get the block explorer link. Supports Base, Citrea, HyperEVM, and Monad.
testing
Swap tokens using Fibrous aggregation on Base, Citrea, HyperEVM, or Monad. Finds optimal route, simulates before execution. Supports --simulate for gas-only estimation without sending.
testing
Send native tokens (ETH, cBTC, HYPE, MON) or ERC-20 tokens to an address on Base, Citrea, HyperEVM, or Monad. Simulates before sending. Supports --simulate for gas-only estimation.