t2000-borrow

📁 mission69b/t2000-skills 📅 1 day ago
0
总安装量
1
周安装量
安装命令
npx skills add https://github.com/mission69b/t2000-skills --skill t2000-borrow

Agent 安装分布

amp 1
cline 1
opencode 1
cursor 1
kimi-cli 1
codex 1

Skill 文档

t2000: Borrow USDC

Purpose

Take a collateralized loan from NAVI using savings deposits as collateral. Borrowed USDC goes to the available balance. A 0.05% protocol fee applies.

Command

t2000 borrow <amount> [asset]

# Examples:
t2000 borrow 40 USDC
t2000 borrow 40
t2000 borrow 0.5

Asset defaults to USDC if omitted.

Safety

Before borrowing, t2000 checks:

  1. Savings collateral exists (NO_COLLATERAL if not)
  2. Requested amount ≤ max safe borrow (HEALTH_FACTOR_TOO_LOW if exceeds)
  3. Health factor stays above 1.5 after the borrow

If the amount exceeds the safe limit, the CLI shows:

⚠ Max safe borrow: $XX.XX (HF X.XX → min 1.5)

Fees

  • Protocol fee: 0.05% of the borrow amount

Output

✓ Borrowed $XX.XX USDC
  Health Factor: X.XX
  Tx: https://suiscan.xyz/mainnet/tx/0x...

Error handling

  • NO_COLLATERAL: no savings deposited to borrow against
  • HEALTH_FACTOR_TOO_LOW: borrow would drop HF below 1.5. Error data includes maxBorrow.