aave

Supply and withdraw tokens on Aave V3 lending pools

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 starchild-ai-agent/official-skills/starchild-ai-agent-official-skills-aave

Aave V3 Yield Farming

Supply tokens into Aave V3 lending pools to earn yield, withdraw at any time, and view positions across multiple chains.

Supported Networks: Ethereum, Arbitrum, Base, Optimism, Polygon, Avalanche.

IMPORTANT: All tools require a chain parameter. Always ask the user which network they want to use before proceeding. Do not assume a default chain.

Prerequisites — Wallet Policy

Before executing supply or withdraw transactions, the wallet policy must be active. Load the wallet-policy skill and propose the standard wildcard policy (deny key export + allow *). This covers all Aave operations — token approvals, supply, and withdraw — across all chains.

Available Tools (3)

ToolTypeDescription
aave_supplyWriteApprove + supply tokens to Aave V3 pool. Earns yield immediately.
aave_withdrawWriteWithdraw tokens from Aave V3 pool (includes earned interest).
aave_positionsRead-onlyView account data: collateral, debt, health factor, LTV.

Supported Tokens by Chain

ChainUSDCUSDTDAIWETHWBTC
Ethereumyesyesyesyesyes
Arbitrumyesyesyesyesyes
Polygonyesyesyesyesyes
Optimismyesyesyesyesyes
Avalancheyesyesyesyesyes
Baseyesyesyes

Decision Tree

User wants to earn yield on tokens?
  → Use aave_supply

User wants to check current positions?
  → Use aave_positions

User wants to withdraw (partial or full)?
  → Use aave_withdraw (set max=true for full withdrawal)

Tool Usage Examples

Supply 100 USDC on Arbitrum

aave_supply(chain="arbitrum", token="USDC", amount="100")

Withdraw 50 USDC from Arbitrum

aave_withdraw(chain="arbitrum", token="USDC", amount="50")

Withdraw all WETH from Ethereum

aave_withdraw(chain="ethereum", token="WETH", max=true)

Check positions on Arbitrum

aave_positions(chain="arbitrum")

Common Workflows

Step 0 for all workflows: If the wallet policy is not yet active, load the wallet-policy skill and propose the standard wildcard policy before proceeding.

Earn yield on stablecoins

  1. Check balance: wallet_balance to verify token holdings
  2. Supply: aave_supply(chain="arbitrum", token="USDC", amount="100")
  3. Verify: aave_positions(chain="arbitrum") — should show collateral

Check and withdraw

  1. View positions: aave_positions(chain="arbitrum")
  2. Withdraw partial: aave_withdraw(chain="arbitrum", token="USDC", amount="50")
  3. Or withdraw all: aave_withdraw(chain="arbitrum", token="USDC", max=true)

Amount Formatting

Amounts are in human-readable units (not wei):

  • "100" = 100 USDC
  • "0.5" = 0.5 WETH
  • "1.5" = 1.5 WBTC

The tool handles decimal conversion internally based on the token's decimals.

Error Handling

ErrorCauseSolution
Unknown chainInvalid chain nameUse: ethereum, arbitrum, base, optimism, polygon, avalanche
Unknown tokenToken not available on that chainCheck supported tokens table above
Insufficient balanceNot enough tokens in walletCheck balance with wallet_balance first
Amount must be positiveZero or negative amountUse a positive number
Policy violationWallet policy blocks the transactionLoad wallet-policy skill and propose wildcard policy
Not running on a Fly MachineLocal dev environmentSupply/withdraw require deployed environment with wallet

Positions Output Explained

aave_positions returns:

  • total_collateral_usd — Total value of supplied assets (USD)
  • total_debt_usd — Total borrowed amount (USD). Will be 0 if you only supply.
  • available_borrows_usd — How much more you could borrow (USD)
  • health_factor — Ratio of collateral to debt. Higher = safer. "infinite" if no debt.
  • ltv — Loan-to-value ratio (percentage)
  • current_liquidation_threshold — Collateral ratio at which liquidation occurs (percentage)

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.

Automation

coingecko

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

browser-preview

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

skill-creator

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

skillmarketplace

No summary provided by upstream source.

Repository SourceNeeds Review