aave

Manage Aave V3 DeFi positions on Base — supply, borrow, repay, withdraw, and check account health. Includes liquidation safety checks.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "aave" with this command: npx skills add fibrous-finance/fibx-skills/fibrous-finance-fibx-skills-aave

Aave V3 Management

Interact with the Aave V3 lending protocol on Base only. Supply assets to earn yield, borrow against collateral, repay debt, or withdraw.

Prerequisites

  • Active session required.
  • Sufficient ETH on Base for gas fees.

Rules

  1. This skill ONLY works on Base. NEVER attempt Aave operations on Citrea, HyperEVM, or Monad. If requested, refuse and explain.
  2. BEFORE any action, run npx fibx@latest balance to verify enough ETH for gas.
  3. BEFORE borrow, you MUST run npx fibx@latest aave status to check the Health Factor:
    • Health Factor < 1.5 → WARN the user about liquidation risk.
    • Health Factor < 1.1 → DO NOT proceed without explicit double-confirmation from the user.
  4. When the user wants to fully close a position, ALWAYS use max as the amount for repay and withdraw. This sends MAX_UINT256 to the contract.
  5. Auto-Wrap/Unwrap: When supplying, repaying, or withdrawing ETH, the CLI automatically handles the ETH ↔ WETH conversion. You can safely use ETH as the token symbol for these actions.

Commands

npx fibx@latest aave <action> [amount] [token] [--json]

Actions

ActionDescriptionExample
statusAccount health, LTV, net worthnpx fibx@latest aave status
supplyDeposit assets (auto-wraps ETH)npx fibx@latest aave supply 1 ETH
borrowBorrow against collateralnpx fibx@latest aave borrow 50 USDC
repayRepay debt (auto-wraps ETH)npx fibx@latest aave repay max ETH
withdrawWithdraw assets (auto-unwraps WETH -> ETH)npx fibx@latest aave withdraw max ETH

Parameters

ParameterTypeDescriptionRequired
actionstringstatus, supply, borrow, repay, or withdrawYes
amountstringAmount or max (for full repay/withdraw)Yes (except status)
tokenstringToken symbol (USDC, ETH, DAI, etc.)Yes (except status)
jsonflagOutput as JSONNo

Dust Handling

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

Examples

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: "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 Handling

ErrorAction
Health Factor too lowBlocked to prevent liquidation. Suggest repaying or supplying.
Insufficient collateralCannot borrow without supplying first.
Insufficient balanceCheck balance — user may need to swap for the token first.
Not authenticatedRun authenticate-wallet skill first.
Rate limit / 429Use config skill to set a custom RPC.

Related Skills

  • Use trade to swap tokens before supplying (e.g. swap ETH → USDC, then supply USDC).
  • Use balance to verify available assets before any Aave operation.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

balance

No summary provided by upstream source.

Repository SourceNeeds Review
General

trade

No summary provided by upstream source.

Repository SourceNeeds Review
General

send

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

authenticate-wallet

No summary provided by upstream source.

Repository SourceNeeds Review