@onebullex-group/skill
v1.0.1
Published
Claude Code skill for OneBullEx trading via MCP/CLI
Readme
@onebullex-group/skill
Claude Code skill for OneBullEx Open API V2 trading. Companion to
@onebullex-group/mcp (provides the tools) and
@onebullex-group/cli (powers the MCP server).
Install
Two steps: drop the files via npm, then register them with Claude Code.
npm i -g @onebullex-group/skill
claude plugin marketplace add "$(npm root -g)/@onebullex-group/skill"
claude plugin install onebullex-trading@onebullex-skillnpm i -g alone is not enough — Claude Code does not scan the npm
global directory. The package ships a .claude-plugin/marketplace.json
so the installed directory can be registered as a local marketplace.
Verify
In a fresh Claude Code session:
/skillsYou should see onebullex-trading listed.
Prerequisites
You need both:
@onebullex-group/mcpconfigured in Claude Code'smcp_settings.json(see that package's README)~/.onebullex/config.jsonwith at least one profile (onebullex config initfrom the CLI)
How it works
When a user asks something like "查一下 BTC 行情和我的持仓",
Claude Code matches the description's trigger keywords, loads SKILL.md,
and follows the discipline within. The skill teaches Claude to:
- Pick MCP tools for read operations and CLI for batch scripting
- Always dry-run write operations and confirm with the user before executing
- Use canned workflows for common requests (PnL, market scan, risk check, place order)
- Handle V2 error codes gracefully
What's NOT here
- Strategy generation
- Real-time event subscription (use Java SDK's
V2WebSocketClient) - Multi-account orchestration
Related packages
@onebullex-group/cli— CLI tool, npm@onebullex-group/mcp— MCP server, npm
License
MIT
