A controlled Hyperliquid execution skill for advanced orders, account addressing, signing safeguards, and explicitly approved trading tickets.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install hypergrok-hyperliquid-advanced
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install hypergrok-hyperliquid-advanced using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Hyperliquid Advanced Actions extends the standard Hyperliquid order workflow with less common capabilities, including dead-man's switches, TWAP orders, spot trading, expiration controls, nonce management, API wallet approval guidance, sub-account and vault addressing, and HIP-3 decentralized exchange support. It is designed for Execution Trader workflows where every write action requires an approved ticket.
This skill also defines operational boundaries: it does not transfer funds, withdraw assets, approve builder fees, change margin abstraction, or manage staking. Openclaw Skills users gain a precise, safety-focused reference for advanced Hyperliquid execution without confusing supported trading actions with excluded account operations.
info, exchange, ACCOUNT, price and size rounding helpers, and client order ID generation.expiresAfter sufficiently generous to avoid unnecessary stale-action rejections.status, while successful submissions return a running TWAP ID or order result.hyperliquid-orders workflow.from hyperliquid.utils.signing import get_timestamp_ms
# Schedule cancellation at least 5 seconds in the future
res = exchange.schedule_cancel(get_timestamp_ms() + 10 * 60 * 1000)
# Clear the scheduled cancellation
res = exchange.schedule_cancel(None)
TypeScript uses exchange.scheduleCancel({ time: Date.now() + 600_000 }); omit time to clear it. The account is limited to 10 triggers per day, reset at 00:00 UTC.
TWAP is not exposed through Python's high-level Exchange; use the TypeScript SDK or a raw action.
const twap = await exchange.twapOrder({
twap: { a, b: true, s: "10", r: false, m: 30, t: true }
});
const twapId = (twap.response.data.status as {
running: { twapId: number }
}).running.twapId;
await exchange.twapCancel({ a, t: twapId });
The raw action uses type: "twapOrder" with the a, b, s, r, m, and t parameters. TWAP duration is 5 minutes to 7 days in the documentation, while the TypeScript schema caps m at 1440 minutes; longer runs require the raw action.
Resolve the pair through spotMeta, calculate size precision from the base token's szDecimals, calculate price precision as 8 - szDecimals, and verify that order value is at least 10 quote tokens. Use spotClearinghouseState to read balances.
In Python, configure a following-action expiration with exchange.set_expires_after(get_timestamp_ms() + 60_000). TypeScript supports per-call expiresAfter. For vault or sub-account execution, configure Python's vault_address, TypeScript's defaultVaultAddress, or a per-call vaultAddress only when the request explicitly authorizes it.
| Area | Data organization and metadata |
|---|---|
| Dead-man's switch | A future millisecond timestamp; None or omitted time clears the switch. It cancels all open orders, including stops. |
| TWAP | a asset ID, b buy/sell direction, s string size, r reduce-only flag, m duration in minutes, and t randomization flag. Successful responses contain status.running.twapId; failures contain status.error. |
| Spot markets | Pair names come from spotMeta.universe; asset ID is 10000 + pair index; size precision comes from the base token's szDecimals; price precision is 8 - szDecimals. |
| Signed actions | Every action includes a millisecond nonce per signer. Optional expiresAfter invalidates actions received after the specified time. |
| Account scope | Reads use the relevant user address. Orders may include vaultAddress for a supported vault or sub-account, with the master API wallet signing. |
| HIP-3 dexs | Coins use dex:COIN; asset IDs follow 100000 + 10000 × dex index + index in that dex's metadata; reads include a dex parameter. |
| Rate limits | Address limits use a 10,000-action buffer plus 1 action per 1 USDC of cumulative volume. userRateLimit reports usage; IP exchange weight is 1 + floor(batch size / 40). |
twapId and slice fills from twapStates or userTwapSliceFills; TWAP fills carry a zero hash.valid_until <ms> and expire for up to 180 days.desk.md.twapStates and userTwapSliceFills.spotMeta, base-token decimals, significant-figure rounding, and minimum quote-token validation.userRateLimit and guidance to mention, but not automatically purchase, reserveRequestWeight.Loading
A read-only market intelligence skill for querying live Hyperliquid prices, liquidity, funding, metadata, and historical datasets without API keys.

A Nano Banana Pro workflow that converts Midjourney prompts and image references into controllable, production-ready visuals without Discord or a Midjourney account.

A controlled image-generation skill that translates Stable Diffusion workflows into Nano Banana Pro prompts and reference-image tasks.

Generate commercial-ready product background replacements while preserving the product’s exact identity, structure, branding and realistic scene integration.

A disciplined Hyperliquid risk manager that converts user-defined limits and live account data into safe trade sizes, book checks, and exact PASS or REJECT tickets.

A compact, desk-ready Hyperliquid API reference for safely reading market data, signing trading actions, handling WebSockets, and diagnosing API errors.








































