Hyperliquid Prime for Openclaw

A specialized prime broker layer for Hyperliquid that provides intelligent order routing and liquidity aggregation across native and HIP-3 perp markets.

mehranhydary
v0.1.4
Feb 13, 2026
2
2.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install hyperliquid-prime

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install hyperliquid-prime using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Hyperliquid Prime?

Hyperliquid Prime functions as a sophisticated developer-first layer for the Hyperliquid ecosystem. It bridges the gap between fragmented liquidity pools by acting as a prime broker, allowing users to trade crypto, stocks, and commodities with optimal execution. By integrating this into Openclaw Skills, developers can automate complex trading strategies that involve multiple collateral types and cross-market splitting.

The skill simplifies the complexity of HIP-3 markets by providing a unified interface for market discovery and execution. It handles the heavy lifting of calculating price impact and funding rates, ensuring that every trade is routed to the most efficient venue. This makes it an essential component of any trading-focused implementation of Openclaw Skills where slippage reduction and capital efficiency are priorities.

Hyperliquid Prime Use Cases

  • Executing large trades across multiple perp markets to minimize price impact.
  • Automating collateral swaps between USDC, USDH, and USDT0 for better liquidity access.
  • Comparing real-time funding rates across native and HIP-3 markets to optimize carry costs.
  • Viewing aggregated orderbooks for assets like TSLA, AAPL, or BTC across fragmented venues.
  • Managing a unified portfolio of positions spread across different collateral tiers.

How Hyperliquid Prime Works

  1. The system fetches live orderbook data for all available markets associated with a specific asset, including native and HIP-3 deployer markets.
  2. It simulates trade execution against each book to estimate average fill prices, slippage, and price impact.
  3. A multi-factor scoring algorithm evaluates the results based on price impact, funding rates, and potential collateral swap costs.
  4. The router generates a detailed execution plan, which can either target a single optimal market or split the order across several venues.
  5. Upon explicit execution call, the skill performs necessary on-chain actions, including fee approvals, collateral swaps via DEX abstraction, and final order placement.

Hyperliquid Prime Setup

To get started with this addition to your Openclaw Skills library, install the package via npm:

npm install hyperliquid-prime

Configure your environment by setting your private key for trading operations:

export HP_PRIVATE_KEY=0xyour_private_key_here

For read-only operations like market discovery, quoting, or funding comparisons, no wallet configuration or private key is required.

Hyperliquid Prime Data Schema & Taxonomy

The skill organizes data around assets, execution plans, and account state. The following table describes the primary data structures:

Entity Description
Market Metadata Contains asset name, collateral type, and market tier (Native vs HIP-3).
Execution Plan A structured object containing routing legs, estimated prices, and required collateral swaps.
Grouped Positions A summary of all open trades aggregated by the base asset for easier management.
Funding Report A comparison table of hourly and yearly funding rates across all available venues.

Hyperliquid Prime Advanced Features

  • Automated DEX abstraction for seamless USDC transfers between perp and spot accounts during execution.
  • Intelligent Split Order logic that greedily consumes the cheapest liquidity across the entire ecosystem to lower average entry price.
  • Native builder fee integration with automatic on-chain approval workflows for the first transaction.
  • Comprehensive CLI toolset for headless market analysis, orderbook viewing, and position management.
  • Customizable slippage buffers and flexible leverage settings supporting both cross and isolated margin per execution leg.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*