hyperliquid-websocket SKILL.md skillA

hyperliquid-websocket from galleonlabs/hypergrok-trading-desk is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add galleonlabs/hypergrok-trading-desk/hyperliquid-websocket@v1.0.1

Pins v1.0.1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
galleonlabs/hypergrok-trading-desk
Path
skills/hyperliquid-websocket/SKILL.md
Versions recorded
3
Latest version
v1.0.1, committed Oct 2, 2026
First version recorded
Aug 16, 2026
Size
10,866 bytes
Repository stars
387
License
MIT

Subscribe to live Hyperliquid data over WebSocket from the desk computer - mids, order book, trades, candles, best bid/offer, and per-account fills, order updates and events - with raw JSON, Python SDK and TypeScript examples, plus how to run a supervised watch that logs to a file and alerts. Read-only. Use for monitoring, fill notifications and any watch that polling would make expensive.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Hyperliquid WebSocket

Read-only, no key. Endpoints: `wss://api.hyperliquid.xyz/ws` (mainnet), `wss://api.hyperliquid-testnet.xyz/ws` (testnet). Prefer WebSocket over polling for anything continuous: fills, order updates, book and price watches.

## Protocol

Subscribe: `{"method": "subscribe", "subscription": {...}}`. Unsubscribe with `"method": "unsubscribe"`. The server acknowledges with `{"channel": "subscriptionResponse", ...}` then streams `{"channel": "<type>", "data": ...}`. Send `{"method": "ping"}` periodically (the SDKs do it for you; the server expects activity within about a minute) and expect `{"channel": "pong"}`.

Subscription types the desk uses:

| Type | Subscription JSON | Data |
| --- | --- | --- |
| Mids for all markets | `{"type":"allMids"}` (optional `"dex"`) | `{"mids": {"BTC": "97123.5", ...}}` |
| Order book | `{"type":"l2Book","coin":"ETH"}` (optional `nSigFigs`, `mantissa`, `fast: true` for 5 levels) | `{"coin","time","levels":[bids,asks]}`, up to 20 levels a side, pushed on each block at least 0.5 s after the last push |
| Trades | `{"type":"trades","coin":"ETH"}` | array of `{coin, side, px, sz, time, hash, tid, users}` |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add galleonlabs/hypergrok-trading-desk/hyperliquid-websocket@sha256:872cc990215d93da

The line at the top of this page pins the label v1.0.1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_bnnsle5yc2ojztdd.svg)](https://markdownregistry.com/a/art_bnnsle5yc2ojztdd)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Aug 16, 2026 and Oct 2, 2026, about one every 23 days.

versioncommittedcommitsizeaudit
v1.0.1 latest2026-10-02 1e429e5 10,866 BA view · diff
v1.0.02026-08-28 e8b3081 8,365 BA view · diff
v1.0.02026-08-16 1ead2e4 8,064 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (10866 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

galleonlabs/hypergrok-trading-desk · 387 stars · license MIT · pushed 2026-11-04 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_bnnsle5yc2ojztdd
GET https://markdownregistry.com/api/v1/resolve?ref=galleonlabs/hypergrok-trading-desk/hyperliquid-websocket
GET https://markdownregistry.com/api/v1/blob/872cc990215d93da29706ca5ec4629a3ab7eb8a07cb057e8a8e261f2392dc808

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from galleonlabs/hypergrok-trading-desk

AGENTS.md AGENTS.md file
galleonlabs/hypergrok-trading-desk · AGENTS.md
git:20261030.75a4c79 · audit A · 387 stars
CLAUDE.md CLAUDE.md file
galleonlabs/hypergrok-trading-desk · CLAUDE.md
git:20261010.905c5ed · audit B · 387 stars
desk-execution-protocol SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/desk-execution-protocol/SKILL.md · The Execution Trader's procedure for turning an approved ticket into one Hyperliquid action and reconciling it - the…
v1.1.3 · audit A · 387 stars
desk-incident-response SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/desk-incident-response/SKILL.md · What the desk does when something goes wrong on Hyperliquid - unknown send results, unexpected fills or positions…
v1.1.2 · audit A · 387 stars
desk-monitoring SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/desk-monitoring/SKILL.md · How the desk watches markets and the account between trades using Grok Bot routines and WebSocket or polling watches -…
v1.1.2 · audit A · 387 stars
desk-operating-model SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/desk-operating-model/SKILL.md · How the HyperGrok trading desk works as a team of Grok Bots - roles, seats, shared workspace, evidence standard…
v1.1.3 · audit A · 387 stars
desk-post-trade-review SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/desk-post-trade-review/SKILL.md · The Trade Reviewer's procedure for journaling desk activity and reviewing trades from the exchange record - process…
v1.0.2 · audit A · 387 stars
desk-risk-limits SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/desk-risk-limits/SKILL.md · How the Risk Manager writes the desk's risk limits with the user, sizes every proposed trade from live account state…
v1.1.3 · audit A · 387 stars
desk-strategy-lab SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/desk-strategy-lab/SKILL.md · How the Strategist works with the user to turn their own trading idea into explicit rules, backtest it honestly on…
v1.2.0 · audit A · 387 stars
desk-trade-lifecycle SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/desk-trade-lifecycle/SKILL.md · The end-to-end procedure for one trade on the HyperGrok desk - from an idea to a reviewed, journaled result - with the…
v1.1.2 · audit A · 387 stars
hypergrok-bootstrap SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/hypergrok-bootstrap/SKILL.md · Build and verify a HyperGrok trading desk from the pinned public release. Use for first-run setup, repair, or a…
v1.0.13 · audit A · 387 stars
hyperliquid-account SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/hyperliquid-account/SKILL.md · Read a Hyperliquid account from the desk computer - positions and margin, spot balances, open orders including trigger…
v1.0.2 · audit A · 387 stars

Every file in galleonlabs/hypergrok-trading-desk

Browse by kind, by grade A, or by owner.