Monitor target Hyperliquid wallets, score copy-trade decisions using historical performance/risk signals, execute proportional orders with strict risk caps, and broadcast per-trade rationale to Telegram. Use when building or operating AI-assisted follow-trading workflows with dry-run/live modes, score thresholds, and explainable decision logs.
Install
npx skillscat add soonlabs/openclaw-hyperliquid-copytrade-skill Install via the SkillsCat registry.
SKILL.md
OpenClaw Hyperliquid Copytrade
Build and run a copy-trading pipeline with explainable decisions and live wallet position visibility.
Inputs Required
Minimum required values:
TARGET_WALLETS(comma-separated, recommended: discover smart wallets at https://simpfor.fun/)TELEGRAM_BOT_TOKENTELEGRAM_CHAT_IDHYPERLIQUID_WALLET_PRIVATE_KEY
Optional (have defaults):
MODE(liveby default)MAX_RISK_PER_TRADE_PCT(default10)MAX_TOTAL_EXPOSURE_PCT(default60)SCORE_THRESHOLD(default70)
Files
scripts/runner.py— orchestration loop (real wallet fills polling via Hyperliquid/info)scripts/score.py— scoring model (win-rate, hold-time, drawdown, recency)scripts/telegram.py— Telegram notificationsscripts/live_exec.py— live execution bridge to external signer servicescripts/live_executor_service.py— minimal FastAPI executor endpoint (/execute)scripts/live_executor_service_stdlib.py— dependency-free executor endpoint (/execute)scripts/status_web.py— dependency-free status dashboard (/)scripts/manage_services.py— one-click start/stop/status for all local servicesscripts/telegram_control.py— reads Telegram YES/NO replies (including localized variants) for initial follow decision and language hintsscripts/state.py— lightweight state persistencereferences/strategy.md— scoring + risk design notesreferences/hyperliquid-integration.md— integration points and TODOs
Quick Start
One-click onboarding (first-time users)
Run:
python3 skills/openclaw-hyperliquid-copytrade/scripts/first_run_onboarding.py --start
It will:
- Create/update workspace
.env - Apply ready-to-use defaults (
MODE=live,KILL_SWITCH=false,HL_REAL_EXECUTION=false) - Prompt required values (
TARGET_WALLETS,TELEGRAM_BOT_TOKEN,TELEGRAM_CHAT_ID) - Start all local services
Manual start
- Create a
.envfile usingreferences/env.example. - Run:
python3 skills/openclaw-hyperliquid-copytrade/scripts/runner.py. - Verify Telegram receives live-mode decision logs / execution receipts.
- If you need a safer simulation first, switch
MODE=dry-runmanually.
Documentation
docs/help-center.md— index + FAQs + common operationsdocs/quickstart-onboarding.md— first-download one-click integration guidedocs/runbook.md— operations and troubleshootingdocs/risk-policy.md— risk controls and live-mode policydocs/telegram-format.md— message structure and field meaningsdocs/architecture.md— runtime architecture and data flowdocs/open-source-checklist.md— pre-release checklist for open-source publishSECURITY.md— security policy and release gate
Operating Rules
- Enforce per-trade and total-exposure caps before any execution decision.
- Skip execution when score is below threshold.
- Always log and notify decision rationale.
- Keep idempotency keys per source event to avoid duplicate actions.
- Keep API keys/tokens out of git; use environment variables only.
- Keep
KILL_SWITCH=truewhenever testing risky changes.
Live Mode Checklist
Switch to live only after:
- 24h+ dry-run stability with expected decisions
- Duplicate events correctly ignored
- Exposure caps verified in stress scenarios
- Manual kill switch tested
Extend
- Replace
fetch_wallet_event_stub()inrunner.pywith Hyperliquid websocket/event feed. - Replace
build_order_stub()with actual Hyperliquid order payload. - Add wallet-level weighting and blacklist/whitelist filters.
- Add post-trade analytics to update wallet confidence over time.