Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add gmx-io/gmx-ai --skill gmx-tradinggit clone --depth 1 https://github.com/gmx-io/gmx-aiWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/gmx-io/gmx-ai/gmx-trading)<a href="https://agentmods.dev/skills/gmx-io/gmx-ai/gmx-trading"><img src="https://agentmods.dev/badge/skills/gmx-io/gmx-ai/gmx-trading/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/gmx-io/gmx-ai/gmx-trading"><img src="https://agentmods.dev/badge/skills/gmx-io/gmx-ai/gmx-trading.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00062 | $0.05473 |
| Opus 5 | $0.00031 | $0.02736 |
| Sonnet 5 | $0.00012 | $0.01095 |
| Haiku 4.5 | $0.00006 | $0.00547 |
Grade A, and why
gmx-trading scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 518 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GMX Trading Skill
Overview
GMX V2 is a decentralized perpetual and spot exchange using oracle-based pricing (Chainlink Data Streams) instead of AMM curves. Traders get CEX-like execution with onchain settlement.
Supported chains:
| Chain | Chain ID | Native Token |
|---|---|---|
| Arbitrum | 42161 | ETH |
| Avalanche | 43114 | AVAX |
| Botanix | 3637 | BTC |
Two integration paths:
- SDK (
@gmx-io/sdk) — Full read + write: fetch markets, create orders, manage positions - REST API — Read-only: prices, markets, positions, trade history
Trading modes:
- Classic — User signs each transaction directly
- Express — Gelato relay pays gas, user signs EIP-712 message (frontend only)
- Express + One-Click — Subaccount delegates signing for instant execution (frontend only)
SDK Quick Start
Install the SDK:
npm install @gmx-io/sdk viem
Import note: The SDK's ESM build has broken imports (missing file extensions). Use CommonJS require or configure your bundler to resolve extensionless imports. In Node.js scripts, use
const { GmxSdk } = require("@gmx-io/sdk").
Create an SDK instance:
const { GmxSdk } = require("@gmx-io/sdk");
const sdk = new GmxSdk({
chainId: 42161,
rpcUrl: "https://arb1.arbitrum.io/rpc",
oracleUrl: "https://arbitrum-api.gmxinfra.io",
subsquidUrl: "https://gmx.squids.live/gmx-synthetics-arbitrum:prod/api/graphql",
});
Chain configuration:
| Chain | chainId | oracleUrl | subsquidUrl |
|---|---|---|---|
| Arbitrum | 42161 | https://arbitrum-api.gmxinfra.io |
https://gmx.squids.live/gmx-synthetics-arbitrum:prod/api/graphql |
| Avalanche | 43114 | https://avalanche-api.gmxinfra.io |
https://gmx.squids.live/gmx-synthetics-avalanche:prod/api/graphql |
| Botanix | 3637 | https://botanix-api.gmxinfra.io |
https://gmx.squids.live/gmx-synthetics-botanix:prod/api/graphql |
Set up a wallet for write operations:
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 518 lines · 62 tokens per session scan A 402d37bfd6cc
gmx-trading is a skill published in the GitHub repository gmx-io/gmx-ai (11 stars, last pushed 5mo ago), licensed MIT. It adds 62 tokens to every session and 5,473 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
awaken-agent-skills
Awaken DEX trading and market data operations for agents.
SunSwap DEX Trading
Execute token swaps, manage liquidity, and query market data on SunSwap DEX via the sun-cli.
ct-alpha
Crypto Twitter intelligence and alpha research. Search X/Twitter for real-time crypto narratives, trending tokens, yield strategies, smart money signals, and protocol research. Features TweetRank (PageRank-inspired credibility scoring), multi-signal token detection, coordinated raid detection, and dynamic tool…
crypto-token-analysis
Deep-dive framework for analyzing crypto tokens — market data, liquidity health, tokenomics, unlock schedules, and risk assessment. Combines on-chain data, API queries, and multi-source validation to generate actionable investment verdicts.
portkey-eoa-agent-skills
Portkey EOA wallet lifecycle and asset operations for creating, importing, listing, backing up, selecting, and deleting wallets; querying tokens, NFTs, prices, balances, and history; and performing transfers, approvals, bridge, view, send, and fee estimation operations on AElf. Use by default for direct EOA wallets…
eforest-agent-skills
Skill "eforest-agent-skills" from eforest-finance/eforest-agent-skills, covering eforest agent skill, when to use, capabilities, safe usage rules and command recipes.