Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Trade and monitor Hyperliquid perpetual futures. Check balances, view positions with P&L, place/cancel orders, execute market trades. Use when the user asks about Hyperliquid trading, portfolio status, crypto positions, or wants to execute trades on Hyperliquid.
.claude/skills/sundial-org-hyperliquid/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | 31% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 35% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 66% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 8% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -23% | 0% |
Full trading and portfolio management for Hyperliquid perpetual futures exchange.
Install dependencies once:
bashcd skills/hyperliquid/scripts && npm install
For read-only operations (balance, positions, prices):
HYPERLIQUID_ADDRESS environment variableFor trading operations:
HYPERLIQUID_PRIVATE_KEY environment variableTestnet:
HYPERLIQUID_TESTNET=1 to use testnetCheck balance:
bashHYPERLIQUID_ADDRESS=0x... node scripts/hyperliquid.mjs balance
View positions with P&L:
bashHYPERLIQUID_ADDRESS=0x... node scripts/hyperliquid.mjs positions
Check open orders:
bashHYPERLIQUID_ADDRESS=0x... node scripts/hyperliquid.mjs orders
View trade history:
bashHYPERLIQUID_ADDRESS=0x... node scripts/hyperliquid.mjs fills
Get price for a coin:
bashnode scripts/hyperliquid.mjs price BTC
All trading commands require HYPERLIQUID_PRIVATE_KEY.
Place limit orders:
bash# Buy 0.1 BTC at $45,000 HYPERLIQUID_PRIVATE_KEY=0x... node scripts/hyperliquid.mjs buy BTC 0.1 45000 # Sell 1 ETH at $3,000 HYPERLIQUID_PRIVATE_KEY=0x... node scripts/hyperliquid.mjs sell ETH 1 3000
Market orders (with 5% slippage protection):
bash# Market buy 0.5 BTC HYPERLIQUID_PRIVATE_KEY=0x... node scripts/hyperliquid.mjs market-buy BTC 0.5 # Market sell 2 ETH HYPERLIQUID_PRIVATE_KEY=0x... node scripts/hyperliquid.mjs market-sell ETH 2
Cancel orders:
bash# Cancel specific order HYPERLIQUID_PRIVATE_KEY=0x... node scripts/hyperliquid.mjs cancel BTC 12345 # Cancel all orders HYPERLIQUID_PRIVATE_KEY=0x... node scripts/hyperliquid.mjs cancel-all # Cancel all orders for specific coin HYPERLIQUID_PRIVATE_KEY=0x... node scripts/hyperliquid.mjs cancel-all BTC
All commands output JSON. Parse and format for chat display:
For balance/portfolio:
For trade execution:
Before executing trades:
Position sizing:
Price checks:
Common errors:
meta commandWhen errors occur:
"How's my Hyperliquid portfolio?"
balance to get total equitypositions to get open positions"Buy 0.5 BTC on Hyperliquid"
price BTC to get current pricebalance to verify sufficient fundsmarket-buy BTC 0.5"What's the current BTC price on Hyperliquid?"
price BTC"Close my ETH position"
positions to get current ETH position sizeList all available coins:
bashnode scripts/hyperliquid.mjs meta
Query other addresses:
bash# Check someone else's positions (read-only, public data) node scripts/hyperliquid.mjs positions 0x1234...
Other measured skills in the registry, with their headline benchmark lift.