/galleon-defi-lending-skills:galleon-kamino-lendingfrom galleon-defi-lending-skills
Inspects a Kamino Borrow obligation on Solana: reads market, reserves, collateral, debt, borrow factors, elevation groups, and post-action risk using official APIs and SDKs.
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.
Resolve Solana cluster, wallet public key, lending program, market, obligation, deposit mints, debt mints and intended amount. A ticker is insufficient. Kamino Borrow, Earn vaults, fixed-term lending and Multiply have different contracts and risk. Keep this workflow scoped to the discovered Borrow obligation; do not introduce leverage or a standing order for a spot lending request.
Use the official public API to discover GET https://api.kamino.finance/v2/kamino-market and GET /kamino-market/{marketPubkey}/users/{userPubkey}/obligations. Use GET /oracles/prices for discovery of supported observations. Inspect current schemas from the official index rather than inventing fields. Keep response and retrieval times; API discovery is not a current-slot validity check.
Use a pinned, version-matched @kamino-finance/klend-sdk or program account decoder to read market, reserves and obligation at compatible slots. Confirm each account's program owner, underlying mint, token program and decimals. Read accrued debt, collateral exchange rates, risk-adjusted debt, borrow factor per debt asset, liquidation LTV, borrowing limits, reserve liquidity, caps and elevation-group eligibility. Markets are isolated; another market's collateral and cash cannot rescue this obligation's borrowing capacity.
Synthetic collateral value is 20,000, raw debt 10,000 and borrow factor 1.2. Risk-adjusted LTV is 60%, not 50%. A 20% collateral decline makes it 75%. At a 70% liquidation LTV, the stressed position breaches the limit. Increasing collateral in another Kamino market changes none of these figures. Rate, cap and cash reads remain necessary before an executable borrow plan.
If an oracle or reserve is stale, the elevation group rejects a mint, or simulation reports stale obligation state, refresh through the official builder and rerun the exact plan. Do not remove risk checks or use a lower factor from another reserve.
Return program/market/obligation identities, slots, mint scales, factors, liquidity, risk calculations and a decision with remaining reads. This is research or unsigned planning; no signer is needed. After separately authorized execution, verify signature status at the chosen commitment and reread obligation and recipient token account. A submitted signature or explorer listing alone is not a settled borrow or repayment.
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
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.Other plugins' skills for the same job