Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
alsk1992 avatar

Marginfi

  • 12 installs
  • 610 repo stars
  • Updated June 26, 2026
  • alsk1992/cloddsbot

marginfi is a Claude Code skill that manages Solana lending and borrowing positions on the MarginFi protocol.

About

marginfi is a Claude Code skill that integrates MarginFi, a Solana lending and borrowing protocol. It deposits collateral, borrows and repays assets, lists lending banks with APY and shows supply/borrow rates. A developer uses it to manage MarginFi positions and monitor the health factor to avoid liquidation.

  • Deposits, borrows and repays on MarginFi lending on Solana
  • Checks health factor and liquidation risk from chat commands
  • Lists lending banks and supply/borrow interest rates

Marginfi by the numbers

  • 12 all-time installs (skills.sh)
  • Ranked #781 of 1,106 Finance & Trading skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

marginfi capabilities & compatibility

Free skill; requires a Solana wallet private key.

Capabilities
defi lending · borrowing · health monitoring
Use cases
trading
Pricing
Bring your own API key
From the docs

What marginfi says it does

MarginFi is a lending and borrowing protocol on Solana.
SKILL.md
Check health factor & liquidation risk
SKILL.md
npx skills add https://github.com/alsk1992/cloddsbot --skill marginfi

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs12
repo stars610
Last updatedJune 26, 2026
Repositoryalsk1992/cloddsbot

What it does

Deposit, borrow and repay on MarginFi lending on Solana and monitor liquidation risk from chat commands.

Who is it for?

Managing MarginFi lending and borrowing positions on Solana.

When should I use this skill?

You want to lend, borrow, repay or check liquidation risk on MarginFi.

What you get

MarginFi deposits, borrows and repays managed from chat, with health monitoring.

  • lending deposits/borrows
  • repayments
  • health-factor status

By the numbers

  • 3 command groups: lending, account, markets
  • 6 lending/account commands (deposit, withdraw, borrow, repay, account, health)

Files

SKILL.mdMarkdownGitHub ↗

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

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.