Skip to content

galleonlabs/crypto-defi-skills / packages/lending/skills/galleon-aave-v4

galleon-aave-v4

Verified

Use when inspecting an Aave V4 Hub/Spoke position, sizing supply or borrowing, preparing repay/withdraw calls, or reconciling a V4 execution plan through official Aave MCP or AaveKit. V3 Pools, eMode and Aptos require their own interfaces.

FileKindSize
ATTRIBUTION.mdmarkdown946 B
LICENSEother1.0 KB
SKILL.mdskill md4.9 KB
agents/openai.yamlconfig236 B
references/examples.mdmarkdown1.9 KB
references/operations.mdmarkdown3.3 KB

references/examples.md

View on GitHub
# V4 worked records

Synthetic observations only; no API access or financial actions are implied.

## Exact amount and reserve

Request: prepare a borrow of 0.1 USDC in an observed V4 position. Current tool discovery returns opaque reserve R; the token has 6 decimals. MCP amount is `"0.1"`; a raw contract input would be `100000`. Calling MCP with `"100000"` would request 100,000 USDC, so reject a unit mismatch before preparation. Keep R exactly as returned; a different reserve for the same ticker can belong to another Spoke.

Read account/position/reserve, then preview unchanged parameters. If an error warning reports no collateral borrowing power, return the prerequisite. Do not silently enable collateral or choose another position. A warning-only successful preview reaches the user with the unsigned plan and post-action health factor.

## Approval/indexing delay

Approval receipt is successful, but indexer still reports pending and provider emits an approval branch again. Read actual allowance and preserve the approval hash. Wait/retry current read within bounds rather than submitting approval repeatedly. If the action has a V4 operations-aware processed check, carry its original `operations`; do not invent them from a hash.

After a borrow, compare actual principal/balance and health with preview. A successful transaction receipt with unindexed activity is chain-confirmed/index-pending. Indexing alone with no receipt is a separate weaker observation.

## Repay then withdraw

Displayed debt is rounded to four USD decimals, while fresh position items show nonzero accrued interest. Exact old principal cannot prove full repayment. Use documented current full-debt preparation within the user's approved maximum, then reconcile receipt and position. Withdraw only after reading the resulting collateral constraint. Liquidity-only `withdrawableIgnoringDebt` is not an authorized healthy maximum.
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 323kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 323kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 323kUpdated Claude CodeCodexVerifiedInstall