AgentSkillsCN

stats

确定性钱包仪表板。/stats 展示用户钱包(Hyperliquid + DB 备份)的实时权益、敞口、持仓与健康状况,并重点提示任何缺失的止损/止盈设置。

SKILL.md
--- frontmatter
name: stats
description: Deterministic wallet dashboard. `/stats` shows live equity/exposure/positions/health for the user wallet (Hyperliquid + DB fallback) and highlights any missing SL/TP.
user-invocable: true
metadata: {"openclaw":{"requires":{"bins":["python3"]}}}

/stats (deterministic, live-first)

Goal: one-shot snapshot of the user wallet.

  • Live-first: fetch from Hyperliquid API.
  • DB fallback only when live fetch fails.

Run:

bash
python3 scripts/generate_stats.py

Options:

  • --wallet 0x... (defaults to HYPERLIQUID_ADDRESS)
  • --db /path/to/evclaw/ai_trader.db

Output: compact, actionable, normie-friendly.