Agent SkillsSuperior-Trade/superior-skills › superior-trade-auth

superior-trade-auth

GitHub

用于获取 Superior Trade API 密钥并建立认证连接,支持通过邮箱注册、配置 x-api-key 头及处理凭证失效问题,确保后续交易策略操作的鉴权安全。

Trigger Scenarios

需要请求 Superior Trade API 密钥 用户缺少或无效 API 凭证导致 401/403 错误 进行前置鉴权以执行回测或部署

Install

npx skills add Superior-Trade/superior-skills --skill superior-trade-auth -g -y
More Options

Use without installing

npx skills use Superior-Trade/superior-skills@superior-trade-auth

指定 Agent (Claude Code)

npx skills add Superior-Trade/superior-skills --skill superior-trade-auth -a claude-code -g -y

安装 repo 全部 skill

npx skills add Superior-Trade/superior-skills --all -g -y

预览 repo 内 skill

npx skills add Superior-Trade/superior-skills --list

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": "Request and use a Superior Trade API key for https:\/\/api.superior.trade. Use when an agent needs to onboard a user by email, request an API key with POST \/auth\/sign-in\/magic-link, set up x-api-key authentication, or recover from missing\/invalid Superior Trade credentials (401\/403) before backtesting or deploying a strategy."
}

Superior Trade Authentication

Use this skill to get a Superior Trade API key and make authenticated requests to https://api.superior.trade.

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 the key with:

curl -sS https://api.superior.trade/auth/sign-in/magic-link \
  -X POST \
  -H 'Content-Type: application/json' \
  -d '{"email":"user@example.com"}'

The API sends the key directly to the user's inbox. Tell the user to retrieve the key from their email and configure it 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://api.superior.trade/v2/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_KEY from the environment or credential manager when it is available.
  • Use https://api.superior.trade as the production API base URL.
  • Use Content-Type: application/json for 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 path
  • skills/hyperliquid — Hyperliquid perps and spot, including HIP-3 stocks and commodities
  • skills/polymarket — Polymarket discovery, backtests, and deployments
  • skills/lighter — Lighter bootstrap, CCTP deposits, returns, and Nautilus deployments
  • skills/aerodrome — Aerodrome/Base spot-AMM workflows
  • skills/deposit-qr — QR code or payment URI to fund a Superior-managed wallet
  • skills/external-deposit — external bridge links, Relay quotes, MetaMask Mobile QR

Version History

  • 9333090 Current 2026-08-16 16:11
  • 201271f 2026-08-06 08:51
  • 85f77be 2026-08-02 21:43

Dependencies

Same Skill Collection

skills/aerodrome/SKILL.md
skills/backtesting/SKILL.md
skills/basis-arb/SKILL.md
skills/bollinger-reverter-4h/SKILL.md
skills/breakout/SKILL.md
skills/catalyst-confirmation/SKILL.md
skills/dca-weekly/SKILL.md
skills/deadline-drift/SKILL.md
skills/deposit-qr/SKILL.md
skills/donchian-strong-regime/SKILL.md
skills/dsl-exit-engine/SKILL.md
skills/external-deposit/SKILL.md
skills/fees-optimizations/SKILL.md
skills/funding-rate-arbitrage/SKILL.md
skills/funding-squeeze/SKILL.md
skills/grid-trading/SKILL.md
skills/hyperliquid/SKILL.md
skills/intelligence/SKILL.md
skills/large-fill-pressure/SKILL.md
skills/lighter-robinhood/SKILL.md
skills/lighter/SKILL.md
skills/mean-reversion/SKILL.md
skills/polymarket/SKILL.md
skills/probability-mean-reversion/SKILL.md
skills/probability-momentum/SKILL.md
skills/regime-overlay/SKILL.md
skills/related-market-spread/SKILL.md
skills/scalping/SKILL.md
skills/superior-trade/SKILL.md
skills/trade-thesis/SKILL.md
skills/v2/exchanges/aerodrome/SKILL.md
skills/v2/exchanges/hyperliquid/SKILL.md
skills/v2/primitives/backtesting/SKILL.md
skills/v2/primitives/fees-optimizations/SKILL.md
skills/v2/primitives/trade-thesis/SKILL.md
skills/v2/strategies/basis-arb/SKILL.md
skills/v2/strategies/bollinger-reverter-4h/SKILL.md
skills/v2/strategies/breakout/SKILL.md
skills/v2/strategies/dca-weekly/SKILL.md
skills/v2/strategies/donchian-strong-regime/SKILL.md
skills/v2/strategies/funding-rate-arbitrage/SKILL.md
skills/v2/strategies/funding-squeeze/SKILL.md
skills/v2/strategies/grid-trading/SKILL.md
skills/v2/strategies/mean-reversion/SKILL.md
skills/v2/strategies/scalping/SKILL.md
skills/v3/exchanges/lighter-robinhood/SKILL.md
skills/v3/exchanges/lighter/SKILL.md
skills/v3/exchanges/polymarket/SKILL.md
skills/v3/polymarket-archetypes/catalyst-confirmation/SKILL.md

Metadata

Files
0
Version
9333090
Hash
16bfccd3
Indexed
2026-08-02 21:43

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-27 00:54
浙ICP备14020137号-1 $Carte des visiteurs$