hyperliquid-reader skill
✓ VerifiedFetches read-only market data from Hyperliquid DEX including perp/spot prices, funding rates, order books, and OHLCV candles.
- GitHub stars
- 3,526
- Files
- 3
- Last commit
- Nov 4, 2026
- License
- MIT
- Allowed tools
- —
What does the hyperliquid-reader skill do?
hyperliquid-reader fetches read-only market data from Hyperliquid DEX including perp/spot prices, funding rates, order books, and OHLCV candles.
Summary generated from the skill's SKILL.md.
About the hyperliquid-reader skill
Fetching real-time market data from the Hyperliquid decentralized exchange is what this skill enables for traders and analysts. It provides access to read-only information including perpetual and spot prices, funding rates, open interest, and order book depth. By utilizing the opencli tool and its specific Hyperliquid plugin, an agent can retrieve structured data such as OHLCV candles and historical funding rates without requiring an API key or wallet connection.
Users can employ this tool to monitor market health through volume and 24h price changes or to identify arbitrage opportunities by comparing Hyperliquid funding rates against Binance and Bybit. The skill produces data in various formats including JSON, Markdown, and CSV, making it suitable for both human-readable reports and programmatic analysis. Because it relies on a public info API, it is strictly limited to market data and cannot perform account operations, order placements, or fund transfers.
Written from the skill's SKILL.md. Every use case is checked against a quote from it.
How to install the hyperliquid-reader skill
Each command copies the skill folder into the client's skills directory. Restart the client or start a new session to load it.Install the hyperliquid-reader skill in Plugin
/plugin marketplace add himself65/finance-skills /plugin install finance-data-providers@finance-skills
Install the hyperliquid-reader skill in Claude Code
~/.claude/skills/hyperliquid-reader/SKILL.md
$ npx degit himself65/finance-skills/plugins/data-providers/skills/hyperliquid-reader ~/.claude/skills/hyperliquid-readerInstall the hyperliquid-reader skill in Claude Code (project)
.claude/skills/hyperliquid-reader/SKILL.md
$ npx degit himself65/finance-skills/plugins/data-providers/skills/hyperliquid-reader .claude/skills/hyperliquid-readerInstall the hyperliquid-reader skill in Codex
~/.agents/skills/hyperliquid-reader/SKILL.md
$ npx degit himself65/finance-skills/plugins/data-providers/skills/hyperliquid-reader ~/.agents/skills/hyperliquid-readerInstall the hyperliquid-reader skill in Gemini CLI
~/.gemini/skills/hyperliquid-reader/SKILL.md
$ npx degit himself65/finance-skills/plugins/data-providers/skills/hyperliquid-reader ~/.gemini/skills/hyperliquid-readerInstall the hyperliquid-reader skill in Claude.ai
npx degit himself65/finance-skills/plugins/data-providers/skills/hyperliquid-reader hyperliquid-reader && zip -r hyperliquid-reader.zip hyperliquid-reader # claude.ai → Customize → Skills → + → Create skill → Upload a skill → hyperliquid-reader.zip
Automated checks
Ran Nov 14, 2026Full report →Passed our automated checks. That is not a security audit: read the scripts before you let an agent run them. How checks work
- Source repository linked and reachablehimself65/finance-skills/plugins/data-providers/skills/hyperliquid-reader is public and reachablegithub.com/himself65/finance-skills/tree/HEAD/plugins/data-p ↗Pass
- Open source license (OSI)MITspdx.org/licenses/MIT.html ↗Pass
- Commit or release in the last yearLast commit 2026-11-04github.com/himself65/finance-skills/commits ↗Pass
- No download-and-run or credential theft in scriptsNo scripts in the skill folderPass
- No hidden instructions in SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/himself65/finance-skills/blob/HEAD/plugins/data-p ↗Pass
- Pre-approved tools are scopedNo pre-approved tools; the agent asks before using onegithub.com/himself65/finance-skills/blob/HEAD/plugins/data-p ↗Pass
SKILL.md
View on GitHubHyperliquid Reader (Read-Only)
If your host has not already executed the shell probes below (for example, in Codex), run the commands inside the ! wrappers with its shell tool before choosing a setup path. Use the actual output; if shell access is unavailable, report that limitation.
Reads Hyperliquid — the on-chain perps/spot DEX — for market data via opencli and the hyperliquid plugin in this repo's opencli-plugins/hyperliquid tree (a separate plugin from opencli's built-in adapters, installed via opencli's monorepo subpath syntax).
This skill is read-only and market-data only. It reads Hyperliquid's fully public info API for analysis: market tables, funding, order book, and candles. It does NOT read individual accounts, place/modify/cancel orders, or move funds. There is no trading path in the plugin — order placement requires wallet-signed actions on a separate endpoint this adapter never calls.
How it works: every command issues a single POST https://api.hyperliquid.xyz/info with a { "type": "..." } body and normalizes the response. No API key, no wallet, no login, no running app — the info API is public.
Step 1: Ensure opencli + Plugin Are Installed and Ready
Current environment status:
!`(command -v opencli && opencli hyperliquid markets --coin BTC -f json 2>&1 | head -3 && echo "READY" || echo "SETUP_NEEDED") 2>/dev/null || echo "NOT_INSTALLED"`
If the status above shows READY, skip to Step 2. Otherwise:
NOT_INSTALLED — Install opencli
npm install -g @jackwener/opencli
Requires Node.js >= 24 — the hyperliquid plugin declares engines.node >= 24.
SETUP_NEEDED — Install the Hyperliquid plugin
The Hyperliquid adapter is not built into opencli — it's a separate plugin:
opencli plugin install github:himself65/finance-skills/hyperliquid
That's the entire setup — no auth, no launch step. Verify with opencli hyperliquid markets --coin BTC.
Common setup issues
| Symptom | Fix |
|---|---|
opencli: command not found |
npm install -g @jackwener/opencli (Node ≥ 24) |
Unknown command: hyperliquid |
opencli plugin install github:himself65/finance-skills/hyperliquid |
hyperliquid info 429 |
Rate limited — wait a few seconds and retry |
Step 2: Identify What the User Needs
| User Request | Command | Key Flags |
|---|---|---|
| Perp markets overview / top by volume | opencli hyperliquid markets |
--sort, --limit, --coin |
| One perp's price + funding + OI | opencli hyperliquid markets --coin BTC |
— |
| Spot pairs overview | opencli hyperliquid spot-markets |
--sort, --limit, --pair, --canonical-only |
| All current mid prices | opencli hyperliquid mids |
--coin <substring> |
| Order book for a coin | opencli hyperliquid book --coin ETH |
--depth, --n-sig-figs |
| OHLCV candles | opencli hyperliquid candles --coin BTC --interval 1h |
--limit |
| Historical funding for a coin | opencli hyperliquid funding-history --coin BTC |
--hours, --limit |
| Funding arb: HL vs Binance vs Bybit | opencli hyperliquid funding-compare |
--coin, --sort, --limit |
Step 3: Execute the Command
General pattern
# Use -f json or -f yaml for structured output
opencli hyperliquid markets --sort fundingAprPct --limit 15 -f json
opencli hyperliquid funding-compare --sort hlVsBinancePct --limit 20 -f md
opencli hyperliquid candles --coin BTC --interval 4h --limit 50 -f csv
opencli hyperliquid book --coin ETH --depth 5 -f json
Key rules
- Coin symbols are bare perp names —
BTC,ETH,SOL,HYPE(no exchange prefix). Spot pairs areBASE/USDC(e.g.PURR/USDC); forbook/candlesyou can pass either a perp coin or a spot pair. marketsis the default lens for "how is X / the market doing" — it carries mark/oracle/mid price, 24h change, hourly funding + APR, open interest (coins and notional), and 24h volume in one row per perp. Filter with--coinfor a single asset.- Funding is reported two ways —
fundingHrPctis the raw hourly rate as a percent;fundingAprPctannualizes it (hourly × 24 × 365). Lead with APR when comparing carry across assets; use the hourly figure for "what will I pay next hour". funding-compareis the funding-arb screen — it annualizes each venue with its own interval (HL hourly, Binance/Bybit usually 4h) and reportshlVsBinancePct/hlVsBybitPctspreads. Default sort ranks by absolute HL-vs-Binance spread (widest dislocations first). A positivehlVsBinancePctmeans HL longs pay more than Binance longs.bookdefaults to 10 levels per side — raise--depth(max 20) for more, or--n-sig-figs 2..5to aggregate price levels. Compute the spread/mid from the top bid and ask.candlespulls the most recent--limitcandles of--interval(default1h, 100 candles). Valid intervals:1m 3m 5m 15m 30m 1h 2h 4h 8h 12h 1d 3d 1w 1M. Max 5000.-f jsonfor programmatic processing / feeding other skills;-f mdor-f tablefor human-readable output.- Read-only market data. No account reads, no order placement, modification, or cancellation, and no transfers — the plugin intentionally exposes no write endpoints, so don't look for workarounds.
Output format flag (-f)
| Format | Flag | Best for |
|---|---|---|
| Table | -f table (default) |
Human-readable terminal output |
| JSON | -f json |
Programmatic processing, LLM context |
| YAML | -f yaml |
Structured, readable |
| Markdown | -f md |
Reports |
| CSV | -f csv |
Spreadsheet export |
Output columns
markets—coin,markPx,midPx,oraclePx,change24hPct,fundingHrPct,fundingAprPct,openInterest,oiNotional,dayNtlVlm,premiumPct,maxLeveragespot-markets—pair,base,markPx,midPx,change24hPct,dayNtlVlm,circulatingSupply,marketCap,canonicalmids—coin,midbook—side,level,px,sz,orderscandles—time,open,high,low,close,volume,tradesfunding-history—coin,fundingRatePct,fundingAprPct,premiumPct,timefunding-compare—coin,hlAprPct,binanceAprPct,bybitAprPct,hlVsBinancePct,hlVsBybitPct,nextHlFunding
Step 4: Present the Results
- Lead with the headline number, then the table. For
markets --coin BTC: state mark price, 24h change, funding APR, and open interest in prose first. For a fullmarketsdump: lead with the count and the top movers / highest-funding names. - Frame funding in carry terms — e.g. "BTC perp funding is +10.9% APR (longs pay shorts)". Positive funding ⇒ longs pay shorts; negative ⇒ shorts pay longs.
- For
funding-compare, surface the widest dislocations first — name the coin, both venues' APRs, and the spread, and remember the spread is annualized; a real arb also pays exchange/withdrawal frictions, so present it as a screen, not a guaranteed edge. - For
book, report the spread — best bid, best ask, mid, and spread in bps before (or instead of) dumping every level. Don't paste 20 levels unless asked. - For
candles, describe the move — first/last close, high/low, and direction; only show the full OHLCV table when the user wants the series. - Filter aggressively before showing —
marketshas ~180 perps andmids~700 markets; cap to top 15-20 by the relevant sort unless the user asks for the full list. - Cross-reference for trade decisions — Hyperliquid is the on-chain venue; for equities/options context pair it with the
tradingview-readerskill. For funding/basis trades,funding-compareplusmarkets(premium, OI) is the core view.
Step 5: Diagnostics
opencli hyperliquid markets --coin BTC
A successful BTC row confirms opencli, the plugin, and the public API are all reachable. If it errors with Unknown command: hyperliquid, reinstall the plugin (Step 1). A hyperliquid info 4xx/5xx is an upstream API issue — retry after a short wait.
Error Reference
| Error | Cause | Fix |
|---|---|---|
Unknown command: hyperliquid |
Plugin not installed | opencli plugin install github:himself65/finance-skills/hyperliquid |
hyperliquid info 429 |
Rate limited | Wait a few seconds, then retry |
hyperliquid info 422/500 |
Malformed body or upstream issue | Re-check the coin/interval; retry after a wait |
No perp market for coin "X" |
Wrong/unlisted symbol | Run opencli hyperliquid markets (or mids) to find the exact symbol |
Reference Files
references/commands.md— Every command with all flags, output schemas, and analyst workflows (funding carry, basis/arb, spot snapshot)
Files in this skill
3hyperliquid-reader skill questions
How do I install the hyperliquid-reader skill in Claude Code?
Run npx degit himself65/finance-skills/plugins/data-providers/skills/hyperliquid-reader ~/.claude/skills/hyperliquid-reader. Claude Code loads skills from ~/.claude/skills (all projects) or .claude/skills (one project) and uses a skill when its description matches the task.
Which clients can use the hyperliquid-reader skill?
Any client that reads the Agent Skills format: Claude Code, Codex, Gemini CLI and claude.ai (upload as a ZIP). Scripts in the skill run only where the client allows code execution.
Is this skill capable of executing trades?
No, this skill is strictly read-only and provides market data only. It does not support account access, order placement, or fund transfers.
Does using this skill require an API key or wallet?
No, the skill uses Hyperliquid's public info API, which requires no authentication, API keys, or wallet connections.
How can I compare Hyperliquid funding rates with other exchanges?
You can use the funding-compare command to see annualized funding rate spreads between Hyperliquid, Binance, and Bybit.