| name | hyperliquid-api |
|---|---|
| description | Use this skill when the user needs to work with the Hyperliquid API, Hyperliquid SDKs, common request and response shapes, signing, WebSocket subscriptions, rate limits, or when they ask which Hyperliquid API surface to use for a task. Especially use it when correctness about API-surface selection, core return patterns, action results, signing mode, or transport choice matters. |
| license | Proprietary to HypeTerminal workspace unless replaced before publishing |
| compatibility | Designed for Agent Skills-compatible clients such as Codex and Claude Code. Requires filesystem access to bundled references; network access may be needed if live verification is requested. |
Use this skill to choose the correct Hyperliquid API surface and avoid guessing about request or response behavior.
- If the task is read-only, start with
Info. - If the task changes state, places trades, transfers funds, or configures the account, use
Exchange. - If the task needs live updates or streaming, use
Subscription. - If the task mentions low latency, streaming, or continuous updates, consider
WebSocketTransport. - If the task needs simple snapshot reads or serverless-style usage, prefer
HttpTransport.
- Classify the task as
Info,Exchange, orSubscription. - State that classification explicitly in your reasoning or answer.
- Load only the reference file needed for that task:
references/api-selection.mdfor surface selectionreferences/method-index.mdfor method-family coverage and fast routing to the right surfacereferences/info-returns.mdfor read-only request/response shapesreferences/exchange-returns.mdfor action results and status envelopesreferences/subscriptions.mdfor stream payloads and transport behaviorreferences/signing.mdfor any signed actionreferences/rate-limits.mdfor throughput, batching, or congestion questionsreferences/error-handling.mdfor mixed statuses, API rejection, or transport failures
- Do not treat all Hyperliquid writes as the same signing flow. Some are L1 actions and some are user-signed actions.
- Do not describe
Exchangeresponses as a single boolean success unless the specific method guarantees that. Order-like actions can return mixed per-item statuses. - Do not recommend WebSocket only for subscriptions. It can also matter for lower-latency request patterns.
- Do not assume rate limits are only IP-based. Address-based action limits also matter.
- Do not dump all method details from memory. Load the targeted reference file instead.
- If the user asks about an exact method-specific return shape that is not covered by the bundled examples, say that you are giving the common pattern and verify the exact method against the official docs or the typed TypeScript SDK before claiming full certainty.
When advising on Hyperliquid API usage:
- Name the API surface first.
- Name the transport if it matters.
- Describe the return shape in plain language.
- Call out signing requirements for
Exchange. - Mention important caveats only if they materially affect the task.
Use sources in this order:
- Official Hyperliquid docs for protocol rules.
- Typed community TypeScript SDK for precise request/response and error-shape understanding.
- Official Hyperliquid Python SDK for canonical action flows and examples.
If sources differ, prefer official protocol docs over SDK convenience behavior. For exact return shapes, prefer the typed TypeScript SDK over the Python SDK.