hyperliquid

hyperliquid is a skill for Claude Code from Superior-Trade/superior-skills. It costs 64 tokens per session (5,115 once invoked), scanned A, original, MIT.

A guide for backtesting, deploying, funding, and troubleshooting Freqtrade strategies on Hyperliquid through the Superior Trade API. Freqtrade is software for running rule-based cryptocurrency trading strategies, while Hyperliquid is a trading venue.

In plain words
What is it for?
Use it to create or fix Freqtrade configuration and Python strategy code, run backtests, check balances, fund accounts, deploy strategies, and diagnose live Hyperliquid deployments. It also covers Hyperliquid stock and commodity perpetual contracts.
Why use it?
It brings the strategy code, configuration, account operations, and deployment checks into one documented workflow. This helps resolve problems such as failed backtests, deployments that make no trades, rate limits, or positions left open unexpectedly.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the superior-skills plugin — 31 skills shipped together

Good fit Use it to create or fix Freqtrade configuration and Python strategy code, run backtests, check balances, fund accounts, deploy strategies, and diagnose live Hyperliquid deployments. It also covers Hyperliquid stock and commodity perpetual contracts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/superior-trade/superior-skills/hyperliquid
Install

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.

Any agent
npx skills add Superior-Trade/superior-skills --skill hyperliquid
Clone the repo
git clone --depth 1 https://github.com/Superior-Trade/superior-skills

Made for: Claude Code.

Or install superior-skills, the plugin that ships this one along with the rest of its 31 skills.

Wrote 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.

agentmods badge for hyperliquid

README.md
[![agentmods](https://agentmods.dev/badge/skills/superior-trade/superior-skills/hyperliquid/github.svg)](https://agentmods.dev/skills/superior-trade/superior-skills/hyperliquid)
Your own site
<a href="https://agentmods.dev/skills/superior-trade/superior-skills/hyperliquid"><img src="https://agentmods.dev/badge/skills/superior-trade/superior-skills/hyperliquid/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.

agentmods 80×15 button for hyperliquid

Your own site · 80×15
<a href="https://agentmods.dev/skills/superior-trade/superior-skills/hyperliquid"><img src="https://agentmods.dev/badge/skills/superior-trade/superior-skills/hyperliquid.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,115 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 6 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 183
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • medium Data Exfiltration · line 23
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 160
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 161
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 278
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Prompt Injection · line 90
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.05115
Opus 5 $0.00032 $0.02558
Sonnet 5 $0.00013 $0.01023
Haiku 4.5 $0.00006 $0.00511

Measured 4d ago against content hash dc9f242aaacf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

hyperliquid 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 4d 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.

skills/hyperliquid/SKILL.md · 304 lines

How it starts

The opening of the file, as written. The whole thing — 304 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Superior Trade — Hyperliquid

Backtest and deploy Freqtrade strategies on Hyperliquid through Superior Trade's managed cloud.

Read ../../references/unified-runtime.md before any Superior Trade request. Use only current Unified API methods and payload fields.

Base URL: https://unified-api-zag4gzx6gq-an.a.run.app Auth: x-api-key header on all protected endpoints Discovery: GET /openapi.json (OpenAPI), GET /install.txt, and GET /.well-known/mcp.json

Unified API only

Before venue setup, backtesting, deployment, or execution, read ../../references/unified-runtime.md. Use GET /context/venues and GET /runtime/frameworks to discover support, then use the Unified runtime endpoints. If a required Hyperliquid operation is absent from the contract, report it as unavailable.

Reference files

Load these on demand — each is the full detail behind a summary below.

Read When
references/api.md You need Unified route selection for account, context, backtesting, deployment, typed execution, or withdrawal (POST /wallet/withdraw).
references/strategy-config.md You are writing or fixing config JSON or strategy Python — config fields, code template, TA-Lib usage, multi-entry (DCA/grid), funding-rate access, minimal_roi shapes.
references/wallets-and-accounts.md Anything about wallets, balances, deposits, sub-accounts, multi-strategy capacity, pair formats, or HIP-3 tickers.
references/troubleshooting.md A deployment or backtest is failing, trading zero times, hitting rate limits, or showing orphan positions.

Gotchas

Environment-specific facts that defy reasonable assumptions. Read these before acting.

  • HIP-3 pairs use a HYPHEN, not a colon. XYZ-AAPL/USDC:USDC is correct; XYZ:AAPL/USDC:USDC is the single most common format mistake. HIP-3 pairs are also absent from the default {"type":"meta"} call — you must pass the dex, e.g. {"type":"meta","dex":"xyz"}.
  • The agent wallet holding $0 is normal. It signs against the main wallet's balance and never needs funds. Always check the main trading wallet's balance; checking the agent wallet's will always look like an empty account.
  • A balance that covers stake_amount × max_open_trades exactly will still fail. The exchange reserves roughly 1% for fees, so cap stake_amount at ~95% of balance / max_open_trades or entries get rejected silently.
  • The account URL is https://account.superior.trade. Never send users to app.superior.trade, including when an API error message itself contains that older URL.
  • Multi-output TA-Lib functions return tuples. talib.BBANDS(...) and friends crash at runtime if unpacked as a single value — see references/strategy-config.md.
  • Sub-account funds are not available to the master. A master's true capacity is its own balance plus sub-account balances queried separately via subAccounts2; funds sitting in a sub-account cannot back a master deployment.
  • Hyperliquid margin modes differ — never assume. If perps shows $0 but spot shows funds, inspect whether the exchange account uses unified margin or standard margin before telling the user to move anything themselves.
  • One live strategy per trading account. To run several at once, omit wallet_address when storing credentials and the server assigns the next idle trading account.

Read the full file on GitHub · 304 lines

Files

What ships with it

5 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.

Changes

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.

  1. 4d ago Changed · +11 lines · -9 tokens per session dc9f242aaacf
  2. 10d ago First seen · 293 lines · 73 tokens per session scan A cc9b2828147e

Subscribe to this mod's changes

hyperliquid is a skill published in the GitHub repository Superior-Trade/superior-skills (208 stars, last pushed 6d ago), licensed MIT. It adds 64 tokens to every session and 5,115 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.