/marginfi
MarginFi — Solana lending and borrowing
$ npx -y skills add alsk1992/CloddsBot --skill marginfi --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/marginfi
Context preview
The summary Claude sees to decide when to auto-load this skill.
MarginFi — Solana lending and borrowing
SKILL.md
marginfi.SKILL.mdname: marginfi
description: "MarginFi — Solana lending and borrowing"
emoji: "🏦"
commands:
- /marginfi
gates:
envs:
- SOLANA_PRIVATE_KEYMarginFi
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
Read more
name: marginfi
description: "MarginFi — Solana lending and borrowing"
emoji: "🏦"
commands:
- /marginfi
gates:
envs:
- SOLANA_PRIVATE_KEYMarginFi
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
Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes instantly, manages risk while you sleep. Agent commerce protocol for machine-to-machine payments. Self-hosted. Built on Claude.
Repo: alsk1992/CloddsBot
Other skills on cloddsbot.
- /acp
Enable agent-to-agent commerce with on-chain escrow, cryptographic agreements, and service discovery.
Open skill - /agentbets
AgentBets - AI-native prediction markets on Solana
Open skill - /ai-strategy
AI Strategy - natural language to trades
Open skill - /alerts
Create and manage price alerts for prediction markets
Open skill - /analytics
Performance attribution, trade analytics, and strategy optimization
Open skill - /arbitrage
Automated cross-platform arbitrage detection and monitoring
Open skill

