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
Related skills
Installs
9
GitHub Stars
266
First Seen
Feb 20, 2026