← 返回 Skills 市场
octal-crypto

Dx Terminal Pro

作者 octal.eth · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
479
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dx-terminal-pro-skill
功能描述
Manage a DX Terminal Pro trading agent
使用说明 (SKILL.md)

DX Terminal Pro

DX Terminal Pro is an ecosystem of AI agents trading memecoins. Only trading agents can execute trades. This skill allows you to:

  • Influence a trading agent by modifying its settings and strategies
  • View a trading agent's portfolio and pnl
  • View token market data + charts
  • See the swaps the trading agent is making + the reason why trades were taken
  • Deposit and withdraw to/from the trading agent's vault

Authentication

The environment variable DX_TERMINAL_PRIVATE_KEY controls and identifies a trading agent. This key should be protected and not exposed or shared.

Get Vault Address

VAULT_ADDRESS=$(curl -s "https://api.terminal.markets/api/v1/vault?ownerAddress=$(cast wallet address --private-key $DX_TERMINAL_PRIVATE_KEY)" | jq -r .vaultAddress)

API Reads

Get Vault Settings

curl -s "https://api.terminal.markets/api/v1/vault?vaultAddress=$VAULT_ADDRESS"

Vault settings include:

  • maxTradeAmount: The maximum amount of ETH to trade per swap (a percentage of the portfolio's ETH in bps).
  • slippageBps: The trading slippage to allow between trade decision and execution (a percentage in bps).
  • tradingActivity: how often the agent trades (1 = rare/high-conviction, 5 = frequent/opportunistic).
  • assetRiskPreference: risk level of assets considered (1 = safer/lower-volatility, 5 = riskier/higher-upside).
  • tradeSize: typical position sizing (1 = smaller/cautious, 5 = larger/more aggressive).
  • holdingStyle: expected hold time (1 = shorter-term, 5 = longer-term/patient).
  • diversification: portfolio concentration (1 = fewer concentrated positions, 5 = broader spread).

Get Portfolio

curl -s "https://api.terminal.markets/api/v1/positions/$VAULT_ADDRESS"

Returns ETH + token balances, and PNL data.

Note: ethBalance, overallValueEth, and overallPnlEth, and positions[].balance are in wei/pre-decimal units, and should be divided by 1e18 for presentation.

Get Deposits and Withdrawals

curl -s "https://api.terminal.markets/api/v1/deposits-withdrawals/$VAULT_ADDRESS?limit=50&order=desc"

Note: amount is in wei units.

Note: supports cursor pagination via cursor=....

Get Tokens

curl -s "https://api.terminal.markets/api/v1/tokens?includeMarketData=true"

Returns market data for all tokens.

Get Swaps

curl -s "https://api.terminal.markets/api/v1/swaps?vaultAddress=$VAULT_ADDRESS&limit=50&order=desc"

Note: ethAmount and tokenAmount are in wei/pre-decimal units, and should be divided by 1e18 for presentation.

Note: This endpoint uses cursor pagination. Each swap contains a cursor to resume from.

Get Strategies

curl -s "https://api.terminal.markets/api/v1/strategies/$VAULT_ADDRESS?activeOnly=true"

Note: Strategies are instructions to direct the trading agent's behavior. There is a maximum of 8 total, each has a maximum length of 1024 characters, and they have priorities + an expiry time.

Get Token OHLCV Candles

curl -s "https://api.terminal.markets/api/v1/candles/$TOKEN_ADDRESS?timeframe=1m&to=$(date +%s)&countback=300"

Get token chart data.

Note: timeframe and to are required. Valid timeframes: 1m, 5m, 15m, 1h, 4h, 1d.

Get Inference Logs

curl -s "https://api.terminal.markets/api/v1/logs/$VAULT_ADDRESS?limit=50&order=desc"

Gets the reasoning returned by the trading agent's inference.

Note: cursor pagination via cursor=....

Get Token Holders

curl -s "https://api.terminal.markets/api/v1/holders/$TOKEN_ADDRESS?limit=50&offset=0&order=desc"

Note: balance, totalBoughtTokens, and totalSoldTokens are in wei/pre-decimal units, and should be divided by 1e18 for presentation.

Note: order=desc returns largest holders first.

Get Leaderboard

curl -s "https://api.terminal.markets/api/v1/leaderboard?limit=50&sortBy=total_pnl_usd"

Note: optional cursor=... for pagination

Get PnL History

curl -s "https://api.terminal.markets/api/v1/pnl-history/$VAULT_ADDRESS"

Note: returns time-series PnL datapoints for charting. pnlEth is in wei.

Onchain Actions

Update vault settings

cast send "$VAULT_ADDRESS" "updateSettings((uint256,uint256,uint8,uint8,uint8,uint8,uint8))" "(5000,200,3,3,3,3,3)" --private-key "$DX_TERMINAL_PRIVATE_KEY" --rpc-url "https://mainnet.base.org"

Params in tuple order: (maxTradeAmount, slippageBps, tradingActivity, assetRiskPreference, tradeSize, holdingStyle, diversification).

Validation: maxTradeAmount is BPS and must be 500-10000 (5%-100%), slippageBps is BPS and must be 10-5000 (0.1%-50%), all slider fields are integers 1-5.

Strategies

Add Strategy

example:

cast send "$VAULT_ADDRESS" "addStrategy(string,uint64,uint8)" "Rotate into strongest relative volume while keeping 20% idle ETH for opportunities." "$(( $(date +%s) + 86400 ))" "2" --private-key "$DX_TERMINAL_PRIVATE_KEY" --rpc-url "https://mainnet.base.org"

Params: strategy (string), expiry (unix seconds), prio (0=Low, 1=Med, 2=High).

Validation: strategy length is 1-1024 bytes, expiry must be 0 or a future timestamp, priority must be in 0-2, and there can be at most 8 active strategies.

Disable Strategy

cast send "$VAULT_ADDRESS" "disableStrategy(uint256)" "1" --private-key "$DX_TERMINAL_PRIVATE_KEY" --rpc-url "https://mainnet.base.org"

Param: strategyId (uint256).

Deposit

cast send "$VAULT_ADDRESS" "depositETH()" --value 0.05ether --private-key "$DX_TERMINAL_PRIVATE_KEY" --rpc-url "https://mainnet.base.org"

Withdraw

cast send "$VAULT_ADDRESS" "withdrawETH(uint256)" "50000000000000000" --private-key "$DX_TERMINAL_PRIVATE_KEY" --rpc-url "https://mainnet.base.org"

Param: amount_ in wei.

功能分析
Type: OpenClaw Skill Name: dx-terminal-pro-skill Version: 0.1.0 The skill is classified as suspicious due to its direct execution of shell commands (`cast`, `curl`, `jq`) and handling of a sensitive `DX_TERMINAL_PRIVATE_KEY` for on-chain transactions, as defined in `SKILL.md`. While the actions align with the stated purpose of managing a trading agent, the command templates are highly susceptible to shell injection vulnerabilities if the AI agent substitutes user-provided input (e.g., strategy strings, amounts) without proper sanitization. There is no evidence of intentional malicious behavior such as unauthorized data exfiltration or backdoor installation, but the inherent risk of command injection makes it a significant security concern.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dx-terminal-pro-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dx-terminal-pro-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of dx-terminal-pro: manage a DX Terminal Pro trading agent. - View and influence a trading agent’s portfolio, strategies, and trade settings - Access token market data, charts, and portfolio PnL - See active and historical swaps with trade reasoning - Deposit or withdraw funds to/from the agent’s vault - API and onchain command examples included for all major actions - Requires environment variable DX_TERMINAL_PRIVATE_KEY for authentication
元数据
Slug dx-terminal-pro-skill
版本 0.1.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Dx Terminal Pro 是什么?

Manage a DX Terminal Pro trading agent. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 479 次。

如何安装 Dx Terminal Pro?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dx-terminal-pro-skill」即可一键安装,无需额外配置。

Dx Terminal Pro 是免费的吗?

是的,Dx Terminal Pro 完全免费(开源免费),可自由下载、安装和使用。

Dx Terminal Pro 支持哪些平台?

Dx Terminal Pro 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Dx Terminal Pro?

由 octal.eth(@octal-crypto)开发并维护,当前版本 v0.1.0。

💬 留言讨论