marginfi
Installation
SKILL.md
MarginFi
MarginFi is a lending and borrowing protocol on Solana. Deposit collateral, borrow assets, and monitor your health factor to avoid liquidation.
Commands
Lending
/marginfi deposit <amount> <token> Deposit collateral
/marginfi withdraw <amount|all> <token> Withdraw collateral
/marginfi borrow <amount> <token> Borrow assets
/marginfi repay <amount|all> <token> Repay borrowed assets
Account
/marginfi account View positions (deposits & borrows)
/marginfi health Check health factor & liquidation risk
Markets
/marginfi banks List all lending pools with APY
/marginfi rates View supply/borrow interest rates table
Examples
/marginfi deposit 100 USDC
/marginfi borrow 1 SOL
/marginfi health
/marginfi repay all SOL
/marginfi withdraw all USDC
/marginfi banks
/marginfi rates
Configuration
export SOLANA_PRIVATE_KEY="your-base58-private-key"
export SOLANA_RPC_URL="https://api.mainnet-beta.solana.com" # Optional
See Also
/kamino— Kamino Finance lending + liquidity vaults/solend— Solend lending protocol/jup— Jupiter DEX aggregator/bags— Portfolio overview
Related skills
More from alsk1992/cloddsbot
binance-futures
Binance Futures trading with DB tracking
151crypto-hft
Trade crypto binary markets on Polymarket with 4 automated strategies. Support: 5-min BTC, 15-min/1h/4h/daily all assets (BTC, ETH, SOL, XRP)
111trading-futures
Trade perpetual futures on Binance, Bybit, Hyperliquid, MEXC with up to 200x leverage
77tts
Text-to-speech synthesis with ElevenLabs and system voices
57auto-reply
Automatic response rules, patterns, and scheduled messages
52trading-system
Unified trading system with auto-logging, bots, and performance analytics
29