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★ 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
- API Key Required: Yes (see skill doc/runtime MCP deployment)
- Permissions: Mcl:Write
- Get API Key: https://www.gate.io/myaccount/profile/api-key/manage
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
- Cursor:
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:collateralorborrowcurrency: 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_descorder_type(optional):currentorfixed
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:
- Build draft (collateral list + borrow currency/amount).
- Ask for confirmation.
- Call
cex_mcl_create_multi_collateralwithorder: JSON string (borrow_currency, borrow_amount, collateral_currencies, order_type: current).
If fixed loan:
- Call
cex_mcl_get_multi_collateral_fix_rate(returns a list); filter by borrow_currency; takerate_7dorrate_30das fixed_rate (hourly rate; pass through unchanged, do not convert or relabel as annual/daily). - Build draft with fixed_type and fixed_rate (describe to user as hourly rate if showing).
- Ask for confirmation.
- Call
cex_mcl_create_multi_collateralwithorder: JSON including order_type: fixed, fixed_type7d/30d, fixed_rate.
Step 4: Repay
Build draft, ask confirmation, then call cex_mcl_repay_multi_collateral_loan with:
repay_loan: JSON string withorder_idandrepay_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 withorder_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
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- 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), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…