discountry/ritmex-bot/use-ritmex-bot
Claude Code and agent skill by discountry/ritmex-bot
- community
Checking that the SKILL.md file is still in the repository.
Use when the task requires operating exchanges with the ritmex-bot CLI, including capability checks, market/account/position queries, order operations, strategy run, dry-run simulation, and JSON output parsing.
Install
npx vskill@latest install discountry/ritmex-bot/use-ritmex-botSKILL.md
Use ritmex-bot CLI
This skill is for running ritmex-bot in an agent-safe, exchange-compatible way.
Use This Skill When
- The user asks to use
ritmex-botcommands directly. - The user wants market data, account/position, or order operations from supported exchanges.
- The user wants AI-agent-friendly CLI execution with
--jsonoutput. - The user wants simulation with
--dry-runbefore real writes.
Hard Rules
- Do not change environment-variable names and do not invent new env keys.
- Read config from the current shell environment as-is.
- Do not normalize or rewrite
--symbol; pass it through exactly. - If a feature is not supported by an exchange, return it as unsupported (
UNSUPPORTED), do not fake behavior. - For write actions (
order create,order cancel,order cancel-all), prefer--dry-runfirst unless the user explicitly asks to skip simulation. - Use
--jsonwhenever output must be consumed by another agent/tool.
Command Entry Options
Use one of these:
If ritmex-bot is unavailable, use bun run index.ts <command> from repo root.
Default Agent Workflow
- Determine exchange and symbol from user request.
- If missing, rely on existing env resolution; do not create fallback env variables.
- Run capability precheck:
exchange listexchange capabilities --exchange <id>
- For read operations, run command directly (prefer
--json). - For write operations:
- Run the exact command with
--dry-run --json. - Validate payload and dry-run actions.
- Run live command only when user confirmed or explicitly requested live execution.
- Post-check with
order open,position list, oraccount snapshotas needed.
Global Flags
| Flag | Short | Meaning | |
|---|---|---|---|
--exchange | -e | Exchange override | |
--symbol | - | Trading symbol (pass-through) | |
--json | -j | JSON output | |
--dry-run | -d | Simulate write ops | |
--timeout | -t | Timeout in ms (default 25000) | |
--help | -h | Show help |
Root Commands
helpdoctorexchangemarketaccountpositionorderstrategy
Command Reference
doctor
Returns effective setup and runtime capabilities.
exchange
If runtime adapter cannot initialize, capabilities may fallback to static metadata.
market
Rules:
klinerequires--interval.depth --levelsis optional.kline --limitis optional.
account
summary is an alias of snapshot.
position
order
Query open orders
Create order
Required:
--side=buy|sell--type=limit|market|stop|trailing-stop|close--quantityor--qty
Conditional required:
limit:--pricestop:--stop-pricetrailing-stop:--activation-priceand--callback-rate
Optional:
--time-in-force(GTC|IOC|FOK|GTX)--reduce-only(true|false)--close-position(true|false)--trigger-type(UNSPECIFIED|TAKE_PROFIT|STOP_LOSS)--sl-price--tp-price
Cancel one order
Cancel all
strategy
Supported strategy IDs:
trendswingguardianmakermaker-pointsoffset-makerliquidity-makerbasisgrid
Aliases:
offset->offset-makermakerpoints/maker_points->maker-pointsliquidity/liquiditymaker/liquidity_maker->liquidity-maker
Extra flags:
--silent(short alias-q)--dry-run
Dry-Run First Patterns
Create order safely
Cancel safely
Agent Output Handling
Prefer --json and parse:
success(boolean)command(executed command kind)exchangesymboldryRundata(success payload)error.code,error.message,error.retryable(failure payload)
Human-readable mode is fine for manual terminal use; --json is preferred for automation.
Error Codes and Exit Codes
Map failures by code/exit code:
INVALID_ARGS-> exit2MISSING_ENV-> exit3UNSUPPORTED-> exit5EXCHANGE_ERROR-> exit6TIMEOUT-> exit7
Handling policy:
INVALID_ARGS: fix command arguments and retry once.MISSING_ENV: report missing configuration; do not invent env keys.UNSUPPORTED: return clearly as unsupported for that exchange.EXCHANGE_ERROR: return details and retry only if user requests.TIMEOUT: optionally retry with larger--timeoutonce.
Symbol and Exchange-Specific Behavior
- Never apply cross-exchange symbol mapping inside the skill.
- Respect user-provided symbols exactly (examples:
BTCUSDT,BTCUSDC,BTC_USD_PERP,BTC-PERP). - If no
--symbolis provided, let existing exchange config resolve it. - If no
--exchangeis provided, let existing env resolution decide it.
Ready-to-Use Recipes
Preflight
Read-only market/account state
Write flow (safe)
Strategy flow
Completion Checklist
Before returning results to user:
- Confirm command and parameters used.
- Confirm whether run was
dryRunor live. - For live writes, provide immediate post-check output (
order open/position list). - If unsupported, explicitly name exchange + unsupported method.
- If failed, return error code/message and next corrective action.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/use-ritmex-bot/SKILL.md
Popularity
- Repository stars
- 443
- Repository forks
- 179
- Repository npm downloads, 7 days
- 3
- 7-day trend score
- 40
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/discountry/ritmex-bot/use-ritmex-bot)