← Back to Skills Marketplace
phemex

Phemex Cli

by phemex · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ✓ Security Clean
141
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install phemex-cli
Description
Trade on Phemex (USDT-M futures, Coin-M futures, Spot) — place orders, manage positions, check balances, stream real-time market data, and query historical d...
Usage Guidance
This skill appears to be a straightforward wrapper around the phemex-cli tool, but you should take ordinary precautions before installing/using it: 1) Verify the npm package and GitHub repo (publisher, recent commits, issues) to reduce supply-chain risk—npm packages can run install scripts. 2) Prefer using environment variables over storing keys in plaintext files; if you do use ~/.phemexrc, set strict file permissions (chmod 600) and keep the file private. 3) Create API keys with minimal required permissions (e.g., read-only key for market queries; separate key with trading enabled only when you intend to place trades; do not enable withdrawals). 4) If you do not want the agent to place trades autonomously, disable autonomous invocation for this skill in your agent settings or require explicit confirmation for any trading command. 5) Before a global npm install, inspect the package.json and any postinstall scripts in the package source. These steps will reduce the main risks (credential exposure and malicious install-time scripts).
Capability Analysis
Type: OpenClaw Skill Name: phemex-cli Version: 2.0.0 The phemex-cli skill bundle provides a structured interface for trading on the Phemex exchange. The SKILL.md file includes explicit safety guidelines for the AI agent, such as requiring user confirmation for orders, leverage changes, and cancellations, and strictly forbidding autonomous trading. While the tool handles sensitive API credentials and uses a local configuration file (~/.phemexrc), these behaviors are standard for financial CLI tools and are accompanied by defensive instructions to mitigate accidental or unauthorized actions.
Capability Assessment
Purpose & Capability
Name/description match the declared requirements: the skill needs the phemex-cli binary and PHEMEX_API_KEY/PHEMEX_API_SECRET, which are exactly what a Phemex trading CLI requires.
Instruction Scope
SKILL.md stays on-topic: it documents CLI commands, streaming, and credential loading from environment or ~/.phemexrc. It does not instruct the agent to read unrelated system files or exfiltrate data to unexpected endpoints. Note: it recommends persisting credentials in ~/.phemexrc, which is functionally reasonable but a sensitive action the user should handle carefully.
Install Mechanism
Install uses the npm package phemex-cli (creates the phemex-cli binary). This is an expected install route, but npm package installs can run arbitrary install scripts (postinstall) and will execute code on the host during install — verify package provenance (registry publisher, GitHub repo, package.json) before installing.
Credentials
Requested env vars are PHEMEX_API_KEY and PHEMEX_API_SECRET (primaryEnv = PHEMEX_API_KEY) — these are appropriate and sufficient for trading. No unrelated credentials are requested. The skill also mentions ~/.phemexrc as an alternate credential store (expected but sensitive).
Persistence & Privilege
always:false (normal). The skill can be invoked autonomously (platform default). That is expected, but because the skill can place real trades, allowing autonomous invocation without restrictions could result in unintended orders — consider limiting autonomous use or requiring explicit user confirmation for trade operations.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install phemex-cli
  3. After installation, invoke the skill by name or use /phemex-cli
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.0
Initial release — standalone CLI with WebSocket streaming, friendly field names, and enhanced errors
Metadata
Slug phemex-cli
Version 2.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Phemex Cli?

Trade on Phemex (USDT-M futures, Coin-M futures, Spot) — place orders, manage positions, check balances, stream real-time market data, and query historical d... It is an AI Agent Skill for Claude Code / OpenClaw, with 141 downloads so far.

How do I install Phemex Cli?

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

Is Phemex Cli free?

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

Which platforms does Phemex Cli support?

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

Who created Phemex Cli?

It is built and maintained by phemex (@phemex); the current version is v2.0.0.

💬 Comments