hyperliquid-plugin

Execute Hyperliquid perpetual futures orders and manage positions via REST API.

12|64|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/okx/plugin-store --skill hyperliquid-plugin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hyperliquid-plugin
Source: https://github.com/okx/plugin-store/tree/main/skills/hyperliquid-plugin
Command: npx skills add https://github.com/okx/plugin-store --skill hyperliquid-plugin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing and executing perpetual futures on Hyperliquid manually requires multiple tools, signatures, and bridge steps, making it error‑prone and time‑consuming.

Core Features & Use Cases

  • Position Management: Open, close, and adjust leveraged perpetual positions directly from an AI agent.
  • Market Data: Retrieve real‑time mid prices and account balances across dozens of markets.
  • Cross‑Chain Operations: Deposit USDC from Arbitrum, withdraw to Arbitrum, and transfer between perp and spot accounts, all with automated signing via onchainos.
  • Safety Controls: Pre‑flight balance checks, explicit --confirm flags for any on‑chain write, and automatic leverage handling.

Quick Start

Ask the hyperliquid skill to open a 0.01 BTC long market order.

Frequently Asked Questions about hyperliquid-plugin

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trade perpetual futures on Hyperliquid without using the CLI manually?

You can trade Hyperliquid perpetual futures by directing an AI agent to execute orders, manage positions, and bridge USDC automatically. The skill uses Hyperliquid's REST API and onchainos signing to bypass manual CLI interaction.

Can I deposit and withdraw USDC between Arbitrum and Hyperliquid from an AI agent?

Yes, you can deposit USDC from Arbitrum, withdraw back to Arbitrum, and transfer funds between perp and spot accounts. Cross-chain operations are automated with onchainos signing for seamless USDC bridging.

Does executing on-chain orders with this approach require manual transaction signing?

No, executing on-chain writes does not require manual signing because the skill integrates onchainos for automated transaction authorization. It uses explicit --confirm flags and pre-flight balance checks to ensure safe execution.

How do I check real-time prices and account balances for Hyperliquid markets?

You can retrieve real-time mid prices and account balances across dozens of Hyperliquid markets by querying the integrated skill. It leverages the Hyperliquid REST API to fetch current market data directly.

What safety controls are in place when opening leveraged perpetual positions via an AI agent?

Safety controls include pre-flight balance checks, automatic leverage handling, and explicit --confirm flags required for any on-chain write operation. These mechanisms prevent unintended trades when managing positions.

What is the best way to open a BTC long market order on Hyperliquid programmatically?

The best way is to instruct the integrated AI agent to open a specific market order, such as a 0.01 BTC long position. The skill handles order construction, leverage, and REST API submission directly.