/galleon-defi-lending-skills:galleon-save-lendingfrom galleon-defi-lending-skills
Reviews Save (Solend) lending markets, reserves, and obligations on Solana. Computes WAD debt, collateral exchange rates, and split transactions using the solend-sdk.
Ships in galleon-defi-lending-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Identify cluster, wallet, lending program, specific market, reserve and obligation. Save retains Solend-named SDK and program interfaces. Do not treat the old integration guide's one-market wording as a current deployment inventory. Discover live markets and verify program ownership and mint identities before applying an example.
Use the maintained solendprotocol/public repository for @solendprotocol/solend-sdk; the older standalone SDK repository is read-only. Pin a reviewed release and follow its matching types. A symbol lookup is only a candidate: validate reserve address, liquidity mint, decimals and oracle accounts before computing amounts.
The official SDK documents SolendMarket.initialize(connection, environment, marketPublicKey), loadReserves(), refreshAll() and fetchObligationByWallet(wallet). Await the version's asynchronous methods and inspect returned failures. Retain RPC slot and API timestamps. Cross-check cached/API prices with current reserve and oracle accounts for a proposed transaction.
Read reserve available liquidity, borrowed amount, collateral mint supply/exchange rate, rate curve, fees, supply/borrow limits and configuration. Read obligation collateral entries, borrowed amounts, accrued interest and risk-adjusted limits. WAD-valued fields use fixed-point scaling; do not treat borrowedAmountWads as native token units or convert through an imprecise JavaScript Number.
sendTransactions during research.Synthetic reserve deposits are 1,000,000 USDC equivalent, borrowing 990,000 and available underlying 10,000. A requested 25,000 withdrawal exceeds current cash even if the obligation has enough collateral. The supported upper bound is at most 10,000 before fees, constraints and changing state; do not promise a 25,000 exit. For a six-decimal token, a borrowed value of 5,000,000,000 × 10^18 WAD-scaled native units represents 5,000 USDC, not 5,000,000,000 USDC.
For an uncertain Solana send, inspect the original signature, status and last-valid-block-height before replacing. A retry can duplicate an action across a split sequence. Do not reuse another market's parameters or infer success from a created associated token account.
Deliver market/reserve/obligation identity, slot, underlying and receipt units, accrued debt, caps, cash, stress and the precise unsigned sequence or missing prerequisite. Financial execution requires its own authority. Confirm actual signature outcomes and reread the obligation plus receiver balance before reporting repayment, borrowing or withdrawal complete.
Read current official sources and interface limits for the selected deployment. This independently installable workflow was reviewed on 2026-10-25; live amounts, access and contract configuration must be refreshed at use time.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub galleonlabs/crypto-defi-skills --plugin galleon-defi-lending-skills9 skills in this plugin
/galleon-aave-positionUse when checking an Aave V3 health factor, sizing a borrow, or planning a repay and collateral withdrawal; use for eMode and isolation constraints, not Aave V4./galleon-aave-v4Use 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./galleon-compound-borrowUse when planning a Compound III Comet base-asset borrow, repayment or collateral withdrawal and checking baseBorrowMin and collateral factors.