LaunchKit · 2026
Back to Skills

vibetrading-code-gen

Generate executable Hyperliquid trading strategy code from natural language prompts.

0
510 downloads
by @liuhaonan00

Setup & Installation

openclaw skills install @liuhaonan00/vibetrading-code-gen

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install vibetrading-code-gen

What This Skill Does

Converts natural language trading ideas into executable Python strategies for the Hyperliquid exchange. Generated code includes Hyperliquid API integration, error handling, logging, and risk management. A built-in validation system checks syntax and compatibility, then applies automatic fixes before delivering the final files.

Produces complete, validated strategy files with Hyperliquid API wrappers already wired in, skipping the manual work of implementing exchange connectivity and error handling from scratch.

When to use it

  • Turn an RSI oversold/overbought idea into a runnable BTC trading bot
  • Set up a grid trading strategy across a specific ETH price range
  • Build a bot that follows VibeTrading AI signals for automated entries and exits
  • Backtest a generated strategy against historical Hyperliquid price data before going live
  • Auto-fix Python compatibility issues in trading scripts targeting older runtimes

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Generate a BTC RSI strategy, buy 0.01 BTC when RSI below 30, sell when above 70

AGENT
  1. 1Parses the prompt to extract symbol (BTC), strategy type (RSI), thresholds (30/70), and position size (0.01 BTC)
  2. 2Selects the RSI strategy template and fills in extracted parameters
  3. 3Generates a complete Python strategy class with Hyperliquid API calls, logging, and a configuration block
  4. 4Runs the validation system to check syntax, imports, and Python 3.6+ compatibility
  5. 5Applies automatic fixes for any detected issues and re-validates
OUTPUT

A validated Python strategy file, a configuration template with all parameters, a validation report, and usage instructions for running and monitoring the bot

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

HYPERLIQUID_API_KEY environment variableHYPERLIQUID_ACCOUNT_ADDRESS environment variableHyperliquid accountTELEGRAM_BOT_TOKEN environment variable (optional, for trade alerts)