From sundial-org-awesome-openclaw-skills-4
Trades and monitors Hyperliquid perpetual futures: checks balances, views positions with P&L, lists orders/fills, places/cancels limit/market orders. For trading or portfolio queries.
npx claudepluginhub joshuarweaver/cascade-ai-ml-agents-misc-2 --plugin sundial-org-awesome-openclaw-skills-4This skill uses the workspace's default tool permissions.
Full trading and portfolio management for Hyperliquid perpetual futures exchange.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Full trading and portfolio management for Hyperliquid perpetual futures exchange.
Install dependencies once:
cd 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:
HYPERLIQUID_ADDRESS=0x... node scripts/hyperliquid.mjs balance
View positions with P&L:
HYPERLIQUID_ADDRESS=0x... node scripts/hyperliquid.mjs positions
Check open orders:
HYPERLIQUID_ADDRESS=0x... node scripts/hyperliquid.mjs orders
View trade history:
HYPERLIQUID_ADDRESS=0x... node scripts/hyperliquid.mjs fills
Get price for a coin:
node scripts/hyperliquid.mjs price BTC
All trading commands require HYPERLIQUID_PRIVATE_KEY.
Place limit orders:
# 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):
# 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:
# 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:
node scripts/hyperliquid.mjs meta
Query other addresses:
# Check someone else's positions (read-only, public data)
node scripts/hyperliquid.mjs positions 0x1234...