Usage Guide
Usage Model
There are two common ways to use Deepcoin skills with AI tools.
Option 1: Documentation-only mode
Use this when you want the AI to read Deepcoin API docs and generate code, but you do not yet have an official Deepcoin CLI or MCP server.
Recommended inputs for the AI:
- the relevant Deepcoin docs from this repository
- one or more
SKILL.mdfiles fromskills/ - your target language, such as Python, JavaScript, or Go
This mode is best for:
- API integration
- signature implementation
- request/response explanation
- sample trading bots
- WebSocket subscription examples
Option 2: Skill-first mode
Use this when your AI tool supports skill discovery or slash-command style invocation. In this mode, install the SKILL.md files into the tool's skill directory and keep the Deepcoin docs available in the project workspace.
Installation Patterns
Claude Code / Claude-compatible skill loaders
Install globally:
mkdir -p ~/.claude/skills/deepcoin-market
mkdir -p ~/.claude/skills/deepcoin-account
mkdir -p ~/.claude/skills/deepcoin-trade
cp skills/deepcoin-market/SKILL.md ~/.claude/skills/deepcoin-market/
cp skills/deepcoin-account/SKILL.md ~/.claude/skills/deepcoin-account/
cp skills/deepcoin-trade/SKILL.md ~/.claude/skills/deepcoin-trade/
Install for the current project only:
mkdir -p .claude/skills/deepcoin-market
mkdir -p .claude/skills/deepcoin-account
mkdir -p .claude/skills/deepcoin-trade
cp skills/deepcoin-market/SKILL.md .claude/skills/deepcoin-market/
cp skills/deepcoin-account/SKILL.md .claude/skills/deepcoin-account/
cp skills/deepcoin-trade/SKILL.md .claude/skills/deepcoin-trade/
Cursor
If the environment does not support native skill folders, copy each SKILL.md into a project rule file:
mkdir -p .cursor/rules
cp skills/deepcoin-market/SKILL.md .cursor/rules/deepcoin-market.md
cp skills/deepcoin-account/SKILL.md .cursor/rules/deepcoin-account.md
cp skills/deepcoin-trade/SKILL.md .cursor/rules/deepcoin-trade.md
Cline / Roo Code / similar IDE agents
Merge the relevant skill content into the agent instruction files used by the extension. Keep the Deepcoin docs in the workspace so the agent can resolve referenced endpoints.
OpenClaw
mkdir -p ~/.openclaw/skills/deepcoin-market
mkdir -p ~/.openclaw/skills/deepcoin-account
mkdir -p ~/.openclaw/skills/deepcoin-trade
cp skills/deepcoin-market/SKILL.md ~/.openclaw/skills/deepcoin-market/
cp skills/deepcoin-account/SKILL.md ~/.openclaw/skills/deepcoin-account/
cp skills/deepcoin-trade/SKILL.md ~/.openclaw/skills/deepcoin-trade/
How To Invoke
Slash-style invocation
If your AI tool supports explicit skill selection, use:
/deepcoin-marketfor quotes, order book, trades, candles, or public streams/deepcoin-accountfor balances, positions, bills, UID, or private streams/deepcoin-tradefor order placement, cancellation, trigger orders, or TP/SL management
Natural-language invocation
The user can also trigger skills through intent:
- "Fetch BTC-USDT order book and recent trades"
- "Generate Python code to query my account balance on Deepcoin"
- "Write JavaScript to place a limit order on BTC-USDT-SWAP"
- "Show me how to subscribe to private order updates"
Recommended Prompting Pattern
For best results, provide:
- The target environment, such as Python requests, Node.js fetch, or Go HTTP client
- The target endpoint or business goal
- Whether the task is public data, private account, or trading
- Whether you want explanation only, sample code, or executable project code
Example:
Use the deepcoin-trade skill. Generate Python code for POST /deepcoin/trade/order.
The symbol is BTC-USDT-SWAP. I want a limit buy order to open a long position.
Use environment variables for API credentials and include request signing.
Operational Notes
- Public market endpoints can be used without authentication.
- Private REST endpoints must follow the signing rules in Access Guide.
- Private WebSocket examples should distinguish login/subscribe flow from public subscriptions.
- For trading examples, always verify
instId,tickSz, andminSzfrom product metadata before placing orders. - Unless a real execution tool is available, skills should default to documentation help and code generation instead of live trading.