{"id":"ac581920-2fd1-4490-a124-23e5021d6e95","entityType":"agent","slug":"clawhub-dex-scan-kucoin-trader","name":"KuCoin Trader","canonicalUrl":"https://www.xpersona.co/agent/clawhub-dex-scan-kucoin-trader","canonicalPath":"/agent/clawhub-dex-scan-kucoin-trader","generatedAt":"2026-10-11T00:32:43.065Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-10T21:53:55.702Z","emptyReason":null},"description":"Professional KuCoin (KC) trading system - multi-account support, spot/margin/futures trading, asset transfers. Use to check balances, transfer assets, open/c... Skill: KuCoin Trader Owner: dex-scan Summary: Professional KuCoin (KC) trading system - multi-account support, spot/margin/futures trading, asset transfers. Use to check balances, transfer assets, open/c... Tags: latest:1.0.1 Version history: v1.0.1 | 2026-03-10T14:53:12.340Z | user kucoin-trader 1.0.1 - Removed support for the KUCOIN_IS_SANDBOX environment variable. - Updated \"Create Account\" link with a referral co","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/10/2026.","installCommand":"clawhub skill install s176e3t73awwsfe81cjvbf5qe583pjzc:kucoin-trader","sourceUrl":"https://clawhub.ai/dex-scan/kucoin-trader","homepage":"https://clawhub.ai/dex-scan/skills/kucoin-trader","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/dex-scan/kucoin-trader","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/dex-scan/skills/kucoin-trader","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":62,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Professional KuCoin (KC) trading system - multi-account support, spot/margin/futures trading, asset transfers. Use to check balances, transfer assets, open/c..."},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-10T21:53:55.702Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-10T21:53:55.702Z","emptyReason":null},"stars":null,"forks":null,"downloads":1249,"packageName":null,"latestVersion":"1.0.1","tractionLabel":"1.2K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-10T21:53:55.690Z","emptyReason":null},"lastUpdatedAt":"2026-10-10T21:53:55.702Z","lastCrawledAt":"2026-10-10T21:53:55.690Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-11T21:53:55.690Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.1","createdAt":"2026-03-10T14:53:12.340Z","changelog":"kucoin-trader 1.0.1 - Removed support for the KUCOIN_IS_SANDBOX environment variable. - Updated \"Create Account\" link with a referral code. - Removed examples for enabling/disabling isolated margin and for asset transfers within margin section.","fileCount":15,"zipByteSize":22817},{"version":"1.0.0","createdAt":"2026-03-10T14:31:15.798Z","changelog":"Version 0.9.1 introduces a streamlined script structure and improved documentation. - Added new scripts: `query.js` and `spot.js` for active order management and spot trading. - Removed separate complex scripts for isolated, margin-buy, report, and general trade functions. - Updated README and SKILL.md to reflect the consolidated script commands and examples. - Added a LICENSE file for clear project licensing. - Simplified instructions and script usage for easier trading and account management.","fileCount":14,"zipByteSize":21671},{"version":"0.9.0","createdAt":"2026-03-09T15:49:30.659Z","changelog":"- Initial public release of kucoin-trader with comprehensive multi-account trading support. - Provides scripts for spot, margin (cross/isolated), and futures trading on KuCoin. - Supports asset transfers between main, trade, margin, isolated, and futures accounts. - Includes commands to check balances, transfer assets, open/close positions, and generate trading reports. - Features safety guidelines to help prevent trading mistakes. - Documentation includes setup instructions, usage examples, and supported trading pairs.","fileCount":15,"zipByteSize":23968}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s176e3t73awwsfe81cjvbf5qe583pjzc:kucoin-trader","setupComplexity":"low","setupSteps":["Node.js workspace detected. Install dependencies securely: run `npm ci --ignore-scripts` to prevent post-install lifecycle triggers from running arbitrary code, then selectively audit the dependency tree.","Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dex-scan-kucoin-trader/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dex-scan-kucoin-trader/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dex-scan-kucoin-trader/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-dex-scan-kucoin-trader/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-dex-scan-kucoin-trader/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-dex-scan-kucoin-trader/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-11T00:32:43.065Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dex-scan-kucoin-trader/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dex-scan-kucoin-trader/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dex-scan-kucoin-trader/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-dex-scan-kucoin-trader/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-10T21:53:55.702Z","emptyReason":null},"readme":"Skill: KuCoin Trader\n\nOwner: dex-scan\n\nSummary: Professional KuCoin (KC) trading system - multi-account support, spot/margin/futures trading, asset transfers. Use to check balances, transfer assets, open/c...\n\nTags: latest:1.0.1\n\nVersion history:\n\nv1.0.1 | 2026-03-10T14:53:12.340Z | user\n\nkucoin-trader 1.0.1\n\n- Removed support for the KUCOIN_IS_SANDBOX environment variable.\n- Updated \"Create Account\" link with a referral code.\n- Removed examples for enabling/disabling isolated margin and for asset transfers within margin section.\n\nv1.0.0 | 2026-03-10T14:31:15.798Z | user\n\nVersion 0.9.1 introduces a streamlined script structure and improved documentation.\n\n- Added new scripts: `query.js` and `spot.js` for active order management and spot trading.\n- Removed separate complex scripts for isolated, margin-buy, report, and general trade functions.\n- Updated README and SKILL.md to reflect the consolidated script commands and examples.\n- Added a LICENSE file for clear project licensing.\n- Simplified instructions and script usage for easier trading and account management.\n\nv0.9.0 | 2026-03-09T15:49:30.659Z | user\n\n- Initial public release of kucoin-trader with comprehensive multi-account trading support.\n- Provides scripts for spot, margin (cross/isolated), and futures trading on KuCoin.\n- Supports asset transfers between main, trade, margin, isolated, and futures accounts.\n- Includes commands to check balances, transfer assets, open/close positions, and generate trading reports.\n- Features safety guidelines to help prevent trading mistakes.\n- Documentation includes setup instructions, usage examples, and supported trading pairs.\n\nArchive index:\n\nArchive v1.0.1: 15 files, 22817 bytes\n\nFiles: lib/kucoin-client.js (11646b), package.json (836b), README.md (375b), scripts/accounts.js (8950b), scripts/futures.js (11272b), scripts/init.js (895b), scripts/margin.js (22475b), scripts/market.js (1341b), scripts/query.js (3213b), scripts/spot.js (4249b), scripts/transfer.js (4567b), skill-card.md (2414b), skill.json (2125b), SKILL.md (4611b), _meta.json (132b)\n\nFile v1.0.1:SKILL.md\n\n---\nname: kucoin-trader\ndescription: Professional KuCoin (KC) trading system - multi-account support, spot/margin/futures trading, asset transfers. Use to check balances, transfer assets, open/close positions, and manage your KuCoin portfolio.\nmetadata: {\"openclaw\":{\"emoji\":\"🟢\",\"always\":true,\"requires\":{\"bins\":[\"node\"]}}}\n---\n\n# KuCoin Trader 🟢\n\nProfessional automated trading system for KuCoin (KC) - a global cryptocurrency exchange.\n\n## 🚀 Quick Start\n\n### Setup Credentials\n\nSave to `~/.openclaw/credentials/kucoin.json`:\n```json\n{\n  \"apiKey\": \"YOUR_API_KEY\",\n  \"secretKey\": \"YOUR_SECRET_KEY\",\n  \"passphrase\": \"YOUR_PASSPHRASE\"\n}\n```\n\n### Environment Variables (alternative)\n```bash\nexport KUCOIN_API_KEY=\"your_api_key\"\nexport KUCOIN_SECRET_KEY=\"your_secret_key\"\nexport KUCOIN_PASSPHRASE=\"your_passphrase\"\n```\n\n## 📊 Basic Queries\n\n| Command | Description |\n|---------|-------------|\n| `node scripts/accounts.js` | List all account balances |\n| `node scripts/market.js --symbol BTC-USDT` | Get current price |\n| `node scripts/query.js` | Query all active orders |\n\n## 💰 Asset Transfer\n\nSupported types: `main`, `trade`, `margin`, `isolated`, `futures`\n\n```bash\n# Main to Trade\nnode scripts/transfer.js --from main --to trade --currency USDT --amount 100\n\n# Trade to Futures\nnode scripts/transfer.js --from trade --to futures --currency USDT --amount 100\n\n# Any account transfer\nnode scripts/transfer.js --from <FROM> --to <TO> --currency <CURRENCY> --amount <AMOUNT>\n```\n\n## ⚡ Spot Trading\n\n```bash\n# Market Buy\nnode scripts/spot.js trade --symbol BTC-USDT --side buy --type market --size 0.001\n\n# Limit Buy\nnode scripts/spot.js trade --symbol ETH-USDT --side buy --type limit --price 2500 --size 0.1\n\n# Market Sell\nnode scripts/spot.js trade --symbol BTC-USDT --side sell --type market --size 0.001\n\n# Limit Sell\nnode scripts/spot.js trade --symbol ETH-USDT --side sell --type limit --price 3000 --size 0.1\n\n# Query orders\nnode scripts/spot.js orders --symbol BTC-USDT\n\n# Cancel order\nnode scripts/spot.js cancel --orderId xxx\n```\n\n## 🏦 Margin Trading (Cross Margin & Isolated Margin)\n\n```bash\n# --- Cross Margin (全仓杠杆) ---\n# Check borrowable\nnode scripts/margin.js borrowable --currency USDT\n\n# Borrow\nnode scripts/margin.js borrow --currency USDT --amount 100\n\n# Repay\nnode scripts/margin.js repay --currency USDT --amount 50\n\n# Trade with leverage (5x)\nnode scripts/margin.js trade --symbol BTC-USDT --side buy --size 0.01 --leverage 5\n\n# Query orders\nnode scripts/margin.js orders --symbol BTC-USDT\nnode scripts/margin.js all-orders\n\n# --- Isolated Margin (逐仓杠杆) ---\n# Check isolated account info\nnode scripts/margin.js info-isolated --symbol BTC-USDT\n\n# Check borrowable\nnode scripts/margin.js borrowable-isolated --symbol BTC-USDT\n\n# Borrow/Repay\nnode scripts/margin.js borrow-isolated --symbol BTC-USDT --amount 0.01\nnode scripts/margin.js repay-isolated --symbol BTC-USDT --amount 0.01\n\n# Trade with leverage (3x)\nnode scripts/margin.js trade-isolated --symbol BTC-USDT --side buy --size 0.01 --leverage 3\n\n# Enable/Disable isolated margin\nnode scripts/margin.js enable\nnode scripts/margin.js disable\n\n# Query isolated orders\nnode scripts/margin.js orders-isolated --symbol BTC-USDT\n```\n\n## 📈 Futures Trading\n\n```bash\n# Long\nnode scripts/futures.js trade --symbol BTC-USDT --side buy --size 0.001 --leverage 10\n\n# Short\nnode scripts/futures.js trade --symbol BTC-USDT --side sell --size 0.001 --leverage 10\n\n# Set leverage\nnode scripts/futures.js leverage --symbol BTC-USDT --leverage 20\n```\n\n## 📈 Supported Trading Pairs\n\n| Pair | Description |\n|------|-------------|\n| BTC-USDT | Bitcoin |\n| ETH-USDT | Ethereum |\n| SOL-USDT | Solana |\n| XRP-USDT | XRP |\n| DOGE-USDT | Dogecoin |\n| ADA-USDT | Cardano |\n| AVAX-USDT | Avalanche |\n| KCS-USDT | KuCoin Token |\n\n## 🏦 Account Types\n\n| Type | Description |\n|------|-------------|\n| `main` | Funding Account - primary asset storage |\n| `trade` | Spot Trading Account - for trading |\n| `margin` | Cross Margin Account - leveraged trading (up to 5x) |\n| `isolated` | Isolated Margin Account |\n| `futures` | Futures Account - perpetual contracts |\n\n## ⚠️ Safety Rules\n\n1. **ALWAYS** verify position before closing\n2. **ALWAYS** set Stop Loss on leveraged trades\n3. **NEVER** use leverage higher than 10x without experience\n4. **VERIFY** pair and quantity before executing\n5. **CONFIRM** with user before executing large orders\n\n## 🔗 Links\n\n- [API Documentation](https://docs.kucoin.com/)\n- [Create Account](https://www.kucoin.com/r/rf/QBSYNXQD)\n\n---\n*Skill for KuCoin trading with multi-account support*\n\nFile v1.0.1:README.md\n\nThis software is provided \"AS IS\" without warranty of any kind. Cryptocurrency trading involves substantial risk and may result in the loss of your entire capital. This tool is for educational and informational purposes only and does not constitute financial or trading advice. The author assumes no liability for any damages or losses arising from the use of this software.\n\nFile v1.0.1:_meta.json\n\n{\n  \"ownerId\": \"kn735d2r4gdvhj9596y7vx3mzx82jw4f\",\n  \"slug\": \"kucoin-trader\",\n  \"version\": \"1.0.1\",\n  \"publishedAt\": 1773154392340\n}\n\nFile v1.0.1:skill-card.md\n\n## Description:\n\nProfessional KuCoin (KC) trading system - multi-account support, spot/margin/futures trading, asset transfers.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dex-scan](https://clawhub.ai/user/dex-scan)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and developers use this skill to inspect KuCoin balances and market data, transfer assets between account types, and manage spot, margin, and futures orders through Node-based commands.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill can move funds and place real spot, margin, and futures orders.\n\nMitigation: Use a minimum-permission KuCoin API key, disable withdrawals, apply exchange-side IP restrictions, and require explicit confirmation or dry-run approval before trades, transfers, cancellations, borrowing, and repayment.\n\nRisk: Leveraged futures and margin actions can amplify losses, including high leverage when a futures trade omits an explicit leverage value.\n\nMitigation: Avoid futures or margin permissions unless required, enforce conservative leverage limits, require stop-loss review, and remove the executable 125x futures default before production use.\n\nRisk: KuCoin credentials may be stored in a local JSON file or environment variables.\n\nMitigation: Keep credential files restricted to the local user, rotate keys after testing, and do not grant permissions beyond the specific account actions needed.\n\n## Reference(s):\n\n- [KuCoin API Documentation](https://docs.kucoin.com/)\n- [ClawHub Skill Page](https://clawhub.ai/dex-scan/skills/kucoin-trader)\n- [Publisher Profile](https://clawhub.ai/user/dex-scan)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown text with inline Node command examples and JSON credential configuration]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Produces command guidance and executes KuCoin API operations through local Node scripts when invoked by an agent.]\n\n## Skill Version(s):\n\n1.0.1 (source: server release metadata and changelog)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.0.1:package.json\n\n{\n  \"name\": \"kucoin-trader\",\n  \"version\": \"1.0.0\",\n  \"description\": \"Professional KuCoin trading system with multi-account support, spot/margin/futures trading, asset transfers, and account management.\",\n  \"main\": \"lib/kucoin-client.js\",\n  \"scripts\": {\n    \"init\": \"node scripts/init.js\",\n    \"accounts\": \"node scripts/accounts.js\",\n    \"report\": \"node scripts/report.js\",\n    \"market\": \"node scripts/market.js\",\n    \"spot\": \"node scripts/spot.js\",\n    \"transfer\": \"node scripts/transfer.js\"\n  },\n  \"keywords\": [\"kucoin\", \"crypto\", \"trading\", \"spot\", \"margin\", \"futures\", \"exchange\", \"openclaw\"],\n  \"author\": \"alz\",\n  \"license\": \"MIT\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/esojourn/kucoin-trader\"\n  },\n  \"homepage\": \"https://github.com/esojourn/kucoin-trader\",\n  \"engines\": {\n    \"node\": \">=12.0.0\"\n  }\n}\n\nFile v1.0.1:skill.json\n\n{\n  \"name\": \"kucoin-trader\",\n  \"version\": \"1.0.0\",\n  \"description\": \"Professional KuCoin (KC) trading system - multi-account support, spot/margin/futures trading, asset transfers.\",\n  \"skills\": [\n    {\n      \"name\": \"kucoin_accounts\",\n      \"description\": \"List all KuCoin account balances across all account types (spot, margin, futures)\",\n      \"trigger\": [\"kucoin账户\", \"kucoin资产\", \"KC账户\", \"KC资产\", \"kucoin balance\", \"kucoin accounts\"]\n    },\n    {\n      \"name\": \"kucoin_transfer\",\n      \"description\": \"Transfer assets between KuCoin account types (main, trade, margin, futures)\",\n      \"trigger\": [\"kucoin划转\", \"kucoin转账\", \"kucoin transfer\"]\n    },\n    {\n      \"name\": \"kucoin_trade\",\n      \"description\": \"Execute spot trades on KuCoin (market or limit orders)\",\n      \"trigger\": [\"kucoin交易\", \"kucoin买卖\", \"kucoin trade\", \"kucoin buy\", \"kucoin sell\"]\n    },\n    {\n      \"name\": \"kucoin_market\",\n      \"description\": \"Get market data and ticker information for trading pairs\",\n      \"trigger\": [\"kucoin行情\", \"kucoin价格\", \"kucoin market\", \"kucoin ticker\"]\n    },\n    {\n      \"name\": \"kucoin_orders\",\n      \"description\": \"Query all types of orders (spot, margin, futures)\",\n      \"trigger\": [\"kucoin订单\", \"kc订单\", \"kc账户订单\", \"委托订单\", \"全部委托\", \"查询订单\", \"kucoin orders\", \"全部订单\", \"活跃委托\"]\n    },\n    {\n      \"name\": \"kucoin_margin\",\n      \"description\": \"Margin trading - cross/isolated margin, borrow, repay, and trade with leverage\",\n      \"trigger\": [\"kucoin杠杆\", \"kucoin全仓\", \"kucoin逐仓\", \"kucoin margin\", \"kucoin isolated\", \"杠杆交易\", \"全仓杠杆\", \"逐仓杠杆\"]\n    },\n    {\n      \"name\": \"kucoin_futures\",\n      \"description\": \"Futures trading - trade perpetual contracts with leverage\",\n      \"trigger\": [\"kucoin合约\", \"kucoin期货\", \"kucoin futures\", \"合约交易\", \"期货交易\"]\n    }\n  ],\n  \"config\": {\n    \"credentials\": \"~/.openclaw/credentials/kucoin.json\",\n    \"fields\": {\n      \"apiKey\": \"KuCoin API Key\",\n      \"secretKey\": \"KuCoin Secret Key\",\n      \"passphrase\": \"KuCoin API Passphrase\"\n    }\n  }\n}\n\nArchive v1.0.0: 14 files, 21671 bytes\n\nFiles: lib/kucoin-client.js (11980b), package.json (836b), README.md (430b), scripts/accounts.js (8950b), scripts/futures.js (11272b), scripts/init.js (895b), scripts/margin.js (22475b), scripts/market.js (1341b), scripts/query.js (3213b), scripts/spot.js (4249b), scripts/transfer.js (4567b), skill.json (2125b), SKILL.md (4894b), _meta.json (132b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: kucoin-trader\ndescription: Professional KuCoin (KC) trading system - multi-account support, spot/margin/futures trading, asset transfers. Use to check balances, transfer assets, open/close positions, and manage your KuCoin portfolio.\nmetadata: {\"openclaw\":{\"emoji\":\"🟢\",\"always\":true,\"requires\":{\"bins\":[\"node\"]}}}\n---\n\n# KuCoin Trader 🟢\n\nProfessional automated trading system for KuCoin (KC) - a global cryptocurrency exchange.\n\n## 🚀 Quick Start\n\n### Setup Credentials\n\nSave to `~/.openclaw/credentials/kucoin.json`:\n```json\n{\n  \"apiKey\": \"YOUR_API_KEY\",\n  \"secretKey\": \"YOUR_SECRET_KEY\",\n  \"passphrase\": \"YOUR_PASSPHRASE\"\n}\n```\n\n### Environment Variables (alternative)\n```bash\nexport KUCOIN_API_KEY=\"your_api_key\"\nexport KUCOIN_SECRET_KEY=\"your_secret_key\"\nexport KUCOIN_PASSPHRASE=\"your_passphrase\"\nexport KUCOIN_IS_SANDBOX=\"true\"  # for sandbox testing\n```\n\n## 📊 Basic Queries\n\n| Command | Description |\n|---------|-------------|\n| `node scripts/accounts.js` | List all account balances |\n| `node scripts/market.js --symbol BTC-USDT` | Get current price |\n| `node scripts/query.js` | Query all active orders |\n\n## 💰 Asset Transfer\n\nSupported types: `main`, `trade`, `margin`, `isolated`, `futures`\n\n```bash\n# Main to Trade\nnode scripts/transfer.js --from main --to trade --currency USDT --amount 100\n\n# Trade to Futures\nnode scripts/transfer.js --from trade --to futures --currency USDT --amount 100\n\n# Any account transfer\nnode scripts/transfer.js --from <FROM> --to <TO> --currency <CURRENCY> --amount <AMOUNT>\n```\n\n## ⚡ Spot Trading\n\n```bash\n# Market Buy\nnode scripts/spot.js trade --symbol BTC-USDT --side buy --type market --size 0.001\n\n# Limit Buy\nnode scripts/spot.js trade --symbol ETH-USDT --side buy --type limit --price 2500 --size 0.1\n\n# Market Sell\nnode scripts/spot.js trade --symbol BTC-USDT --side sell --type market --size 0.001\n\n# Limit Sell\nnode scripts/spot.js trade --symbol ETH-USDT --side sell --type limit --price 3000 --size 0.1\n\n# Query orders\nnode scripts/spot.js orders --symbol BTC-USDT\n\n# Cancel order\nnode scripts/spot.js cancel --orderId xxx\n```\n\n## 🏦 Margin Trading (Cross Margin & Isolated Margin)\n\n```bash\n# --- Cross Margin (全仓杠杆) ---\n# Check borrowable\nnode scripts/margin.js borrowable --currency USDT\n\n# Borrow\nnode scripts/margin.js borrow --currency USDT --amount 100\n\n# Repay\nnode scripts/margin.js repay --currency USDT --amount 50\n\n# Trade with leverage (5x)\nnode scripts/margin.js trade --symbol BTC-USDT --side buy --size 0.01 --leverage 5\n\n# Query orders\nnode scripts/margin.js orders --symbol BTC-USDT\nnode scripts/margin.js all-orders\n\n# --- Isolated Margin (逐仓杠杆) ---\n# Check isolated account info\nnode scripts/margin.js info-isolated --symbol BTC-USDT\n\n# Check borrowable\nnode scripts/margin.js borrowable-isolated --symbol BTC-USDT\n\n# Borrow/Repay\nnode scripts/margin.js borrow-isolated --symbol BTC-USDT --amount 0.01\nnode scripts/margin.js repay-isolated --symbol BTC-USDT --amount 0.01\n\n# Trade with leverage (3x)\nnode scripts/margin.js trade-isolated --symbol BTC-USDT --side buy --size 0.01 --leverage 3\n\n# Enable/Disable isolated margin\nnode scripts/margin.js enable\nnode scripts/margin.js disable\n\n# Query isolated orders\nnode scripts/margin.js orders-isolated --symbol BTC-USDT\n\n# Transfer funds (use transfer.js)\n# node scripts/transfer.js --from trade --to isolated --currency BTC --amount 0.1\n# node scripts/transfer.js --from isolated --to trade --currency BTC --amount 0.1\n```\n\n## 📈 Futures Trading\n\n```bash\n# Long\nnode scripts/futures.js trade --symbol BTC-USDT --side buy --size 0.001 --leverage 10\n\n# Short\nnode scripts/futures.js trade --symbol BTC-USDT --side sell --size 0.001 --leverage 10\n\n# Set leverage\nnode scripts/futures.js leverage --symbol BTC-USDT --leverage 20\n```\n\n## 📈 Supported Trading Pairs\n\n| Pair | Description |\n|------|-------------|\n| BTC-USDT | Bitcoin |\n| ETH-USDT | Ethereum |\n| SOL-USDT | Solana |\n| XRP-USDT | XRP |\n| DOGE-USDT | Dogecoin |\n| ADA-USDT | Cardano |\n| AVAX-USDT | Avalanche |\n| KCS-USDT | KuCoin Token |\n\n## 🏦 Account Types\n\n| Type | Description |\n|------|-------------|\n| `main` | Funding Account - primary asset storage |\n| `trade` | Spot Trading Account - for trading |\n| `margin` | Cross Margin Account - leveraged trading (up to 5x) |\n| `isolated` | Isolated Margin Account |\n| `futures` | Futures Account - perpetual contracts |\n\n## ⚠️ Safety Rules\n\n1. **ALWAYS** verify position before closing\n2. **ALWAYS** set Stop Loss on leveraged trades\n3. **NEVER** use leverage higher than 10x without experience\n4. **VERIFY** pair and quantity before executing\n5. **CONFIRM** with user before executing large orders\n\n## 🔗 Links\n\n- [API Documentation](https://docs.kucoin.com/)\n- [Create Account](https://www.kucoin.com/)\n- [Sandbox](https://sandbox.kucoin.com/)\n\n---\n*Skill for KuCoin trading with multi-account support*\n\nFile v1.0.0:README.md\n\nThis software is provided \"AS IS\" without warranty of any kind. Cryptocurrency trading involves substantial risk and may result in the loss of your entire capital. This tool is for educational and informational purposes only and does not constitute financial or trading advice. Always test with sandbox mode before using real funds. The author assumes no liability for any damages or losses arising from the use of this software.\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn735d2r4gdvhj9596y7vx3mzx82jw4f\",\n  \"slug\": \"kucoin-trader\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1773153075798\n}\n\nFile v1.0.0:package.json\n\n{\n  \"name\": \"kucoin-trader\",\n  \"version\": \"1.0.0\",\n  \"description\": \"Professional KuCoin trading system with multi-account support, spot/margin/futures trading, asset transfers, and account management.\",\n  \"main\": \"lib/kucoin-client.js\",\n  \"scripts\": {\n    \"init\": \"node scripts/init.js\",\n    \"accounts\": \"node scripts/accounts.js\",\n    \"report\": \"node scripts/report.js\",\n    \"market\": \"node scripts/market.js\",\n    \"spot\": \"node scripts/spot.js\",\n    \"transfer\": \"node scripts/transfer.js\"\n  },\n  \"keywords\": [\"kucoin\", \"crypto\", \"trading\", \"spot\", \"margin\", \"futures\", \"exchange\", \"openclaw\"],\n  \"author\": \"alz\",\n  \"license\": \"MIT\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/esojourn/kucoin-trader\"\n  },\n  \"homepage\": \"https://github.com/esojourn/kucoin-trader\",\n  \"engines\": {\n    \"node\": \">=12.0.0\"\n  }\n}\n\nFile v1.0.0:skill.json\n\n{\n  \"name\": \"kucoin-trader\",\n  \"version\": \"1.0.0\",\n  \"description\": \"Professional KuCoin (KC) trading system - multi-account support, spot/margin/futures trading, asset transfers.\",\n  \"skills\": [\n    {\n      \"name\": \"kucoin_accounts\",\n      \"description\": \"List all KuCoin account balances across all account types (spot, margin, futures)\",\n      \"trigger\": [\"kucoin账户\", \"kucoin资产\", \"KC账户\", \"KC资产\", \"kucoin balance\", \"kucoin accounts\"]\n    },\n    {\n      \"name\": \"kucoin_transfer\",\n      \"description\": \"Transfer assets between KuCoin account types (main, trade, margin, futures)\",\n      \"trigger\": [\"kucoin划转\", \"kucoin转账\", \"kucoin transfer\"]\n    },\n    {\n      \"name\": \"kucoin_trade\",\n      \"description\": \"Execute spot trades on KuCoin (market or limit orders)\",\n      \"trigger\": [\"kucoin交易\", \"kucoin买卖\", \"kucoin trade\", \"kucoin buy\", \"kucoin sell\"]\n    },\n    {\n      \"name\": \"kucoin_market\",\n      \"description\": \"Get market data and ticker information for trading pairs\",\n      \"trigger\": [\"kucoin行情\", \"kucoin价格\", \"kucoin market\", \"kucoin ticker\"]\n    },\n    {\n      \"name\": \"kucoin_orders\",\n      \"description\": \"Query all types of orders (spot, margin, futures)\",\n      \"trigger\": [\"kucoin订单\", \"kc订单\", \"kc账户订单\", \"委托订单\", \"全部委托\", \"查询订单\", \"kucoin orders\", \"全部订单\", \"活跃委托\"]\n    },\n    {\n      \"name\": \"kucoin_margin\",\n      \"description\": \"Margin trading - cross/isolated margin, borrow, repay, and trade with leverage\",\n      \"trigger\": [\"kucoin杠杆\", \"kucoin全仓\", \"kucoin逐仓\", \"kucoin margin\", \"kucoin isolated\", \"杠杆交易\", \"全仓杠杆\", \"逐仓杠杆\"]\n    },\n    {\n      \"name\": \"kucoin_futures\",\n      \"description\": \"Futures trading - trade perpetual contracts with leverage\",\n      \"trigger\": [\"kucoin合约\", \"kucoin期货\", \"kucoin futures\", \"合约交易\", \"期货交易\"]\n    }\n  ],\n  \"config\": {\n    \"credentials\": \"~/.openclaw/credentials/kucoin.json\",\n    \"fields\": {\n      \"apiKey\": \"KuCoin API Key\",\n      \"secretKey\": \"KuCoin Secret Key\",\n      \"passphrase\": \"KuCoin API Passphrase\"\n    }\n  }\n}\n\nArchive v0.9.0: 15 files, 23968 bytes\n\nFiles: lib/kucoin-client.js (11804b), package.json (838b), scripts/accounts.js (8950b), scripts/futures.js (11192b), scripts/init.js (895b), scripts/isolated.js (15555b), scripts/margin-buy.js (2332b), scripts/margin.js (10921b), scripts/market.js (1341b), scripts/report.js (2012b), scripts/trade.js (1867b), scripts/transfer.js (4567b), skill.json (1586b), SKILL.md (6208b), _meta.json (132b)\n\nFile v0.9.0:SKILL.md\n\n---\nname: kucoin-trader\ndescription: Professional KuCoin (KC) trading system - multi-account support, spot/margin/futures trading, asset transfers. Use to check balances, transfer assets, open/close positions, and manage your KuCoin portfolio.\nmetadata: {\"openclaw\":{\"emoji\":\"🟢\",\"always\":true,\"requires\":{\"bins\":[\"node\"]}}}\n---\n\n# KuCoin Trader 🟢\n\nProfessional automated trading system for KuCoin (KC) - a global cryptocurrency exchange.\n\n## 🚀 Quick Start\n\n### Setup Credentials\n\nSave to `~/.openclaw/credentials/kucoin.json`:\n```json\n{\n  \"apiKey\": \"YOUR_API_KEY\",\n  \"secretKey\": \"YOUR_SECRET_KEY\",\n  \"passphrase\": \"YOUR_PASSPHRASE\"\n}\n```\n\n### Environment Variables (alternative)\n```bash\nexport KUCOIN_API_KEY=\"your_api_key\"\nexport KUCOIN_SECRET_KEY=\"your_secret_key\"\nexport KUCOIN_PASSPHRASE=\"your_passphrase\"\nexport KUCOIN_IS_SANDBOX=\"true\"  # for sandbox testing\n```\n\n## 📊 Basic Queries\n\n### Check All Account Balances\n```bash\nnode workspace/skills/kucoin-trader/scripts/accounts.js\n```\n\n### Get Current Price\n```bash\nnode workspace/skills/kucoin-trader/scripts/market.js --symbol BTC-USDT\n```\n\n### Get Trading Report\n```bash\nnode workspace/skills/kucoin-trader/scripts/report.js\n```\n\n## 💰 Asset Transfer\n\n### Transfer from Main (Funding) to Trade (Spot)\n```bash\nnode workspace/skills/kucoin-trader/scripts/transfer.js --from main --to trade --currency USDT --amount 100\n```\n\n### Transfer from Trade to Futures\n```bash\nnode workspace/skills/kucoin-trader/scripts/transfer.js --from trade --to futures --currency USDT --amount 100\n```\n\n### Transfer from Futures to Main\n```bash\nnode workspace/skills/kucoin-trader/scripts/transfer.js --from futures --to main --currency USDT --amount 100\n```\n\n### Transfer between any accounts\n```bash\n# Supported types: main, trade, margin, isolated, futures\nnode workspace/skills/kucoin-trader/scripts/transfer.js --from <FROM> --to <TO> --currency <CURRENCY> --amount <AMOUNT>\n```\n\n### Supported Account Types\n| Type | Description |\n|------|-------------|\n| `main` | Funding Account - primary asset storage |\n| `trade` | Spot Trading Account - for trading |\n| `margin` | Cross Margin Account - leveraged trading |\n| `isolated` | Isolated Margin Account |\n| `futures` | Futures Account - perpetual contracts |\n\n## ⚡ Spot Trading\n\n### Buy (Market Order)\n```bash\nnode workspace/skills/kucoin-trader/scripts/trade.js --symbol BTC-USDT --side buy --type market --size 0.001\n```\n\n### Buy (Limit Order)\n```bash\nnode workspace/skills/kucoin-trader/scripts/trade.js --symbol ETH-USDT --side buy --type limit --price 2500 --size 0.1\n```\n\n### Sell (Market Order)\n```bash\nnode workspace/skills/kucoin-trader/scripts/trade.js --symbol BTC-USDT --side sell --type market --size 0.001\n```\n\n### Sell (Limit Order)\n```bash\nnode workspace/skills/kucoin-trader/scripts/trade.js --symbol ETH-USDT --side sell --type limit --price 3000 --size 0.1\n```\n\n## 🏦 Margin Trading (Cross Margin)\n\n### Borrow from Margin Account\n```bash\n# 查看可借额度\nnode workspace/skills/kucoin-trader/scripts/margin.js borrowable --currency USDT\n\n# 借款\nnode workspace/skills/kucoin-trader/scripts/margin.js borrow --currency USDT --amount 100\n```\n\n### Repay Margin Loan\n```bash\nnode workspace/skills/kucoin-trader/scripts/margin.js repay --currency USDT --amount 50\n```\n\n### Margin Trade (with leverage)\n```bash\n# 全仓杠杆买入 (5x杠杆)\nnode workspace/skills/kucoin-trader/scripts/margin.js trade --symbol BTC-USDT --side buy --size 0.01 --leverage 5\n\n# 全仓杠杆卖出\nnode workspace/skills/kucoin-trader/scripts/margin.js trade --symbol ETH-USDT --side sell --size 0.1 --leverage 3\n```\n\n## 🏝️ Isolated Margin Trading\n\n### Isolated Margin Trade\n```bash\n# 逐仓杠杆买入 (3x杠杆)\nnode workspace/skills/kucoin-trader/scripts/isolated.js trade --symbol BTC-USDT --side buy --size 0.01 --leverage 3\n\n# 逐仓杠杆卖出\nnode workspace/skills/kucoin-trader/scripts/isolated.js trade --symbol ETH-USDT --side sell --size 0.1 --leverage 5\n```\n\n### Check Isolated Borrow/Repay\n```bash\nnode workspace/skills/kucoin-trader/scripts/isolated.js borrow --symbol BTC-USDT --amount 0.01\nnode workspace/skills/kucoin-trader/scripts/isolated.js repay --symbol BTC-USDT --amount 0.01\n```\n\n## 📊 Futures Trading\n\n### Futures Buy (Long)\n```bash\nnode workspace/skills/kucoin-trader/scripts/futures.js trade --symbol BTC-USDT --side buy --size 0.001 --leverage 10\n```\n\n### Futures Sell (Short)\n```bash\nnode workspace/skills/kucoin-trader/scripts/futures.js trade --symbol BTC-USDT --side sell --size 0.001 --leverage 10\n```\n\n### Set Futures Leverage\n```bash\nnode workspace/skills/kucoin-trader/scripts/futures.js leverage --symbol BTC-USDT --leverage 20\n```\n\n## 📈 Supported Trading Pairs\n\n| Pair | Description |\n|------|-------------|\n| BTC-USDT | Bitcoin |\n| ETH-USDT | Ethereum |\n| SOL-USDT | Solana |\n| XRP-USDT | XRP |\n| DOGE-USDT | Dogecoin |\n| ADA-USDT | Cardano |\n| AVAX-USDT | Avalanche |\n| KCS-USDT | KuCoin Token |\n\n## 🏦 Account Types\n\n| Type | Description |\n|------|-------------|\n| `main` | Funding Account - primary asset storage |\n| `trade` | Spot Trading Account - for trading |\n| `margin` | Cross Margin Account - leveraged trading (up to 5x) |\n| `isolated` | Isolated Margin Account |\n| `futures` | Futures Account - perpetual contracts |\n\n## 🔧 Available Scripts\n\n| Script | Description |\n|--------|-------------|\n| `accounts.js` | List all account balances |\n| `transfer.js` | Transfer between accounts |\n| `trade.js` | Execute spot trades |\n| `margin.js` | Cross margin trading (borrow/repay/trade) |\n| `isolated.js` | Isolated margin trading |\n| `futures.js` | Futures trading |\n| `market.js` | Get market ticker data |\n| `report.js` | Generate trading report |\n\n## ⚠️ Safety Rules\n\n1. **ALWAYS** verify position before closing\n2. **ALWAYS** set Stop Loss on leveraged trades\n3. **NEVER** use leverage higher than 10x without experience\n4. **VERIFY** pair and quantity before executing\n5. **CONFIRM** with user before executing large orders\n\n## 🔗 Links\n\n- [API Documentation](https://docs.kucoin.com/)\n- [Create Account](https://www.kucoin.com/)\n- [Sandbox](https://sandbox.kucoin.com/)\n\n---\n*Skill for KuCoin trading with multi-account support*\n\nFile v0.9.0:_meta.json\n\n{\n  \"ownerId\": \"kn735d2r4gdvhj9596y7vx3mzx82jw4f\",\n  \"slug\": \"kucoin-trader\",\n  \"version\": \"0.9.0\",\n  \"publishedAt\": 1773071370659\n}\n\nFile v0.9.0:package.json\n\n{\n  \"name\": \"kucoin-trader\",\n  \"version\": \"1.0.0\",\n  \"description\": \"Professional KuCoin trading system with multi-account support, spot/margin/futures trading, asset transfers, and account management.\",\n  \"main\": \"lib/kucoin-client.js\",\n  \"scripts\": {\n    \"init\": \"node scripts/init.js\",\n    \"accounts\": \"node scripts/accounts.js\",\n    \"report\": \"node scripts/report.js\",\n    \"market\": \"node scripts/market.js\",\n    \"trade\": \"node scripts/trade.js\",\n    \"transfer\": \"node scripts/transfer.js\"\n  },\n  \"keywords\": [\"kucoin\", \"crypto\", \"trading\", \"spot\", \"margin\", \"futures\", \"exchange\", \"openclaw\"],\n  \"author\": \"alz\",\n  \"license\": \"MIT\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/esojourn/kucoin-trader\"\n  },\n  \"homepage\": \"https://github.com/esojourn/kucoin-trader\",\n  \"engines\": {\n    \"node\": \">=12.0.0\"\n  }\n}\n\nFile v0.9.0:skill.json\n\n{\n  \"name\": \"kucoin-trader\",\n  \"version\": \"1.0.0\",\n  \"description\": \"Professional KuCoin (KC) trading system - multi-account support, spot/margin/futures trading, asset transfers.\",\n  \"skills\": [\n    {\n      \"name\": \"kucoin_accounts\",\n      \"description\": \"List all KuCoin account balances across all account types (spot, margin, futures)\",\n      \"trigger\": [\"kucoin账户\", \"kucoin资产\", \"KC账户\", \"KC资产\", \"kucoin balance\", \"kucoin accounts\"]\n    },\n    {\n      \"name\": \"kucoin_transfer\",\n      \"description\": \"Transfer assets between KuCoin account types (main, trade, margin, futures)\",\n      \"trigger\": [\"kucoin划转\", \"kucoin转账\", \"kucoin transfer\"]\n    },\n    {\n      \"name\": \"kucoin_trade\",\n      \"description\": \"Execute spot trades on KuCoin (market or limit orders)\",\n      \"trigger\": [\"kucoin交易\", \"kucoin买卖\", \"kucoin trade\", \"kucoin buy\", \"kucoin sell\"]\n    },\n    {\n      \"name\": \"kucoin_market\",\n      \"description\": \"Get market data and ticker information for trading pairs\",\n      \"trigger\": [\"kucoin行情\", \"kucoin价格\", \"kucoin market\", \"kucoin ticker\"]\n    },\n    {\n      \"name\": \"kucoin_report\",\n      \"description\": \"Generate comprehensive trading report including positions and history\",\n      \"trigger\": [\"kucoin报告\", \"kucoin报表\", \"kucoin report\"]\n    }\n  ],\n  \"config\": {\n    \"credentials\": \"~/.openclaw/credentials/kucoin.json\",\n    \"fields\": {\n      \"apiKey\": \"KuCoin API Key\",\n      \"secretKey\": \"KuCoin Secret Key\",\n      \"passphrase\": \"KuCoin API Passphrase\",\n      \"isSandbox\": \"Use sandbox environment (true/false)\"\n    }\n  }\n}","readmeExcerpt":"Skill: KuCoin Trader Owner: dex-scan Summary: Professional KuCoin (KC) trading system - multi-account support, spot/margin/futures trading, asset transfers. Use to check balances, transfer assets, open/c... Tags: latest:1.0.1 Version history: v1.0.1 | 2026-03-10T14:53:12.340Z | user kucoin-trader 1.0.1 - Removed support for the KUCOIN_IS_SANDBOX environment variable. - Updated \"Create Account\" link with a referral co","codeSnippets":[],"executableExamples":[{"language":"json","snippet":"{\n  \"apiKey\": \"YOUR_API_KEY\",\n  \"secretKey\": \"YOUR_SECRET_KEY\",\n  \"passphrase\": \"YOUR_PASSPHRASE\"\n}"},{"language":"bash","snippet":"export KUCOIN_API_KEY=\"your_api_key\"\nexport KUCOIN_SECRET_KEY=\"your_secret_key\"\nexport KUCOIN_PASSPHRASE=\"your_passphrase\""},{"language":"bash","snippet":"# Main to Trade\nnode scripts/transfer.js --from main --to trade --currency USDT --amount 100\n\n# Trade to Futures\nnode scripts/transfer.js --from trade --to futures --currency USDT --amount 100\n\n# Any account transfer\nnode scripts/transfer.js --from <FROM> --to <TO> --currency <CURRENCY> --amount <AMOUNT>"},{"language":"bash","snippet":"# Market Buy\nnode scripts/spot.js trade --symbol BTC-USDT --side buy --type market --size 0.001\n\n# Limit Buy\nnode scripts/spot.js trade --symbol ETH-USDT --side buy --type limit --price 2500 --size 0.1\n\n# Market Sell\nnode scripts/spot.js trade --symbol BTC-USDT --side sell --type market --size 0.001\n\n# Limit Sell\nnode scripts/spot.js trade --symbol ETH-USDT --side sell --type limit --price 3000 --size 0.1\n\n# Query orders\nnode scripts/spot.js orders --symbol BTC-USDT\n\n# Cancel order\nnode scripts/spot.js cancel --orderId xxx"},{"language":"bash","snippet":"# --- Cross Margin (全仓杠杆) ---\n# Check borrowable\nnode scripts/margin.js borrowable --currency USDT\n\n# Borrow\nnode scripts/margin.js borrow --currency USDT --amount 100\n\n# Repay\nnode scripts/margin.js repay --currency USDT --amount 50\n\n# Trade with leverage (5x)\nnode scripts/margin.js trade --symbol BTC-USDT --side buy --size 0.01 --leverage 5\n\n# Query orders\nnode scripts/margin.js orders --symbol BTC-USDT\nnode scripts/margin.js all-orders\n\n# --- Isolated Margin (逐仓杠杆) ---\n# Check isolated account info\nnode scripts/margin.js info-isolated --symbol BTC-USDT\n\n# Check borrowable\nnode scripts/margin.js borrowable-isolated --symbol BTC-USDT\n\n# Borrow/Repay\nnode scripts/margin.js borrow-isolated --symbol BTC-USDT --amount 0.01\nnode scripts/margin.js repay-isolated --symbol BTC-USDT --amount 0.01\n\n# Trade with leverage (3x)\nnode scripts/margin.js trade-isolated --symbol BTC-USDT --side buy --size 0.01 --leverage 3\n\n# Enable/Disable isolated margin\nnode scripts/margin.js enable\nnode scripts/margin.js disable\n\n# Query isolated orders\nnode scripts/margin.js orders-isolated --symbol BTC-USDT"},{"language":"bash","snippet":"# Long\nnode scripts/futures.js trade --symbol BTC-USDT --side buy --size 0.001 --leverage 10\n\n# Short\nnode scripts/futures.js trade --symbol BTC-USDT --side sell --size 0.001 --leverage 10\n\n# Set leverage\nnode scripts/futures.js leverage --symbol BTC-USDT --leverage 20"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: kucoin-trader\ndescription: Professional KuCoin (KC) trading system - multi-account support, spot/margin/futures trading, asset transfers. Use to check balances, transfer assets, open/close positions, and manage your KuCoin portfolio.\nmetadata: {\"openclaw\":{\"emoji\":\"🟢\",\"always\":true,\"requires\":{\"bins\":[\"node\"]}}}\n---\n\n# KuCoin Trader 🟢\n\nProfessional automated trading system for KuCoin (KC) - a global cryptocurrency exchange.\n\n## 🚀 Quick Start\n\n### Setup Credentials\n\nSave to `~/.openclaw/credentials/kucoin.json`:\n```json\n{\n  \"apiKey\": \"YOUR_API_KEY\",\n  \"secretKey\": \"YOUR_SECRET_KEY\",\n  \"passphrase\": \"YOUR_PASSPHRASE\"\n}\n```\n\n### Environment Variables (alternative)\n```bash\nexport KUCOIN_API_KEY=\"your_api_key\"\nexport KUCOIN_SECRET_KEY=\"your_secret_key\"\nexport KUCOIN_PASSPHRASE=\"your_passphrase\"\n```\n\n## 📊 Basic Queries\n\n| Command | Description |\n|---------|-------------|\n| `node scripts/accounts.js` | List all account balances |\n| `node scripts/market.js --symbol BTC-USDT` | Get current price |\n| `node scripts/query.js` | Query all active orders |\n\n## 💰 Asset Transfer\n\nSupported types: `main`, `trade`, `margin`, `isolated`, `futures`\n\n```bash\n# Main to Trade\nnode scripts/transfer.js --from main --to trade --currency USDT --amount 100\n\n# Trade to Futures\nnode scripts/transfer.js --from trade --to futures --currency USDT --amount 100\n\n# Any account transfer\nnode scripts/transfer.js --from <FROM> --to <TO> --currency <CURRENCY> --amount <AMOUNT>\n```\n\n## ⚡ Spot Trading\n\n```bash\n# Market Buy\nnode scripts/spot.js trade --symbol BTC-USDT --side buy --type market --size 0.001\n\n# Limit Buy\nnode scripts/spot.js trade --symbol ETH-USDT --side buy --type limit --price 2500 --size 0.1\n\n# Market Sell\nnode scripts/spot.js trade --symbol BTC-USDT --side sell --type market --size 0.001\n\n# Limit Sell\nnode scripts/spot.js trade --symbol ETH-USDT --side sell --type limit --price 3000 --size 0.1\n\n# Query orders\nnode scripts/spot.js orders --symbol BTC-USDT\n\n# Cancel order\nnode scripts/spot.js cancel --orderId xxx\n```\n\n## 🏦 Margin Trading (Cross Margin & Isolated Margin)\n\n```bash\n# --- Cross Margin (全仓杠杆) ---\n# Check borrowable\nnode scripts/margin.js borrowable --currency USDT\n\n# Borrow\nnode scripts/margin.js borrow --currency USDT --amount 100\n\n# Repay\nnode scripts/margin.js repay --currency USDT --amount 50\n\n# Trade with leverage (5x)\nnode scripts/margin.js trade --symbol BTC-USDT --side buy --size 0.01 --leverage 5\n\n# Query orders\nnode scripts/margin.js orders --symbol BTC-USDT\nnode scripts/margin.js all-orders\n\n# --- Isolated Margin (逐仓杠杆) ---\n# Check isolated account info\nnode scripts/margin.js info-isolated --symbol BTC-USDT\n\n# Check borrowable\nnode scripts/margin.js borrowable-isolated --symbol BTC-USDT\n\n# Borrow/Repay\nnode scripts/margin.js borrow-isolated --symbol BTC-USDT --amount 0.01\nnode scripts/margin.js repay-isolated --symbol BTC-USDT --amount 0.01\n\n# Trade with leverage (3x)\nnode scripts/margin.js trade-isolated --symbol BTC-USDT --side buy "},{"path":"README.md","content":"This software is provided \"AS IS\" without warranty of any kind. Cryptocurrency trading involves substantial risk and may result in the loss of your entire capital. This tool is for educational and informational purposes only and does not constitute financial or trading advice. The author assumes no liability for any damages or losses arising from the use of this software."},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn735d2r4gdvhj9596y7vx3mzx82jw4f\",\n  \"slug\": \"kucoin-trader\",\n  \"version\": \"1.0.1\",\n  \"publishedAt\": 1773154392340\n}"},{"path":"skill-card.md","content":"## Description:\n\nProfessional KuCoin (KC) trading system - multi-account support, spot/margin/futures trading, asset transfers.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[dex-scan](https://clawhub.ai/user/dex-scan)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and developers use this skill to inspect KuCoin balances and market data, transfer assets between account types, and manage spot, margin, and futures orders through Node-based commands.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill can move funds and place real spot, margin, and futures orders.\n\nMitigation: Use a minimum-permission KuCoin API key, disable withdrawals, apply exchange-side IP restrictions, and require explicit confirmation or dry-run approval before trades, transfers, cancellations, borrowing, and repayment.\n\nRisk: Leveraged futures and margin actions can amplify losses, including high leverage when a futures trade omits an explicit leverage value.\n\nMitigation: Avoid futures or margin permissions unless required, enforce conservative leverage limits, require stop-loss review, and remove the executable 125x futures default before production use.\n\nRisk: KuCoin credentials may be stored in a local JSON file or environment variables.\n\nMitigation: Keep credential files restricted to the local user, rotate keys after testing, and do not grant permissions beyond the specific account actions needed.\n\n## Reference(s):\n\n- [KuCoin API Documentation](https://docs.kucoin.com/)\n- [ClawHub Skill Page](https://clawhub.ai/dex-scan/skills/kucoin-trader)\n- [Publisher Profile](https://clawhub.ai/user/dex-scan)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown text with inline Node command examples and JSON credential configuration]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Produces command guidance and executes KuCoin API operations through local Node scripts when invoked by an agent.]\n\n## Skill Version(s):\n\n1.0.1 (source: server release metadata and changelog)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment."},{"path":"package.json","content":"{\n  \"name\": \"kucoin-trader\",\n  \"version\": \"1.0.0\",\n  \"description\": \"Professional KuCoin trading system with multi-account support, spot/margin/futures trading, asset transfers, and account management.\",\n  \"main\": \"lib/kucoin-client.js\",\n  \"scripts\": {\n    \"init\": \"node scripts/init.js\",\n    \"accounts\": \"node scripts/accounts.js\",\n    \"report\": \"node scripts/report.js\",\n    \"market\": \"node scripts/market.js\",\n    \"spot\": \"node scripts/spot.js\",\n    \"transfer\": \"node scripts/transfer.js\"\n  },\n  \"keywords\": [\"kucoin\", \"crypto\", \"trading\", \"spot\", \"margin\", \"futures\", \"exchange\", \"openclaw\"],\n  \"author\": \"alz\",\n  \"license\": \"MIT\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/esojourn/kucoin-trader\"\n  },\n  \"homepage\": \"https://github.com/esojourn/kucoin-trader\",\n  \"engines\": {\n    \"node\": \">=12.0.0\"\n  }\n}"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"Professional KuCoin (KC) trading system - multi-account support, spot/margin/futures trading, asset transfers. Use to check balances, transfer assets, open/c... Skill: KuCoin Trader Owner: dex-scan Summary: Professional KuCoin (KC) trading system - multi-account support, spot/margin/futures trading, asset transfers. Use to check balances, transfer assets, open/c... Tags: latest:1.0.1 Version history: v1.0.1 | 2026-03-10T14:53:12.340Z | user kucoin-trader 1.0.1 - Removed support for the KUCOIN_IS_SANDBOX environment variable. - Updated \"Create Account\" link with a referral co","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":1276,"uniquenessScore":46,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-10T21:53:55.702Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-10T21:53:55.702Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-11T00:32:43.065Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}