/marginfi
MarginFi — Solana lending and borrowing
Claude Code
$ npx -y skills add alsk1992/CloddsBot --skill marginfi --agent claude-code
Codex
$ npx skills add alsk1992/CloddsBot --skill marginfi -a codex -y
Cursor
$ npx skills add alsk1992/CloddsBot --skill marginfi -a cursor -y
Gemini CLI
$ npx skills add alsk1992/CloddsBot --skill marginfi -a gemini-cli -y
GitHub Copilot
$ npx skills add alsk1992/CloddsBot --skill marginfi -a github-copilot -y
OpenCode
$ npx skills add alsk1992/CloddsBot --skill marginfi -a opencode -y
Windsurf
$ npx skills add alsk1992/CloddsBot --skill marginfi -a windsurf -y
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.
Other skills on cloddsbot.
More skills from other plugins.
browser-use
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…
Questions about marginfi.
- Which coding agents can use marginfi?
- marginfi installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

