Command Palette

Search for a command to run...

Назад к скиллам
скилл № 24184

gate-exchange-collateralloan

Query and manage Gate multi-collateral loan. Use this skill whenever the user asks about collateral loan, current loan, fixed loan, repay, add collateral, or…

БесплатноБез исполняемых скриптов
jiaxiaojunQAQот jiaxiaojunQAQ★ 35 звёзд на GitHub

Установить gate-exchange-collateralloan в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Gate Exchange Multi-Collateral Loan Skill

General Rules

⚠️ STOP — You MUST read and strictly follow the shared runtime rules before proceeding.
Do NOT select or call any tool until all rules are read. These rules have the highest priority.
→ Read gate-runtime-rules.md

  • Only call MCP tools explicitly listed in this skill. Tools not documented here must NOT be called, even if they
    exist in the MCP server.

MCP Dependencies

Required MCP Servers

MCP Server Status
Gate (main) ✅ Required

MCP Tools Used

Query Operations (Read-only)

  • cex_mcl_get_multi_collateral_current_rate
  • cex_mcl_get_multi_collateral_fix_rate
  • cex_mcl_get_multi_collateral_ltv
  • cex_mcl_get_multi_collateral_order_detail
  • cex_mcl_list_multi_collateral_orders
  • cex_mcl_list_multi_collateral_records
  • cex_mcl_list_multi_repay_records
  • cex_mcl_list_user_currency_quota
  • cex_mcl_operate_multi_collateral

Execution Operations (Write)

  • cex_mcl_create_multi_collateral
  • cex_mcl_repay_multi_collateral_loan

Authentication

Installation Check

  • Required: Gate (main)
  • Install: Run installer skill for your IDE
    • Cursor: gate-mcp-cursor-installer
    • Codex: gate-mcp-codex-installer
    • Claude: gate-mcp-claude-installer
    • OpenClaw: gate-mcp-openclaw-installer

Trigger Conditions

This skill activates when the user asks about multi-collateral loan operations. Classify intent via Routing Rules (Cases 1–7). Trigger phrases include: "collateral loan", "current loan", "fixed loan", "repay", "add collateral", "redeem collateral", or equivalent in other languages.

Workflow

Step 1: Classify intent

Identify the user intent using Routing Rules (Cases 1–7). If required inputs are missing (order_id, currency, amount, fixed term), ask clarifying questions before proceeding.

Step 2: Read-only requests (rates, LTV, quota, orders)

Call the corresponding MCP tool when the user asks for rates, LTV, quota, order list, or order detail.

Call cex_mcl_list_user_currency_quota with:

  • type: collateral or borrow
  • currency: comma-separated (borrow: single currency)

Call cex_mcl_get_multi_collateral_ltv with:

  • (no params)

Call cex_mcl_get_multi_collateral_fix_rate with:

  • (no params)

Call cex_mcl_get_multi_collateral_current_rate with:

  • currencies: comma-separated currency list

Call cex_mcl_list_multi_collateral_orders with:

  • page, limit (optional)
  • sort (optional): time_desc, ltv_asc, ltv_desc
  • order_type (optional): current or fixed

Call cex_mcl_get_multi_collateral_order_detail with:

  • order_id

Key data to extract:

  • LTV thresholds, fixed/current rates, quota rows, order_id, order status, collateral and borrow details

Step 3: Create loan (current or fixed)

If current loan:

  1. Build draft (collateral list + borrow currency/amount).
  2. Ask for confirmation.
  3. Call cex_mcl_create_multi_collateral with order: JSON string (borrow_currency, borrow_amount, collateral_currencies, order_type: current).

If fixed loan:

  1. Call cex_mcl_get_multi_collateral_fix_rate (returns a list); filter by borrow_currency; take rate_7d or rate_30d as fixed_rate (hourly rate; pass through unchanged, do not convert or relabel as annual/daily).
  2. Build draft with fixed_type and fixed_rate (describe to user as hourly rate if showing).
  3. Ask for confirmation.
  4. Call cex_mcl_create_multi_collateral with order: JSON including order_type: fixed, fixed_type 7d/30d, fixed_rate.

Step 4: Repay

Build draft, ask confirmation, then call cex_mcl_repay_multi_collateral_loan with:

  • repay_loan: JSON string with order_id and repay_items [{ currency, amount, repaid_all }]

Step 5: Add or redeem collateral

Build draft, ask confirmation, then call cex_mcl_operate_multi_collateral with:

  • collateral_adjust: JSON string with order_id, type (append | redeem), collaterals [{ currency, amount }]

Judgment Logic Summary

  • Determine case by keywords and required inputs (loan create / repay / add / redeem / list).
  • Fixed loan requires fix_rate lookup; if not available, stop and inform user.
  • All write operations must be confirmed before calling MCP.
  • Auth failure (401/403) prompts API key configuration.

Report Template

When asking for confirmation:
Draft:

  • Type: {current|fixed|repay|append|redeem}
  • Order ID: {order_id if applicable}
  • Borrow: {borrow_amount} {borrow_currency}
  • Collateral: {collateral_amounts}
  • Fixed term/rate: {fixed_type} / {fixed_rate} (hourly rate)

Please confirm to proceed.

On success:

  • Summary of action and key identifiers (order_id, amounts).

On failure:

  • Error message and next-ste
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • CHANGELOG.md
  • README.md
  • VALIDATION_REPORT.md
  • _meta.json
  • references/mcl-mcp-tools.md
  • references/scenarios.md

FAQ

Что делает скилл gate-exchange-collateralloan?

Query and manage Gate multi-collateral loan. Use this skill whenever the user asks about collateral loan, current loan, fixed loan, repay, add collateral, or redeem collateral. Trigger phrases include "collateral loan", "current loan", "fixed loan", "repay", "add collateral", "redeem collateral", or equivalent in other languages.

Как установить скилл gate-exchange-collateralloan?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл gate-exchange-collateralloan запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить gate-exchange-collateralloan с