← Back to Skills Marketplace
bubble501

Phemex Trade

by aaron liu · GitHub ↗ · v1.2.0 · MIT-0
cross-platform ✓ Security Clean
776
Downloads
0
Stars
2
Active Installs
4
Versions
Install in OpenClaw
/install phemex-trade
Description
Trade on Phemex (USDT-M futures, Coin-M futures, Spot) — place orders, manage positions, check balances, and query market data. Use when the user wants to (1...
Usage Guidance
This skill appears to do what it says: act as a wrapper around a Phemex CLI. Before installing, verify the npm package and GitHub repo (maintainer, recent commits, issues) and prefer creating exchange API keys with minimal permissions. Be aware the CLI can persist secrets to ~/.phemexrc — review that file's contents and filesystem permissions, or prefer passing credentials via environment variables at runtime. Because npm installs execute code, consider auditing the package source or installing in a restricted/isolated environment (container or VM) if you are unsure.
Capability Analysis
Type: OpenClaw Skill Name: phemex-trade Version: 1.2.0 The skill bundle provides a legitimate interface for trading on the Phemex exchange using the 'phemex-cli' tool. The SKILL.md file contains well-structured instructions for the AI agent, including explicit safety rules such as requiring user confirmation before placing orders or changing leverage. While it handles sensitive API credentials via environment variables or a local config file (~/.phemexrc), this is standard practice for trading CLI tools and no evidence of malicious intent, data exfiltration, or harmful prompt injection was found.
Capability Assessment
Purpose & Capability
Name/description, required binaries (phemex-cli), declared env vars (PHEMEX_API_KEY, PHEMEX_API_SECRET), and the install (npm package phemex-trade-mcp creating phemex-cli) are coherent for a Phemex trading CLI.
Instruction Scope
SKILL.md instructs using phemex-cli commands and documents that credentials may be persisted to ~/.phemexrc; this is expected for a CLI but is a useful security consideration since it writes secrets to disk.
Install Mechanism
Install is an npm package (phemex-trade-mcp) that provides the phemex-cli binary. npm installs can run arbitrary code during installation (moderate risk). Using an npm package for a CLI is reasonable, but users should vet the package source/maintainer before global install.
Credentials
Only PHEMEX_API_KEY and PHEMEX_API_SECRET are required and are expected for trading functionality. The SKILL.md's use of ~/.phemexrc to persist credentials is consistent with the declared env usage.
Persistence & Privilege
Skill is not marked always:true and does not request elevated system-wide privileges. It may store credentials in ~/.phemexrc (its own config), which is normal for a CLI but should be guarded by the user.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install phemex-trade
  3. After installation, invoke the skill by name or use /phemex-trade
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.2.0
v1.2.0 introduces major usability improvements: - New `list_symbols` tool to discover available trading pairs with contract type filtering. - Supports persistent API credentials via `~/.phemexrc` config file (no more repeated export of env vars). - Every tool now provides detailed inline documentation with the `--help` flag, including parameter explanations and examples. - Output field names are now user-friendly (e.g., `closePrice` instead of `closeRp`); use `--raw` for original format. - Error messages provide actionable suggestions and tips for troubleshooting.
v1.1.2
Add CLI update note; CLI e2e tests for all market types
v1.1.0
- Switched from the mcporter-based interface to a new phemex-cli tool for running commands. - Updated all usage examples and instructions to use phemex-cli syntax. - Installation requirements now reference only phemex-cli (removed mcporter dependency). - Added more guidance in the skill description about when to use this skill. - Updated environment variable handling and clarified API URL defaults for safety. - Revised command parameter explanations for contract types and order quantities.
v1.0.1
- Improved documentation in SKILL.md with detailed usage instructions, safety rules, and common workflows. - Clarified tool descriptions for trading, account management, and market data queries. - Added explicit safety rules requiring user confirmation before placing or canceling orders. - Included clear setup steps for connecting to Phemex via environment variables. - Sample commands provided for typical trading actions across USDT-M, Coin-M, and Spot markets.
Metadata
Slug phemex-trade
Version 1.2.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 4
Frequently Asked Questions

What is Phemex Trade?

Trade on Phemex (USDT-M futures, Coin-M futures, Spot) — place orders, manage positions, check balances, and query market data. Use when the user wants to (1... It is an AI Agent Skill for Claude Code / OpenClaw, with 776 downloads so far.

How do I install Phemex Trade?

Run "/install phemex-trade" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Phemex Trade free?

Yes, Phemex Trade is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Phemex Trade support?

Phemex Trade is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Phemex Trade?

It is built and maintained by aaron liu (@bubble501); the current version is v1.2.0.

💬 Comments