kamino

Build Solana DeFi applications using Kamino lending, liquidity, and oracle SDKs.

Updated Jul 10, 2026
One-click install
npx skills add https://github.com/Kaleb-Rupe/aurora --skill kamino-kaleb-rupe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kamino
Source: https://github.com/Kaleb-Rupe/aurora/tree/main/system/aurora-bridge/.claude/skills/kamino
Command: npx skills add https://github.com/Kaleb-Rupe/aurora --skill kamino-kaleb-rupe

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Integrating with Kamino Finance on Solana requires navigating three separate SDKs (klend, kliquidity, scope) with complex transaction building, obligation management, and slippage handling, which is error-prone without structured guidance. ## Core Features & Use Cases - Lending Operations: Deposit, borrow, repay, withdraw, and liquidate positions using klend-sdk with KaminoAction transaction builders and obligation tracking. - Automated Liquidity Management: Deposit into and withdraw from concentrated liquidity strategies on Orca, Raydium, and Meteora via kliquidity-sdk with slippage protection. - Leverage & Oracle Pricing: Open leveraged multiply positions and fetch aggregated oracle prices from Scope for validated on-chain pricing. - Use Case: Build a portfolio dashboard that loads a user's Kamino lending position, computes health factor, lists liquidity strategy holdings, and displays validated SOL/USDC prices from the Scope oracle. ## Quick Start Ask the assistant to set up a Kamino lending client that deposits SOL and borrows USDC on Solana mainnet using the klend-sdk.

Frequently Asked Questions about kamino

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deposit and borrow on Kamino Lend with TypeScript?

Load the market with KaminoMarket.load, then use KaminoAction.buildDepositTxns or buildBorrowTxns with the token symbol, amount in base units, and a VanillaObligation. Combine setupIxs, lendingIxs, and cleanupIxs into a transaction and send it with sendAndConfirmTransaction.

How to deposit into Kamino liquidity strategies on Solana?

Initialize the Kamino class from kliquidity-sdk, fetch the strategy by address, then call kamino.deposit with token A and B amounts plus a slippage tolerance. Use createTransactionWithExtraBudget and assignBlockInfoToTransaction before sending.

What is the difference between klend-sdk and kliquidity-sdk?

klend-sdk handles Kamino Lend operations like deposits, borrows, repayments, liquidations, and leverage. kliquidity-sdk manages automated concentrated liquidity strategies on Orca, Raydium, and Meteora with share-based deposits and withdrawals.

Does Kamino support leveraged positions on Solana?

Yes, the leverage module in klend-sdk provides getLeverageDepositIxns and getLeverageWithdrawIxns to open and close multiply positions. Use calculateLeverageMultiplier to compute borrow amounts for a target leverage such as 2x or 3x.

Why does my Kamino transaction fail with slippage errors?

Liquidity deposits and withdrawals fail when prices move beyond the slippage tolerance passed to deposit or withdraw. Increase the slippage Decimal value, refresh strategy data before building instructions, and ensure sufficient compute budget.

How do I check health factor on a Kamino lending position?

Call market.refreshAll, fetch the user's VanillaObligation, and divide refreshedStats.borrowLimit by refreshedStats.borrowedValue. A health factor near 1.0 indicates the position is close to liquidation.