kamino

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

6|20|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/andresdefi/cryptoskills --skill kamino-andresdefi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kamino
Source: https://github.com/andresdefi/cryptoskills/tree/main/skills/kamino
Command: npx skills add https://github.com/andresdefi/cryptoskills --skill kamino-andresdefi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI agents and developers often have stale or incorrect knowledge of Kamino Finance's SDKs, program addresses, and DeFi patterns on Solana, leading to broken integrations, wrong addresses, and lost funds. This Skill provides accurate, protocol-level guidance for Kamino Lend, Kamino Liquidity, and the Scope oracle. ## Core Features & Use Cases - Lending Operations: Deposit, borrow, repay, withdraw, and liquidate positions using klend-sdk with KaminoMarket, KaminoAction, and obligation management. - Automated Liquidity Strategies: Deposit, withdraw, and manage concentrated liquidity strategies on Orca, Raydium, and Meteora via kliquidity-sdk, including single-token deposits and fee collection. - Leverage & Obligation Orders: Open leveraged multiply positions and create LTV-based or price-based automated orders such as stop-losses. - Oracle Pricing: Fetch aggregated token prices from Scope with confidence and staleness validation. - Use Case: Build a portfolio dashboard that reads a wallet's lending position health factor, liquidity strategy share values, and live token prices in one integration. ## Quick Start Ask the agent to set up a Kamino lending client that loads the main market and deposits 0.1 SOL as collateral.

Frequently Asked Questions about kamino

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

FAQPage Schema
How do I deposit collateral into Kamino Lend with TypeScript?

Load the market with KaminoMarket.load, then call KaminoAction.buildDepositTxns with the amount, token symbol, wallet, and a VanillaObligation. Combine the setup, lending, and cleanup instructions into a transaction and send it with sendAndConfirmTransaction.

How do I deposit into a Kamino liquidity strategy?

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 Kamino main lending market address on Solana?

The main market address is 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF, and the lending program ID is KLend2g3cP87ber41qQDzWpAFuqP2tCxDqC8S3k7L1U. Always verify addresses against official Kamino documentation before mainnet use.

Which DEXes does Kamino Liquidity support for strategies?

Kamino Liquidity supports Orca Whirlpools, Raydium CLMM, and Meteora DLMM pools. The getSupportedDexes method returns the list, and pool lookups are available per DEX via getOrcaPoolsForTokens, getRaydiumPoolsForTokens, and getMeteoraPoolsForTokens.

How do I check a Kamino position's health factor?

Call market.refreshAll, fetch the user's vanilla obligation, then divide refreshedStats.borrowLimit by refreshedStats.borrowedValue. A health factor near or below 1.1 indicates liquidation risk and warrants adding collateral or repaying debt.

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 (for example 0.005 for 0.5%) and ensure the strategy position is still in range before retrying.