HyperGrok Hyperliquid Setup
FreeNo executable scriptsNot checkedPrepare the desk computer to work with Hyperliquid - install the SDKs, pick testnet or mainnet, verify connectivity, and (only when the user asks) provision a…
by galleonlabs726 installs in other catalogsAbout this skill
Hyperliquid setup
Sections 1-3 are read-only and safe to run at any time. Section 4 provisions a key and is done only when the user asks to move to a testnet or mainnet desk. Section 5 is the readiness check the Execution Trader runs before its first send.
1. Networks
| Mainnet | Testnet | |
|---|---|---|
| REST | https://api.hyperliquid.xyz |
https://api.hyperliquid-testnet.xyz |
| WebSocket | wss://api.hyperliquid.xyz/ws |
wss://api.hyperliquid-testnet.xyz/ws |
| App | https://app.hyperliquid.xyz |
https://app.hyperliquid-testnet.xyz |
| Faucet | - | https://app.hyperliquid-testnet.xyz/drip |
Reads (/info) need no key. Writes (/exchange) need a signing key and are signed differently per network, so a key and its network go together. The desk records the network in /workspace/trading-desk/desk.md and in the environment.
Testnet is the default. Nothing on the desk selects mainnet unless HYPERLIQUID_NETWORK=mainnet is set on purpose.
2. Install
Python (used by most snippets on the desk):
python3 --version # 3.9+ required, 3.11+ preferred
python3 -m venv ~/.hypergrok/venv
source ~/.hypergrok/venv/bin/activate
python3 -m pip install "hyperliquid-python-sdk==0.24.0"
python3 -c "import hyperliquid, eth_account; print('ok', hyperliquid.__name__)"
Activate it with source ~/.hypergrok/venv/bin/activate in each new shell before SDK snippets. The public Python tools shipped here need no SDK or activation. These are the versions reviewed on 2026-10-25; review API and snippet compatibility before upgrading them.
Optional TypeScript (if the user prefers TS or wants the WebSocket client from @nktkas/hyperliquid):
node --version # 22.12+ required by @nktkas/hyperliquid (ESM-only)
mkdir -p /workspace/trading-desk/ts && cd /workspace/trading-desk/ts
[ -f package.json ] || npm init -y >/dev/null
npm pkg set type=module >/dev/null # so .js files can use import and top-level await
npm i @nktkas/[email protected] [email protected] [email protected]
node -e "import('@nktkas/hyperliquid').then(m=>console.log('ok', Object.keys(m).length))"
curl and jq are enough for every read in hyperliquid-market-data and hyperliquid-account; install jq if missing.
3. Connectivity check (no key)
for base in https://api.hyperliquid.xyz https://api.hyperliquid-testnet.xyz; do
printf '%s -> ' "$base"
curl -sS -m 10 -X POST "$base/info" -H 'Content-Type: application/json' \
-d '{"type":"allMids"}' | jq -r 'if type=="object" then "ok, \(length) mids, BTC \(.BTC)" else "unexpected: \(.)" end'
done
Both lines should read ok. Record the time and result in the desk record. If one network fails, the desk is not blind on the other; say which.
4. API wallet (only when the user asks to trade)
Before creating or provisioning any key, verify and record native out-of-band approval coverage for the actual SDK, script and HTTP send paths, per desk-operating-model and SETUP.md section 7. If it cannot be verified, continue research without a key. An existing key or chat approval does not remove this prerequisite.
An API wallet (Hyperliquid also calls it an agent wallet) is a separate key the user authorises to sign trading actions for their account. It can place, modify and cancel orders and change leverage and margin; it cannot withdraw to Arbitrum, cannot send USDC or tokens to another wallet, and cannot approve other agents or builders (those need the main wallet's signature). It can still move funds inside the user's own account (perp to spot and across dexs via agentSendAsset, into sub-accounts and vaults, into staking via cDeposit2, and it can spend USDC on reserveRequestWeight) and change the account's abstraction mode via agentSetAbstraction, all of which the desk forbids by rule. That is the only kind of key that ever reaches the desk computer.
Why: all of the user's Bots share one computer, so anything on it is readable by every Bot. A trade-only key bounds the damage; a seed phrase or main-wallet key would not.
4.1 The user creates it in the Hyperliquid app
Guide the user; do not do it for them (it involves their wallet):
- Open the app for the chosen network (
https://app.hyperliquid.xyzorhttps://app.hyperliquid-testnet.xyz), connect the main wallet, open the API page (/API, under More in the app's navigation). - Generate a new API wallet, give it a name such as
hypergrok-desk, choose a validity period (a few months is sensible; it can be revoked at any time), and Authorize. The app shows the API wallet's private key once. The API wallet's address is shown next to it. - On testnet, fund the account from the faucet (
/drip): it gives 1,000 mock USDC, but only to an address that has deposited on mainnet at some point (email/Privy logins get different addresses per network; export the mainnet wallet into a
Install HyperGrok Hyperliquid Setup in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the HyperGrok Hyperliquid Setup skill do?
Prepare the desk computer to work with Hyperliquid - install the SDKs, pick testnet or mainnet, verify connectivity, and (only when the user asks) provision a trade-only API wallet through the secure secret store and verify it is approved. Use during desk setup, when moving between research, testnet and mainnet levels, when a key is rotated, or when any Hyperliquid call fails with an environment problem.
How do I install the HyperGrok Hyperliquid Setup skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the HyperGrok Hyperliquid Setup skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic