This is a Claude skill for placing trades on centralized exchanges like Binance, OKX, and Bybit. It enforces a strict two-step confirmation flow: every order shows you a preview first, you confirm it, then it executes. The source material is unusually paranoid about safety, which is probably the right stance when you're moving real money. It handles spot and perpetual futures, supports leverage settings, and has a dedicated close_position command to avoid accidentally opening reverse positions when you meant to exit. The skill blocks you from writing custom trading code and forces everything through a single script interface. If you're building an AI agent that needs to execute CEX trades without shooting itself in the foot, this gives you guardrails.

skills.sh installs
545
GitHub stars
58
last updated
Aug 21, 2026

Install

$ npx -y skills add aicoincom/coinos-skills --skill aicoin-trading --agent claude-code

Installs into .claude/skills of the current project.

Files

运行脚本: 从 SKILL.md 所在目录运行 node scripts/exchange.mjs <action>. 三引擎(OpenClaw / Hermes / Claude Code)容器自动加载 skill, 直接 cd 到 skill 目录即可.

AiCoin Trading — 下单专用

⛔ 铁律(违反任何一条都是严重错误)

  1. 禁止写代码下单。 不准写 import ccxt、new ccxt.okx()、fetch("https://...") 或任何自定义代码来下单。所有订单只能通过 node scripts/exchange.mjs create_order 执行。
  2. 禁止自动确认。 create_order / close_position 第一次调用返回预览(含风险提示),你必须把预览完整展示给用户,等用户回复"确认"或"yes"后,才能第二次调用加 "confirmed":"true" 执行。
  3. 禁止修改用户参数。 余额不够就告诉用户,不准自动调整数量或杠杆。
  4. 禁止主动平仓。 除非用户明确要求。
  5. 平仓必须用 close_position。 禁止用 create_order 构建平仓单(容易开反向单)。
  6. 杠杆 / 保证金模式改动必须先确认。 set_trading_params 和 set_leverage 不是只读操作 — 它们改交易所账户的合约配置,直接影响后续所有订单的保证金占用、爆仓价、强平距离。100x 杠杆和 5x 杠杆的爆仓距离差 20 倍,用户没明确说改之前不准 silent set。调用前必须:用自然语言告诉用户你准备把哪个交易所、哪个交易对的杠杆 / margin_mode 从什么改成什么、影响是什么,等用户回复"确认"或"yes"才能执行。

反例 ❌:用户说"开 100x 多 BTC",你不反问杠杆是不是写错了直接 set_trading_params leverage=100 然后下单 — 用户可能是口误想说 10x,100x 直接 silent 设了风险极高。 正确 ✅:先回"100x 杠杆爆仓距离只有约 0.95%(不算手续费),BTC 一根 5 分钟 K 线就能扫掉。确认是 100x 还是想说 10x?",等用户明确回答再 set。

下单流程(两步,不可跳过)

Sponsors

Details

Repository
github.com/aicoincom/coinos-skills
Categories
Sales & Marketing, Finance & Trading, Web3 & Blockchain
First seen
Jun 3, 2026

More from aicoincom/coinos-skills

All 6
1alirezarezvani avatartc-trackeralirezarezvani/claude-skillsUse when the user asks to track technical changes, create change records, manage TC lifecycles, or hand off work between AI sessions. Covers init/create/update/544skills.sh installs
2longbridge avatarlongbridge-stock-researchlongbridge/skillsComprehensive equity research snapshot — integrates analyst consensus estimates, company fundamentals (revenue / profit / valuation), 60-day price history, and 543skills.sh installs
3openclaudia avatarcopywritingopenclaudia/openclaudia-skillsWrite marketing copy for any page type: landing pages, product pages, about pages, sales pages, ads, and more. Trigger phrases: "write copy", "marketing copy", 543skills.sh installs
4longbridge avatarlongbridge-fundamentallongbridge/skillsCompany fundamentals via Longbridge — latest financial report KPIs (revenue / net income / EPS / ROE / margins / cash flow), YoY trends, dividend history, forwa542skills.sh installs
5wshaddix avatarvalidation-patternswshaddix/dotnet-skillsComprehensive validation patterns for ASP.NET Core applications. Covers FluentValidation integration, DataAnnotations, IValidatableObject, IValidateOptions<T>, 542skills.sh installs
6openclaudia avatarreddit-marketingopenclaudia/openclaudia-skillsMarket and engage on Reddit authentically. Use when the user says "Reddit marketing", "Reddit strategy", "promote on Reddit", "Reddit post", "subreddit strategy541skills.sh installs