Skip to main content
skill CX Codex

grimoire-hyperliquid — Claude Code skill: Hyperliquid market data

A skill that lets your agent pull Hyperliquid market data through the Grimoire CLI: mids, order books, metadata, open orders. Withdrawals too, when asked.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add franalgaba/grimoire --skill grimoire-hyperliquid -a claude-code
Open on GitHub

What grimoire-hyperliquid does

The skill wires the Grimoire venue CLI into your agent under grimoire venue hyperliquid. Read-only calls cover mids for perp mid prices, l2-book --coin <symbol>, open-orders --user <address>, plus meta and spot-meta. The -snapshot variants emit params: blocks for spell inputs and are meant for the agent alone — interactive output is suppressed.

Run grimoire venue doctor --adapter hyperliquid --json first. The withdraw command is stateful: it wants HYPERLIQUID_PRIVATE_KEY in the environment, a keystore, and a clear confirmation from you. Orders go through a custom action with op: "order"; accepted TIF values are Gtc, Ioc, Alo and FrontendMarket. Runtime constraints such as max_slippage are not supported — order parameters get checked at the adapter boundary instead.

To compare symbols by midpoint, use the mid_price metric: hl_mid = metric("mid_price", hyperliquid, ETH). Pick --format spell for spell inputs, --format json when scripting meta or spot-meta, and --format table for compact summaries of nested payloads. EVM tooling like anvil or cast is of no use here.

What it helps with

  • read mid prices across all perp assets
  • pull the L2 book for one coin
  • list open orders for an address
  • grab perp and spot market metadata
  • emit a params: block for a spell input

Example prompts for the agent

  • Show Hyperliquid mid prices as a table
  • Fetch the L2 book for BTC and output it as a spell
  • Run the Hyperliquid doctor check and print the JSON

How to install grimoire-hyperliquid

1Skills CLI (Vercel)

npx skills add franalgaba/grimoire --skill grimoire-hyperliquid -a claude-code

2Manually: put the files in place

~/.claude/skills/grimoire-hyperliquid/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/grimoire-hyperliquid/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about grimoire-hyperliquid

How do I install grimoire-hyperliquid in Claude Code?

Run npx skills add franalgaba/grimoire --skill grimoire-hyperliquid -a claude-code, then check ~/.claude/skills/grimoire-hyperliquid/SKILL.md.

What does grimoire-hyperliquid do?

It gives your agent Grimoire commands for Hyperliquid data: mid prices, order books, open orders, perp and spot metadata. It also handles withdrawals when you ask for one.

What do I need before a withdrawal?

HYPERLIQUID_PRIVATE_KEY set in your environment, keystore credentials, and your explicit confirmation. Without the key the stateful action will not go through.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set4

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor