[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GT1N4ZFZKG7RT9KGGWZXF5":3,"skill-same:01M6GT1N4ZFZKG7RT9KGGWZXF5":92},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6GT1N4ZFZKG7RT9KGGWZXF5","margin-trading",null,"KuCoin Margin trading using the KuCoin API. Cross margin and isolated margin market data, order queries, borrowing\u002Frepaying queries, lending queries, and risk limits. Authentication requires API Key, API Secret, and Passphrase.","jiayaoqijia\u002Fcryptoskill","jiayaoqijia","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1453879?v=4","01M6GMYTX7Q7S504VC6E756ENR","YQ","01M6GMYV1QKJ1CC75MTTGT9PR0",81,"MIT","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fkucoin-official-margin-trading\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fkucoin-official-margin-trading\u002FSKILL.md",[],[20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"margin","trading","margin trading","authentication","lending","data","risk","api","passphrase","Market","queries","borrowing","cross margin","market data","limits","2026-11-10 10:12:30",false,"---\nname: margin-trading\ndescription: KuCoin Margin trading using the KuCoin API. Cross margin and isolated margin market data, order queries, borrowing\u002Frepaying queries, lending queries, and risk limits. Authentication requires API Key, API Secret, and Passphrase.\nmetadata:\n  version: 1.0.0\n  author: KuCoin\nlicense: MIT\n---\n\n# KuCoin Margin Trading Skill\n\nMargin trading on KuCoin using authenticated API endpoints. Supports cross margin and isolated margin market data, HF order queries, stop order queries, OCO order queries, borrow\u002Frepay history queries, lending queries, and risk limits. Requires API Key, API Secret, and Passphrase for authenticated endpoints. Return the result in JSON format.\n\n> **Note:** This skill only supports Classic REST API GET endpoints (read-only operations).\n\n## Quick Reference\n\n### Classic Margin Market Data\n\n| Endpoint | Description | Required | Optional | Authentication |\n|----------|-------------|----------|----------|----------------|\n| `\u002Fapi\u002Fv3\u002Fmargin\u002Fsymbols` (GET) | Get Symbols - Cross Margin (trading pair config) | None | symbol | No |\n| `\u002Fapi\u002Fv1\u002Fisolated\u002Fsymbols` (GET) | Get Symbols - Isolated Margin (trading pair config) | None | None | No |\n| `\u002Fapi\u002Fv3\u002Fetf\u002Finfo` (GET) | Get ETF Info (leveraged token info) | None | currency | No |\n| `\u002Fapi\u002Fv1\u002Fmark-price\u002F{symbol}\u002Fcurrent` (GET) | Get Mark Price Detail (current mark price for a margin pair) | symbol (path) | None | No |\n| `\u002Fapi\u002Fv1\u002Fmargin\u002Fconfig` (GET) | Get Margin Config (cross margin config, currency list) | None | None | No |\n| `\u002Fapi\u002Fv3\u002Fmark-price\u002Fall-symbols` (GET) | Get Mark Price List (current mark price for all margin pairs) | None | None | No |\n| `\u002Fapi\u002Fv3\u002Fmargin\u002FcollateralRatio` (GET) | Get Margin Collateral Ratio | None | currencyList | No |\n| `\u002Fapi\u002Fv3\u002Fmargin\u002Favailable-inventory` (GET) | Get Market Available Inventory (platform borrowable amount) | None | currency | No |\n\n### Classic Margin HF Order Queries\n\n| Endpoint | Description | Required | Optional | Authentication |\n|----------|-------------|----------|----------|----------------|\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Forders\u002F{orderId}` (GET) | Get Order By OrderId | orderId (path), symbol (query) | None | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Forders\u002Fclient-order\u002F{clientOid}` (GET) | Get Order By ClientOid | clientOid (path), symbol (query) | None | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Forder\u002Factive\u002Fsymbols` (GET) | Get Symbols With Open Order | tradeType | None | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Forders\u002Factive` (GET) | Get Open Orders | symbol, tradeType | None | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Forders\u002Fdone` (GET) | Get Closed Orders | symbol, tradeType | side, type, lastId, limit, startAt, endAt | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Ffills` (GET) | Get Trade History | symbol, tradeType | orderId, side, type, lastId, limit, startAt, endAt | Yes |\n\n### Classic Margin Stop Order Queries\n\n| Endpoint | Description | Required | Optional | Authentication |\n|----------|-------------|----------|----------|----------------|\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Fstop-orders` (GET) | Get Stop Orders List (paginated, untriggered) | None | symbol, side, type, tradeType, startAt, endAt, currentPage, orderIds, pageSize, stop | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Fstop-order\u002ForderId` (GET) | Get Stop Order By OrderId | orderId | None | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Fstop-order\u002FclientOid` (GET) | Get Stop Order By ClientOid | clientOid | None | Yes |\n\n### Classic Margin OCO Order Queries\n\n| Endpoint | Description | Required | Optional | Authentication |\n|----------|-------------|----------|----------|----------------|\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Foco-order\u002ForderId` (GET) | Get OCO Order By OrderId | orderId | None | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Foco-order\u002FclientOid` (GET) | Get OCO Order By ClientOid | clientOid | None | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Foco-order\u002Fdetail\u002ForderId` (GET) | Get OCO Order Detail By OrderId (includes sub-orders) | orderId | None | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Foco-orders` (GET) | Get OCO Order List (paginated) | pageSize, currentPage | symbol, startAt, endAt, orderIds, tradeType | Yes |\n\n### Classic Debit Queries (Borrowing and Repaying)\n\n| Endpoint | Description | Required | Optional | Authentication |\n|----------|-------------|----------|----------|----------------|\n| `\u002Fapi\u002Fv3\u002Fmargin\u002FborrowRate` (GET) | Get Borrow Interest Rate | None | vipLevel, currency | Yes |\n| `\u002Fapi\u002Fv3\u002Fmargin\u002Fborrow` (GET) | Get Borrow History | currency | isIsolated, symbol, orderNo, startTime, endTime, currentPage, pageSize | Yes |\n| `\u002Fapi\u002Fv3\u002Fmargin\u002Frepay` (GET) | Get Repay History | currency | isIsolated, symbol, orderNo, startTime, endTime, currentPage, pageSize | Yes |\n| `\u002Fapi\u002Fv3\u002Fmargin\u002Finterest` (GET) | Get Interest History | None | currency, isIsolated, symbol, startTime, endTime, currentPage, pageSize | Yes |\n\n### Classic Credit Queries (Lending)\n\n| Endpoint | Description | Required | Optional | Authentication |\n|----------|-------------|----------|----------|----------------|\n| `\u002Fapi\u002Fv3\u002Fproject\u002Flist` (GET) | Get Loan Market (currencies available for lending) | None | currency | Yes |\n| `\u002Fapi\u002Fv3\u002Fproject\u002FmarketInterestRate` (GET) | Get Loan Market Interest Rate (past 7 days) | currency | None | Yes |\n| `\u002Fapi\u002Fv3\u002Fpurchase\u002Forders` (GET) | Get Purchase Orders (paginated) | status | currency, purchaseOrderNo, currentPage, pageSize | Yes |\n| `\u002Fapi\u002Fv3\u002Fredeem\u002Forders` (GET) | Get Redeem Orders (paginated) | status | currency, redeemOrderNo, currentPage, pageSize | Yes |\n\n### Classic Risk Limit\n\n| Endpoint | Description | Required | Optional | Authentication |\n|----------|-------------|----------|----------|----------------|\n| `\u002Fapi\u002Fv3\u002Fmargin\u002Fcurrencies` (GET) | Get Margin Risk Limit (config and risk limit info per currency\u002Fsymbol) | None | isIsolated, currency, symbol | Yes |\n\n---\n\n## Parameters\n\n### Common Parameters\n\n* **clientOid**: Client Order ID. Unique identifier created by the user (UUID recommended). Max length: 40 characters.\n* **symbol**: Trading pair symbol (e.g., `BTC-USDT`)\n* **side**: Order side filter: `buy` | `sell`\n* **type**: Order type filter: `limit` | `market`\n* **orderId**: Order ID for query\n* **isIsolated**: `true` for isolated margin, `false` for cross margin. Default is `false`.\n* **tradeType**: Transaction type: `MARGIN_TRADE` (cross margin), `MARGIN_ISOLATED_TRADE` (isolated margin)\n* **stop**: Stop order trigger condition filter: `loss` | `entry`\n* **lastId**: The ID of the last data set from the previous batch. Used for cursor-based pagination.\n* **limit**: Number of results per page. Default: 20, Max: 100 (for order\u002Ffill queries).\n* **currentPage**: Current page number for paginated queries. Default: 1.\n* **pageSize**: Page size for paginated queries. Varies by endpoint (typical default: 50, max: 500).\n* **startAt \u002F startTime**: Start time filter in milliseconds.\n* **endAt \u002F endTime**: End time filter in milliseconds.\n* **currency**: Currency code (e.g., `BTC`, `USDT`).\n* **vipLevel**: VIP level. If empty, defaults to current user VIP level.\n* **orderNo**: Order number for borrow\u002Frepay history queries.\n* **purchaseOrderNo**: Purchase order ID for lending operations.\n* **redeemOrderNo**: Redeem order ID for redemption queries.\n* **status**: Order status filter. Values depend on endpoint (e.g., `DONE`, `PENDING`).\n* **currencyList**: Comma-separated currency list for collateral ratio query.\n\n### Enums\n\n* **side**: `buy` | `sell`\n* **type**: `limit` | `market`\n* **tradeType**: `MARGIN_TRADE` (cross margin) | `MARGIN_ISOLATED_TRADE` (isolated margin)\n* **stop**: `loss` | `entry`\n* **purchase\u002Fredeem status**: `DONE` | `PENDING`\n* **OCO order status**: `NEW` | `DONE` | `TRIGGERED` | `CANCELLED`\n* **stop order status**: `NEW` | `TRIGGERED`\n* **liquidity**: `taker` | `maker`\n\n## Authentication\n\nFor endpoints that require authentication, you will need to provide KuCoin API credentials.\nRequired credentials:\n\n* **API Key**: Your KuCoin API key (for header `KC-API-KEY`)\n* **API Secret**: Your KuCoin API secret (for signing)\n* **Passphrase**: Your KuCoin API passphrase (for header `KC-API-PASSPHRASE`)\n\nBase URL:\n* Production: `https:\u002F\u002Fapi.kucoin.com`\n\n## Security\n\n### Share Credentials\n\nUsers can provide KuCoin API credentials by sending a file where the content is in the following format:\n\n```bash\napi_key_value\napi_secret_value\napi_passphrase_value\n```\n\n### Never Disclose API Key and Secret\n\nNever disclose the location of the API key, secret, or passphrase file.\n\nNever send the API key, secret, or passphrase to any website other than the official KuCoin API endpoint.\n\n### Never Display Full Secrets\n\nWhen showing credentials to users:\n- **API Key:** Show first 5 + last 4 characters: `abcde...wxyz`\n- **API Secret:** Always mask, show only last 5: `***...s3cr3`\n- **Passphrase:** Always mask entirely: `***...`\n\nExample response when asked for credentials:\nAccount: main\nAPI Key: abcde...wxyz\nSecret: ***...s3cr3\nPassphrase: ***...\n\n### Listing Accounts\n\nWhen listing accounts, show names and environment only -- never keys:\nKuCoin Accounts:\n* main (Production)\n* margin-keys (Production)\n\n### Transactions in Production\n\nWhen performing transactions in production, always confirm with the user before proceeding by asking them to write \"CONFIRM\" to proceed.\n\n---\n\n## KuCoin Accounts\n\n### main\n- API Key: your_api_key\n- Secret: your_api_secret\n- Passphrase: your_passphrase\n","# KuCoin Margin Trading Skill\n\nMargin trading on KuCoin using authenticated API endpoints. Supports cross margin and isolated margin market data, HF order queries, stop order queries, OCO order queries, borrow\u002Frepay history queries, lending queries, and risk limits. Requires API Key, API Secret, and Passphrase for authenticated endpoints. Return the result in JSON format.\n\n> **Note:** This skill only supports Classic REST API GET endpoints (read-only operations).\n\n## Quick Reference\n\n### Classic Margin Market Data\n\n| Endpoint | Description | Required | Optional | Authentication |\n|----------|-------------|----------|----------|----------------|\n| `\u002Fapi\u002Fv3\u002Fmargin\u002Fsymbols` (GET) | Get Symbols - Cross Margin (trading pair config) | None | symbol | No |\n| `\u002Fapi\u002Fv1\u002Fisolated\u002Fsymbols` (GET) | Get Symbols - Isolated Margin (trading pair config) | None | None | No |\n| `\u002Fapi\u002Fv3\u002Fetf\u002Finfo` (GET) | Get ETF Info (leveraged token info) | None | currency | No |\n| `\u002Fapi\u002Fv1\u002Fmark-price\u002F{symbol}\u002Fcurrent` (GET) | Get Mark Price Detail (current mark price for a margin pair) | symbol (path) | None | No |\n| `\u002Fapi\u002Fv1\u002Fmargin\u002Fconfig` (GET) | Get Margin Config (cross margin config, currency list) | None | None | No |\n| `\u002Fapi\u002Fv3\u002Fmark-price\u002Fall-symbols` (GET) | Get Mark Price List (current mark price for all margin pairs) | None | None | No |\n| `\u002Fapi\u002Fv3\u002Fmargin\u002FcollateralRatio` (GET) | Get Margin Collateral Ratio | None | currencyList | No |\n| `\u002Fapi\u002Fv3\u002Fmargin\u002Favailable-inventory` (GET) | Get Market Available Inventory (platform borrowable amount) | None | currency | No |\n\n### Classic Margin HF Order Queries\n\n| Endpoint | Description | Required | Optional | Authentication |\n|----------|-------------|----------|----------|----------------|\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Forders\u002F{orderId}` (GET) | Get Order By OrderId | orderId (path), symbol (query) | None | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Forders\u002Fclient-order\u002F{clientOid}` (GET) | Get Order By ClientOid | clientOid (path), symbol (query) | None | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Forder\u002Factive\u002Fsymbols` (GET) | Get Symbols With Open Order | tradeType | None | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Forders\u002Factive` (GET) | Get Open Orders | symbol, tradeType | None | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Forders\u002Fdone` (GET) | Get Closed Orders | symbol, tradeType | side, type, lastId, limit, startAt, endAt | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Ffills` (GET) | Get Trade History | symbol, tradeType | orderId, side, type, lastId, limit, startAt, endAt | Yes |\n\n### Classic Margin Stop Order Queries\n\n| Endpoint | Description | Required | Optional | Authentication |\n|----------|-------------|----------|----------|----------------|\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Fstop-orders` (GET) | Get Stop Orders List (paginated, untriggered) | None | symbol, side, type, tradeType, startAt, endAt, currentPage, orderIds, pageSize, stop | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Fstop-order\u002ForderId` (GET) | Get Stop Order By OrderId | orderId | None | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Fstop-order\u002FclientOid` (GET) | Get Stop Order By ClientOid | clientOid | None | Yes |\n\n### Classic Margin OCO Order Queries\n\n| Endpoint | Description | Required | Optional | Authentication |\n|----------|-------------|----------|----------|----------------|\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Foco-order\u002ForderId` (GET) | Get OCO Order By OrderId | orderId | None | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Foco-order\u002FclientOid` (GET) | Get OCO Order By ClientOid | clientOid | None | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Foco-order\u002Fdetail\u002ForderId` (GET) | Get OCO Order Detail By OrderId (includes sub-orders) | orderId | None | Yes |\n| `\u002Fapi\u002Fv3\u002Fhf\u002Fmargin\u002Foco-orders` (GET) | Get OCO Order List (paginated) | pageSize, currentPage | symbol, startAt, endAt, orderIds, tradeType | Yes |\n\n### Classic Debit Queries (Borrowing and Repaying)\n\n| Endpoint | Description | Required | Optional | Authentication |\n|----------|-------------|----------|----------|----------------|\n| `\u002Fapi\u002Fv3\u002Fmargin\u002FborrowRate` (GET) | Get Borrow Interest Rate | None | vipLevel, currency | Yes |\n| `\u002Fapi\u002Fv3\u002Fmargin\u002Fborrow` (GET) | Get Borrow History | currency | isIsolated, symbol, orderNo, startTime, endTime, currentPage, pageSize | Yes |\n| `\u002Fapi\u002Fv3\u002Fmargin\u002Frepay` (GET) | Get Repay History | currency | isIsolated, symbol, orderNo, startTime, endTime, currentPage, pageSize | Yes |\n| `\u002Fapi\u002Fv3\u002Fmargin\u002Finterest` (GET) | Get Interest History | None | currency, isIsolated, symbol, startTime, endTime, currentPage, pageSize | Yes |\n\n### Classic Credit Queries (Lending)\n\n| Endpoint | Description | Required | Optional | Authentication |\n|----------|-------------|----------|----------|----------------|\n| `\u002Fapi\u002Fv3\u002Fproject\u002Flist` (GET) | Get Loan Market (currencies available for lending) | None | currency | Yes |\n| `\u002Fapi\u002Fv3\u002Fproject\u002FmarketInterestRate` (GET) | Get Loan Market Interest Rate (past 7 days) | currency | None | Yes |\n| `\u002Fapi\u002Fv3\u002Fpurchase\u002Forders` (GET) | Get Purchase Orders (paginated) | status | currency, purchaseOrderNo, currentPage, pageSize | Yes |\n| `\u002Fapi\u002Fv3\u002Fredeem\u002Forders` (GET) | Get Redeem Orders (paginated) | status | currency, redeemOrderNo, currentPage, pageSize | Yes |\n\n### Classic Risk Limit\n\n| Endpoint | Description | Required | Optional | Authentication |\n|----------|-------------|----------|----------|----------------|\n| `\u002Fapi\u002Fv3\u002Fmargin\u002Fcurrencies` (GET) | Get Margin Risk Limit (config and risk limit info per currency\u002Fsymbol) | None | isIsolated, currency, symbol | Yes |\n\n---\n\n## Parameters\n\n### Common Parameters\n\n* **clientOid**: Client Order ID. Unique identifier created by the user (UUID recommended). Max length: 40 characters.\n* **symbol**: Trading pair symbol (e.g., `BTC-USDT`)\n* **side**: Order side filter: `buy` | `sell`\n* **type**: Order type filter: `limit` | `market`\n* **orderId**: Order ID for query\n* **isIsolated**: `true` for isolated margin, `false` for cross margin. Default is `false`.\n* **tradeType**: Transaction type: `MARGIN_TRADE` (cross margin), `MARGIN_ISOLATED_TRADE` (isolated margin)\n* **stop**: Stop order trigger condition filter: `loss` | `entry`\n* **lastId**: The ID of the last data set from the previous batch. Used for cursor-based pagination.\n* **limit**: Number of results per page. Default: 20, Max: 100 (for order\u002Ffill queries).\n* **currentPage**: Current page number for paginated queries. Default: 1.\n* **pageSize**: Page size for paginated queries. Varies by endpoint (typical default: 50, max: 500).\n* **startAt \u002F startTime**: Start time filter in milliseconds.\n* **endAt \u002F endTime**: End time filter in milliseconds.\n* **currency**: Currency code (e.g., `BTC`, `USDT`).\n* **vipLevel**: VIP level. If empty, defaults to current user VIP level.\n* **orderNo**: Order number for borrow\u002Frepay history queries.\n* **purchaseOrderNo**: Purchase order ID for lending operations.\n* **redeemOrderNo**: Redeem order ID for redemption queries.\n* **status**: Order status filter. Values depend on endpoint (e.g., `DONE`, `PENDING`).\n* **currencyList**: Comma-separated currency list for collateral ratio query.\n\n### Enums\n\n* **side**: `buy` | `sell`\n* **type**: `limit` | `market`\n* **tradeType**: `MARGIN_TRADE` (cross margin) | `MARGIN_ISOLATED_TRADE` (isolated margin)\n* **stop**: `loss` | `entry`\n* **purchase\u002Fredeem status**: `DONE` | `PENDING`\n* **OCO order status**: `NEW` | `DONE` | `TRIGGERED` | `CANCELLED`\n* **stop order status**: `NEW` | `TRIGGERED`\n* **liquidity**: `taker` | `maker`\n\n## Authentication\n\nFor endpoints that require authentication, you will need to provide KuCoin API credentials.\nRequired credentials:\n\n* **API Key**: Your KuCoin API key (for header `KC-API-KEY`)\n* **API Secret**: Your KuCoin API secret (for signing)\n* **Passphrase**: Your KuCoin API passphrase (for header `KC-API-PASSPHRASE`)\n\nBase URL:\n* Production: `https:\u002F\u002Fapi.kucoin.com`\n\n## Security\n\n### Share Credentials\n\nUsers can provide KuCoin API credentials by sending a file where the content is in the following format:\n\n```bash\napi_key_value\napi_secret_value\napi_passphrase_value\n```\n\n### Never Disclose API Key and Secret\n\nNever disclose the location of the API key, secret, or passphrase file.\n\nNever send the API key, secret, or passphrase to any website other than the official KuCoin API endpoint.\n\n### Never Display Full Secrets\n\nWhen showing credentials to users:\n- **API Key:** Show first 5 + last 4 characters: `abcde...wxyz`\n- **API Secret:** Always mask, show only last 5: `***...s3cr3`\n- **Passphrase:** Always mask entirely: `***...`\n\nExample response when asked for credentials:\nAccount: main\nAPI Key: abcde...wxyz\nSecret: ***...s3cr3\nPassphrase: ***...\n\n### Listing Accounts\n\nWhen listing accounts, show names and environment only -- never keys:\nKuCoin Accounts:\n* main (Production)\n* margin-keys (Production)\n\n### Transactions in Production\n\nWhen performing transactions in production, always confirm with the user before proceeding by asking them to write \"CONFIRM\" to proceed.\n\n---\n\n## KuCoin Accounts\n\n### main\n- API Key: your_api_key\n- Secret: your_api_secret\n- Passphrase: your_passphrase\n",{"name":5,"license":15,"metadata":40,"description":7},{"author":41,"version":42},"KuCoin","1.0.0","main","3df1d0d67b30ff15236561f8c0f9f06d33f42dfd","skills\u002Fexchanges\u002Fkucoin-official-margin-trading",17,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia","https:\u002F\u002Feth2030.com","Hardcore infra. Building @alt-research and applied cryptography.","2026-11-15 02:28:10",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add jiayaoqijia\u002Fcryptoskill --skill margin-trading",{"tool":58,"command":59},"bunx","bunx skills add jiayaoqijia\u002Fcryptoskill --skill margin-trading",{"tool":61,"command":62},"pnpm","pnpm dlx skills add jiayaoqijia\u002Fcryptoskill --skill margin-trading","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fkucoin-official-margin-trading\u002FSKILL.md",true,[66,72,76,80,84,88],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"CHANGELOG.md","REFERENCE","参考文档",1041,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fkucoin-official-margin-trading\u002FCHANGELOG.md",{"path":73,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":16},"LICENSE","许可证",1072,{"path":77,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":78,"sourceHtmlUrl":79},"LICENSE.md",1065,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fkucoin-official-margin-trading\u002FLICENSE.md",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fauthentication.md",5011,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fkucoin-official-margin-trading\u002Freferences\u002Fauthentication.md",{"path":85,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":86,"sourceHtmlUrl":87},"SOURCE.md",169,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fkucoin-official-margin-trading\u002FSOURCE.md",{"path":89,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":90,"sourceHtmlUrl":91},"TRUST.auto.yaml",2232,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fkucoin-official-margin-trading\u002FTRUST.auto.yaml",[93,102,110,118,126,134],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":101},"01M7DTKCERMV0RNX3HZJP4CZ26","troves","Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say \"Troves\" explicitly.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":106,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":101},"01M7DTK6CJSMGC8KCQHGNYFZBD","trade","Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say \"swap\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":114,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":101},"01M7DTJZ6A0X4PAW3Y8W4J9K64","staking","Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say \"stake\" explicitly.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":122,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":101},"01M7DTJSDZJKCDMW7GHRF4BRH5","send","Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say \"pay 10 STRK to 0x...\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":130,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":101},"01M7DTJG1E480D51ZQ7WKDQ26K","portfolio","View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks \"what do I have\", \"show me everything\", \"how much am I worth\", \"my positions\", \"my investments\", \"rebalance my portfolio\", \"I want 50% ETH\", \"optimize my holdings\", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say \"portfolio\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FSKILL.md",[],[],{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":138,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":101},"01M7DTJ7M8TE9R2N36HFBZDGVD","multi-swap","Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions \"two swaps\", \"three swaps\", \"swap X and Y at the same time\", or wants to convert multiple tokens in a single call.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FSKILL.md",[],[]]