gmx

Trade perpetual futures and spot swaps on GMX V2 across Arbitrum and Avalanche.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/0xinit/cryptoskills --skill gmx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gmx
Source: https://github.com/0xinit/cryptoskills/tree/main/skills/gmx
Command: npx skills add https://github.com/0xinit/cryptoskills --skill gmx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables programmatic interaction with the GMX V2 decentralized exchange, allowing users to trade perpetual futures, spot swaps, and provide liquidity on Arbitrum and Avalanche.

Core Features & Use Cases

  • Perpetual Trading: Open, close, and manage leveraged long/short positions with up to 100x leverage.
  • Spot Swaps: Execute instant token swaps through GMX V2 markets.
  • Liquidity Provision: Add or remove liquidity to earn trading fees by acquiring GM tokens.
  • Use Case: Automate the execution of a trading strategy by opening a leveraged short position on ETH/USD when a specific technical indicator is met, and automatically set a take-profit order.

Quick Start

Use the gmx skill to open a 10x leveraged long position on ETH/USD with 0.5 ETH collateral.

Frequently Asked Questions about gmx

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

FAQPage Schema
How do I automate trading perpetual futures on GMX V2?

Automate trading perpetual futures on GMX V2 by using this Skill to programmatically open, close, and manage leveraged long or short positions on Arbitrum and Avalanche networks.

Can I execute spot swaps on Arbitrum and Avalanche using GMX V2?

Yes, you can execute spot swaps on Arbitrum and Avalanche using GMX V2. This Skill facilitates instant token swaps through direct interaction with GMX V2 markets.

How does liquidity provision work on the GMX decentralized exchange?

Liquidity provision on the GMX decentralized exchange involves adding or removing liquidity to earn trading fees by acquiring GM tokens. This Skill manages these liquidity operations programmatically.

What leverage limits are supported for crypto perpetuals on GMX?

Crypto perpetuals on GMX support up to 100x leverage. This Skill enables you to open leveraged positions and automate strategy execution based on technical indicators.

Do I need the GMX TypeScript SDK to interact with GMX V2 smart contracts?

This Skill leverages the official GMX TypeScript SDK for comprehensive functionality and supports direct interaction with core GMX V2 smart contracts, enabling advanced trading operations.