OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add aave/skills --skill deleverage
Reduce the risk on an Aave position — "reduce my risk", "unwind", "get my health factor up", "I'm close to liquidation" — by comparing the routes (repay, repay from collateral, add collateral) on the resulting health factor before recommending one.
npx skills add aave/skills --skill deleverage
Every tool named below comes from Aave's MCP server, https://mcp.aave.com. If get_markets is not
available, add it first: claude mcp add --transport http aave https://mcp.aave.com (Claude Code),
codex mcp add aave --url https://mcp.aave.com (Codex), or point any other MCP client at the URL.
There are three ways to lift a health factor, and they cost the user different things. Compare them before recommending one.
get_user_summary for the health factor, then get_user_positions for the debt and collateral by asset. Identify the largest debt and the collateral with the highest liquidation threshold.get_markets with user for the debt asset's wallet balance. If the wallet holds it, preview_action (action repay) at the amount that reaches the target health factor.get_repay_with_supply_quote for the debt against the collateral; it is atomic and the health factor never passes through a worse state. On v3 there is no atomic route: a withdraw → repay sequence dips the health factor between steps, and that must be said.preview_action (action supply, enableCollateral: true) for an asset the wallet holds.healthFactorAfter; a route that cannot be simulated is described as unsimulated, not estimated.safe-transactions skill for the build.