/superior-skills:superior-tradefrom superior-skills
Guides users through setting up Superior Trade: obtaining an API key, creating/funding a trading account, choosing a venue or strategy, running a backtest, and deploying live. Covers Hyperliquid, Polymarket, Lighter, and Aerodrome.
Ships in superior-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Getting a user from nothing to a running strategy. This skill owns the path; each venue skill owns the venue.
Base URL: https://api.superior.trade
Auth: x-api-key header on every protected endpoint
Account UI: https://account.superior.trade
Read ../../references/unified-runtime.md
before constructing an API request. Use only routes published by
GET /openapi.json; do not fall back to a versioned API.
Work through these in order. Skip a step only after an API call confirms it is already done — never on assumption.
SUPERIOR_TRADE_API_KEY set?One key covers every venue. SUPERIOR_TRADE_API_KEY authenticates Hyperliquid, Polymarket, Lighter and Aerodrome alike — the API validates the key against the user, not against a product, so there is no per-venue credential to obtain.
If it is already in the environment, use it and move on — do not ask the user for it.
If it is missing, ask for the email address that should receive an OTP, then:
curl -sS https://api.superior.trade/account/register \
-X POST -H 'Content-Type: application/json' \
-d '{"email":"[email protected]"}'
Exchange the OTP with POST /account/verify, then tell the user to store the
returned key as SUPERIOR_TRADE_API_KEY in their agent's environment or
credential manager. Users can also create a key from account settings at
https://account.superior.trade.
Verify it works before going further:
curl -sS https://api.superior.trade/wallet -H "x-api-key: $SUPERIOR_TRADE_API_KEY"
A 401/403 means the key is wrong or truncated — ask the user to re-copy the full key from the latest email. The email is verified by the first successful authenticated call, so this doubles as activation.
Never paste the key into chat, files, logs, or examples. If a user pastes theirs, treat it as a secret and do not repeat it back.
Fetch GET /wallet. It returns the authenticated account's managed wallet,
deposit details, balances, and available readiness information. The user does
not need to expose a private key. Also read GET /context/venues and stop if
the selected venue is not currently supported or ready.
If the current OpenAPI contract does not expose a required venue bootstrap, report that limitation. Do not invent a write operation for the wallet route.
The user funds the managed wallet with their own capital using the deposit
details returned by GET /wallet. Confirm deposits with
GET /wallet/deposits; do not treat that history route as a transfer action.
Venue-specific bridges or wrapping flows may be used only when they appear in
the current Unified OpenAPI contract.
If the user needs help getting funds into the platform wallet, use the deposit-qr skill for a payment QR or wallet URI, or external-deposit for a bridge from an external wallet.
Moving funds is a real money movement. State the amount, source, and destination and get an explicit yes before any supported transfer or withdrawal call.
Ask what the user is trying to capture before writing any code. If they have a thesis but no structure, use the trade-thesis skill to turn it into bull/bear cases, invalidation criteria, and a sizing rationale.
Then match the idea to a template rather than writing from scratch — the templates carry backtest evidence and known failure modes:
| They want | Skill |
|---|---|
| Buy on a schedule, accumulate | dca-weekly |
| Buy dips, sell rallies in a range | grid-trading, mean-reversion, bollinger-reverter-4h |
| Ride a trend or breakout | breakout, donchian-strong-regime |
| Get paid to hold a perp | funding-rate-arbitrage, funding-squeeze, basis-arb |
| Fast in and out | scalping |
| "What's moving right now?" | intelligence |
| Prediction markets | polymarket plus its archetype skills |
Compose primitives onto whatever they pick: regime-overlay to gate a directional strategy, dsl-exit-engine for exits, fees-optimizations when turnover is high enough that costs decide the outcome.
Never offer a live deployment before a backtest. Load the backtesting skill for window selection, trade-count thresholds, and sweep design; the venue skill has the endpoints.
For a first pass on a new idea, run a 3-variant sweep varying one parameter rather than a single config — one result tells you whether a point worked, three tell you whether the region works.
Read the outcome honestly. Zero trades over a window that should have produced signals means the strategy or pair is wrong, not that the user should deploy and see. A strong backtest can be overfitting. Present the numbers and let the user decide.
Deployment is the point of no return, so it is gated:
dry_run key at all. On those three, a backtest is the only rehearsal available.PUT /runtime/deployments/{id}/credentials only
with a credential form published by the Unified contract. Never send key
material unless the current contract explicitly defines a secure BYOK form
and the user chose it.Poll GET /runtime/deployments/{id} and
GET /runtime/deployments/{id}/logs. Tell the user that
PUT /runtime/deployments/{id}/status with the stop action is the safe default
if anything looks wrong.
These hold across every venue and override anything convenient.
app.superior.trade — the correct URL is https://account.superior.trade, even when an API error message says otherwise.Hand off once the user has picked a venue. Each owns its own endpoints, funding model, pre-deployment checklist, and troubleshooting.
hyperliquid — perps and spot, plus HIP-3 tokenized stocks, commodities, and indices. The main venue.polymarket — prediction markets, NautilusTrader strategies, filled-data backtests.lighter — Lighter market context, wallet checks, backtests, and contract-supported Nautilus deployments.aerodrome — Base spot AMM swaps; no order book, no leverage.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
trading-setup, api-key, backtesting, deployment, hyperliquid, polymarket
30 skills in this plugin
/aerodromeUse when creating, validating, backtesting, deploying, sizing, or troubleshooting Aerodrome/Base spot trading strategies through the Superior Trade API, especially Freqtrade configs using exchange.name "aerodrome", AERO/USDC or CHECK/USDC pairs, AMM market swaps, wallet/gas balance checks, no-orderbook pricing, or Aerodrome live deployment safety./backtestingUse when running, interpreting, or designing backtests on Superior Trade — anything about backtest windows, trade-count thresholds, exit-reason mix, parameter sweeps, walk-forward validation, zero-trade diagnosis, compute-cost estimation, or "is this backtest result trustworthy?". Pair with the relevant strategy skill, such as mean-reversion or breakout./basis-arbUse when the user asks for spot-perp basis trade, basis arbitrage, cash-and-carry, perp discount, or any setup that reads the spot–perp basis as a positioning signal. Long-perp leg only — pure two-leg basis arb requires a paired spot short (or long) which Freqtrade can't run cleanly. The strategy below captures the directional read, not the hedged carry./bollinger-reverter-4hUse when writing a symmetric Bollinger-band mean-reversion strategy on the 4h timeframe — BB reverter, range trader, chop strategy, ADX<25 mean reversion, band-fade with a minimal_roi ladder. Long-or-short on 2-sigma band touches with RSI confirmation. Validated on BTC/ETH/SOL/DOGE; numbers and the exact ROI ladder are in the body./breakoutUse when writing a swing/intraday breakout strategy on Superior Trade — anything described as breakout, momentum, trend following, 12-hour high, range expansion, riding new highs, Donchian breakout. Note this template was unprofitable in our reference backtest (long-only in a -13% market); explain regime sensitivity to the user./catalyst-confirmationUse when a Polymarket prediction-market thesis rests on an external event — CPI, Fed, elections, court rulings, ETF decisions — and needs market confirmation before committing.npx claudepluginhub superior-trade/superior-skills --plugin superior-skillsOther plugins' skills for the same job