hyperliquid
Read-only Hyperliquid market data assistant (perps + spot optional) with support for natural-language requests and deterministic command parsing (terminal-style `hl ...` and slash-style `/hl ...`). Use to fetch quotes (mark/mid/oracle/funding/OI/volume), top movers, funding rankings, L2 order book, and candle snapshots via https://api.hyperliquid.xyz/info, and to format results for chat.
Best use case
hyperliquid is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Read-only Hyperliquid market data assistant (perps + spot optional) with support for natural-language requests and deterministic command parsing (terminal-style `hl ...` and slash-style `/hl ...`). Use to fetch quotes (mark/mid/oracle/funding/OI/volume), top movers, funding rankings, L2 order book, and candle snapshots via https://api.hyperliquid.xyz/info, and to format results for chat.
Teams using hyperliquid should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/hyperliquid/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How hyperliquid Compares
| Feature / Agent | hyperliquid | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Read-only Hyperliquid market data assistant (perps + spot optional) with support for natural-language requests and deterministic command parsing (terminal-style `hl ...` and slash-style `/hl ...`). Use to fetch quotes (mark/mid/oracle/funding/OI/volume), top movers, funding rankings, L2 order book, and candle snapshots via https://api.hyperliquid.xyz/info, and to format results for chat.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Hyperliquid (read-only) Implement read-only market-data queries for Hyperliquid using the **Info** HTTP endpoint: - `POST https://api.hyperliquid.xyz/info` - `Content-Type: application/json` Prefer **HTTP snapshot** flows for v1. WebSocket streaming can be added later. ## Supported user input styles Treat these as equivalent: - Natural language: “Hyperliquid quote BTC”, “top movers 24h”, “book ETH”, “1h candles for SOL last 48” - Terminal style: `hl quote BTC`, `hl movers --top 10 --window 24h` - Slash style: `/hl quote BTC`, `/hl overview` Parse `/hl` and `hl` first (deterministic). If no prefix, fall back to intent extraction from natural language. ## Canonical commands (v1) Market data: - `quote <coin>`: show mark/mid/oracle, 24h change (prevDayPx), 24h notional volume, open interest (perps), funding (perps), premium, impact prices - `movers [--window 24h] [--top N]`: rank by 24h % change (markPx vs prevDayPx) - `funding-top|funding-bottom [--n N]`: rank by funding (perps only) - `book <coin>`: show top 20 levels per side (and spread) - `candles <coin> --interval <1m|...|1M> (--last N | --start <ms> --end <ms>)` - `overview`: concise dashboard: top movers, top funding, top OI, top volume Account (read-only): - `positions <HL:0x..|0x..|label>`: show perp positions + margin summary - `balances <HL:0x..|0x..|label>`: show spot balances - `orders <HL:0x..|0x..|label>`: show open orders - `fills <HL:0x..|0x..|label> [--n N]`: show recent fills Saved account aliases (stored locally in `~/.clawdbot/hyperliquid/config.json`): - `account list` - `account add "sub account 1" HL:0x... [--default]` - `account remove "sub account 1"` - `account default "sub account 1"` Natural language equivalents should work too: - “store this address HL:0x... as sub account 1” - “show me positions of sub account 1” ## Data sources Perpetuals: - `metaAndAssetCtxs` (preferred): universe + asset contexts for all perps - `l2Book` - `candleSnapshot` Spot (optional later): - `spotMetaAndAssetCtxs`, `spotMeta` See `references/hyperliquid-api.md` for request bodies and field meanings. ## Implementation guidance Use the bundled scripts: - `scripts/hyperliquid_api.mjs`: thin HTTP client + helpers (safe defaults, timeouts) - `scripts/hyperliquid_chat.mjs`: parses user text into an intent + args, calls API helpers, and prints a compact chat-friendly response When responding: - Prefer short bullet output. - Show units and timeframes. - Handle missing fields gracefully (e.g., midPx sometimes null). ## Quick manual test Run locally: ```bash node skills/hyperliquid/scripts/hyperliquid_chat.mjs "hl quote BTC" node skills/hyperliquid/scripts/hyperliquid_chat.mjs "/hl movers --top 5" ```
Related Skills
hyperliquid-prime
Trade on Hyperliquid's perp markets (native + HIP-3) with intelligent order routing and cross-market splitting. Use when the user wants to trade crypto, stocks, or commodities on Hyperliquid, get best execution across fragmented markets, split large orders across multiple venues, compare funding rates, view aggregated orderbooks, or manage positions across multiple collateral types. Routes across both native HL perps (ETH, BTC) and HIP-3 deployer markets. Handles collateral swaps (USDC→USDH/USDT0) automatically during execution when the best liquidity requires it.
hyperliquid-perps
Paper and live perpetual futures trading on Hyperliquid. Smart leverage (1x/3x/5x based on signal strength), OBV divergence, auto-stop-loss. Use for Hyperliquid trading, perp automation, or leverage management.
hyperliquid-mcp-server
🔗 Connect Claude Code to the power of Hyperliquid DEX with the fully implemented Model Context Protocol (MCP) server for seamless interactions.
hyperliquid-analyzer
Analyze Hyperliquid market data and provide trading insights. Real-time price monitoring, trend analysis, and risk assessment.
8004-skill
ERC-8004 Trustless Agents - Register and manage AI agent identities on TRON and BSC blockchains with on-chain reputation tracking
8004-MCP - Agent Registry Protocol
Multi-chain MCP server for ERC-8004 Agent Registry. Query agents, reputation, and feedback across Solana + EVM chains.
supurr
Backtest, deploy, and monitor trading bots on Hyperliquid. Supports Grid, DCA, and Spot-Perp Arbitrage strategies across Native Perps, Spot markets (USDC/USDH), and HIP-3 sub-DEXes.
senpi-skills
Agent Skills for autonomous crypto trading on Hyperliquid — trailing stops, market scanning, position management, and more.
sdks
Official Azex SDKs — TypeScript, Python, MCP Server, CLI for the crypto-native LLM API gateway
perp-cli
Multi-DEX perpetual futures CLI + MCP server — Pacifica (Solana), Hyperliquid, Lighter (Ethereum). 18 MCP tools for AI-powered trading
okx-exchange-websocket-skill
Subscribe to OKX public exchange WebSocket channels through UXC raw WebSocket mode for ticker, trade, book, and candle events with explicit subscribe frames.
okx-wallet-portfolio
This skill should be used when the user asks to 'check my wallet balance', 'show my token holdings', 'how much OKB do I have', 'what tokens do I have', 'check my portfolio value', 'view my assets', 'how much is my portfolio worth', 'what\'s in my wallet', or mentions checking wallet balance, total assets, token holdings, portfolio value, remaining funds, DeFi positions, or multi-chain balance lookup. Supports XLayer, Solana, Ethereum, Base, BSC, Arbitrum, Polygon, and 20+ other chains. Do NOT use for general programming questions about balance variables or API documentation. Do NOT use when the user is asking how to build or integrate a balance feature into code.