superior-trade-auth
GitHub用于注册 Superior Trade 账户、验证邮箱 OTP、配置 x-api-key 认证及恢复凭据,以便调用 Unified API。
Trigger Scenarios
Install
npx skills add Superior-Trade/superior-skills --skill superior-trade-auth -g -y
SKILL.md
Frontmatter
{
"name": "superior-trade-auth",
"license": "see LICENSE",
"metadata": {
"version": "1.0.0",
"openclaw": {
"envVars": [
{
"name": "SUPERIOR_TRADE_API_KEY",
"required": true,
"description": "Superior Trade API key, sent as the x-api-key header."
}
],
"requires": {
"env": [
"SUPERIOR_TRADE_API_KEY"
]
},
"primaryEnv": "SUPERIOR_TRADE_API_KEY"
}
},
"description": "Use when an agent needs to register a Superior Trade account, verify an email OTP, configure x-api-key authentication, or recover from missing or invalid credentials before using the Unified API."
}
Superior Trade Authentication
Use this skill to get a Superior Trade API key and make authenticated requests to https://unified-api-zag4gzx6gq-an.a.run.app.
API Key Onboarding
If a user does not already have a Superior Trade API key, ask for the email address that should receive the key. Do not ask for wallet keys, seed phrases, private keys, passwords, or other secrets.
Request a verification OTP with:
curl -sS https://unified-api-zag4gzx6gq-an.a.run.app/account/register \
-X POST \
-H 'Content-Type: application/json' \
-d '{"email":"user@example.com"}'
Ask the user for the OTP sent to that inbox, then exchange it for an API key:
curl -sS https://unified-api-zag4gzx6gq-an.a.run.app/account/verify \
-X POST \
-H 'Content-Type: application/json' \
-d '{"email":"user@example.com","otp":"123456"}'
Tell the user to configure the returned key in their normal credential store or environment, usually as SUPERIOR_TRADE_API_KEY.
Do not paste the received key into chat, source files, logs, or examples. If the user provides a key in chat, treat it as a secret and avoid repeating it.
Authenticated Requests
Use the key in the x-api-key header:
curl -sS https://unified-api-zag4gzx6gq-an.a.run.app/account \
-H "x-api-key: $SUPERIOR_TRADE_API_KEY"
The email is verified once the API key is used successfully in an authenticated request such as the status check above. If the first authenticated request fails with 401 or 403, ask the user to confirm they copied the full key from the latest email and that the credential is being passed as the x-api-key header.
Operating Rules
- Prefer
SUPERIOR_TRADE_API_KEYfrom the environment or credential manager when it is available. - Use
https://unified-api-zag4gzx6gq-an.a.run.appas the production API base URL. - Use only the unversioned Unified API contract from
GET /openapi.json. - Use
Content-Type: application/jsonfor JSON request bodies. - Never fabricate authentication status. Verify by making a real API call when credentials are available.
- Never request or handle private keys, seed phrases, or wallet credentials.
- Never start live trading, deposits, or other fund-moving actions without the explicit confirmations required by the relevant Superior Trade trading skill.
Next: the rest of the library
This page covers authentication only. Everything past the API key — funding, strategy selection, backtesting, deployment — lives in the installable skill library.
Install it:
npx skills add Superior-Trade/superior-skills
Then load skills/superior-trade, which owns the full path from an empty account to a running strategy and hands off to the venue skills.
skills/superior-trade— start here; the access → funding → backtest → deploy pathskills/hyperliquid— Hyperliquid perps and spot, including HIP-3 stocks and commoditiesskills/polymarket— Polymarket discovery, backtests, and deploymentsskills/lighter— Lighter market context, wallet checks, backtests, and contract-supported Nautilus deploymentsskills/aerodrome— Aerodrome/Base spot-AMM workflowsskills/deposit-qr— QR code or payment URI to fund a Superior-managed walletskills/external-deposit— external bridge links, Relay quotes, MetaMask Mobile QR
Version History
-
d6f188f
Current 2026-09-08 19:58
将公共包迁移至 Unified API,更新 API 端点与注册流程。
- 9333090 2026-08-16 16:11
- 201271f 2026-08-06 08:51
- 85f77be 2026-08-02 21:43
Dependencies
- suggested superior-trade-auth


