← Back to Skills Marketplace
jarviyin

Hypii Hyperliquid Trader

by JIAWEI YIN · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
386
Downloads
0
Stars
4
Active Installs
1
Versions
Install in OpenClaw
/install hypii-hyperliquid-trader
Description
Hypii AI Trading Agent for Hyperliquid perpetual futures. Automated trading strategies with SkillPay micropayment integration. Features: - DCA (Dollar Cost A...
README (SKILL.md)

🤖 Hypii Hyperliquid Trading Agent

AI-powered trading strategies for Hyperliquid perpetual futures with integrated SkillPay billing.

Features

  • 📊 Portfolio Management - View balances, positions, and P&L
  • 💰 Price Queries - Real-time price data for any coin
  • 📈 DCA Strategy - Automated dollar-cost averaging
  • 🔲 Grid Trading - Range-bound automated trading
  • 🤖 AI Signals - Trend analysis and trading signals
  • 🚀 Auto Trading - Execute trades directly through the agent

Pricing

Feature Price Description
Free Tier $0 5 calls per day (portfolio, price queries)
Basic Call 0.01 USDT Simple queries and data retrieval
Strategy 0.05 USDT DCA, Grid, Signal generation
Auto Trade 0.1 USDT Execute live trades
Pro Monthly 19.9 USDT Unlimited everything

Setup

Prerequisites

  1. Hyperliquid account with funds
  2. SkillPay API key (for billing)
  3. Private key (for trading operations)

Environment Variables

# Required for billing
export SKILLPAY_API_KEY="your_skillpay_api_key"

# For read-only operations
export HYPERLIQUID_ADDRESS="0x..."

# For trading operations
export HYPERLIQUID_PRIVATE_KEY="0x..."

# Optional: Use testnet
export HYPERLIQUID_TESTNET="1"

Installation

# Install dependencies
cd skills/hypii-hyperliquid-trader && npm install

# The skill will be automatically loaded by OpenClaw

Usage

Free Commands (5 per day)

# View portfolio
node index.js portfolio

# Get price
node index.js price BTC

Strategy Commands (0.05 USDT)

# Create DCA strategy
node index.js dca --coin BTC --amount 100 --frequency daily --orders 10

# Create Grid strategy
node index.js grid --coin ETH --lower 2000 --upper 3000 --grids 10 --investment 1000

# Get AI signal
node index.js signal BTC

Trading Commands (0.1 USDT + requires private key)

# Market buy
node index.js buy BTC 0.1

# Market sell
node index.js sell ETH 1.0

# Limit order
node index.js trade --coin BTC --side buy --size 0.1 --price 45000 --type limit

API Reference

Handler Input Format

{
  action: 'portfolio' | 'price' | 'dca' | 'grid' | 'signal' | 'trade' | 'buy' | 'sell',
  // Action-specific parameters
  coin: 'BTC',           // For price, signal, trade
  amount: 100,           // For DCA
  frequency: 'daily',    // For DCA: 'hourly', 'daily', 'weekly'
  totalOrders: 10,       // For DCA
  lowerPrice: 2000,      // For Grid
  upperPrice: 3000,      // For Grid
  grids: 10,             // For Grid
  totalInvestment: 1000, // For Grid
  side: 'buy',           // For trade: 'buy' | 'sell'
  size: 0.1,             // For trade
  orderType: 'market',   // For trade: 'market' | 'limit'
  price: 45000           // For limit orders
}

Response Format

{
  success: true,
  free: false,           // Whether this was a free call
  remaining: 3,          // Free calls remaining (if applicable)
  charged: 0.05,         // Amount charged in USDT
  data: { ... },         // Response data
  message: "..."         // Human-readable message
}

Safety Features

  • Slippage Protection - Market orders use 5% slippage protection
  • Position Sizing Warnings - Alerts for large positions (>20% of equity)
  • Price Validation - Warns if limit orders are >5% from market price
  • Free Tier - Try before you pay
  • Transparent Billing - Clear pricing before each operation

Architecture

┌─────────────────────────────────────────────────────────────┐
│  User Request                                                │
│     ↓                                                        │
│  ┌─────────────────┐                                         │
│  │ Billing Check   │ ← Free tier or SkillPay charge          │
│  └─────────────────┘                                         │
│     ↓                                                        │
│  ┌─────────────────────────────────────────────────────────┐│
│  │ Hypii Strategy Engine                                    ││
│  │  ├─ DCA Strategy                                         ││
│  │  ├─ Grid Strategy                                        ││
│  │  ├─ Trend Analysis                                       ││
│  │  └─ Risk Management                                      ││
│  └─────────────────────────────────────────────────────────┘│
│     ↓                                                        │
│  ┌─────────────────┐                                         │
│  │ Hyperliquid SDK │ ← Execute trades                       │
│  └─────────────────┘                                         │
│     ↓                                                        │
│  Response with billing info                                  │
└─────────────────────────────────────────────────────────────┘

Roadmap

  • Advanced AI models for signal generation
  • Backtesting engine
  • Multi-strategy portfolio management
  • Social trading features
  • Mobile app integration

Support

  • GitHub Issues: [Report bugs or request features]
  • Discord: [Join our community]
  • Email: [email protected]

License

MIT License - See LICENSE file for details

Disclaimer

Trading cryptocurrencies involves significant risk. This tool is for educational and automation purposes. Always do your own research and never trade more than you can afford to lose.

Usage Guidance
This package implements a live trading agent and billing; do NOT run it with real private keys or real funds as-is. Specific actions to consider before installing or running: 1) Do not set HYPERLIQUID_PRIVATE_KEY, X402_PRIVATE_KEY, or SKILLPAY_API_KEY in a shell with real funds until you review and sanitize the code. 2) Inspect and remove or rotate any hard-coded private keys or addresses present in the repository — treat them as compromised. 3) Run everything first on a testnet with HYPERLIQUID_TESTNET=1 and with a throwaway wallet. 4) Avoid executing the scripts named execute-trade*.mjs, final-trade.mjs, or any test-*.mjs files unless you understand and control the wallet keys they use. 5) Confirm the payment recipient addresses (X402_RECIPIENT_ADDRESS) and SkillPay endpoints are what you expect; don’t pay until verified. 6) Prefer to provide private keys via secure vaults/secret managers and use read-only operations where possible. 7) If you are not comfortable auditing Node.js code, do not install this skill with funds under your control or ask a trusted developer/security reviewer to audit/clean the repo first.
Capability Analysis
Type: OpenClaw Skill Name: hypii-hyperliquid-trader Version: 1.0.0 The skill bundle contains multiple scripts (e.g., execute-trade.mjs, trade-final.mjs, final-trade.mjs) with a hardcoded Ethereum private key (0xd6b7d8aa2934c7187372a877ad6856e80fce6b87119693d8fef83fcfbdc0b02e), which is a major security risk and indicates an uncleaned development environment. While the main entry point (index.js) correctly utilizes environment variables for user credentials and implements a legitimate-looking micropayment billing system (SkillPay/x402), the presence of numerous 'live trade' test scripts and explicit mentions of exposed keys in check-balance.mjs are highly irregular for a production-ready skill. No evidence of intentional exfiltration of the user's own HYPERLIQUID_PRIVATE_KEY was found, but the inclusion of hardcoded credentials and broad filesystem/network permissions makes the bundle high-risk.
Capability Assessment
Purpose & Capability
The code implements trading (Hyperliquid SDK), billing (SkillPay and x402) and strategy logic which matches the description. However the registry metadata claims no required environment variables while SKILL.md and the code clearly expect HYPERLIQUID_PRIVATE_KEY, SKILLPAY_API_KEY, and optional X402_* variables. That mismatch (metadata vs runtime requirements) is an incoherence buyers should notice.
Instruction Scope
SKILL.md instructs users to export private keys and API keys and to run node index.js commands — those are expected for a trading agent. The problem: multiple repository scripts (execute-trade.mjs, execute-trade-v2.mjs, final-trade.mjs, test-fixed.mjs, etc.) contain hard-coded PRIVATE_KEY constants and addresses and will perform live trades if executed. These embedded scripts extend runtime behavior beyond what a user might expect from the documented CLI (they can execute real trades using repository-embedded keys).
Install Mechanism
There is no custom install step beyond 'npm install' and dependencies come from the public npm registry (axios, hyperliquid, viem). No remote download/extract URLs or unusual install mechanisms were observed.
Credentials
Requesting a Hyperliquid private key and a SkillPay / x402 API key is proportionate to a trading+billing skill. However: (1) the registry lists no required env vars while SKILL.md and code require them; (2) the repository contains hard-coded private key strings and fixed addresses in multiple files — embedding private keys in source is a major security red flag (leakage risk, unknown ownership of the keys, potential for funds to be moved).
Persistence & Privilege
The skill is not always-on and does not declare elevated platform privileges. It does perform billing and trade operations when invoked but does not modify other skills or agent configs. Note: autonomous invocation is allowed by default — combined with the other concerns this increases blast radius if the skill is given permission to act.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install hypii-hyperliquid-trader
  3. After installation, invoke the skill by name or use /hypii-hyperliquid-trader
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of Hypii Hyperliquid Trading Agent. - AI-powered automated trading strategies for Hyperliquid perpetual futures - Supports DCA and Grid trading, AI-generated signals, and portfolio management - Integrated with SkillPay for transparent, micro-transaction billing - 5 free calls per day, with tiered pricing for additional features and Pro access - Slippage and position risk protections included for safer trading - Simple command-line and API usage with clear input and output formats
Metadata
Slug hypii-hyperliquid-trader
Version 1.0.0
License
All-time Installs 4
Active Installs 4
Total Versions 1
Frequently Asked Questions

What is Hypii Hyperliquid Trader?

Hypii AI Trading Agent for Hyperliquid perpetual futures. Automated trading strategies with SkillPay micropayment integration. Features: - DCA (Dollar Cost A... It is an AI Agent Skill for Claude Code / OpenClaw, with 386 downloads so far.

How do I install Hypii Hyperliquid Trader?

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

Is Hypii Hyperliquid Trader free?

Yes, Hypii Hyperliquid Trader is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Hypii Hyperliquid Trader support?

Hypii Hyperliquid Trader is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Hypii Hyperliquid Trader?

It is built and maintained by JIAWEI YIN (@jarviyin); the current version is v1.0.0.

💬 Comments