agentleFS
Superior-TradeSuperior-Trade/superior-skills/SKILL.md

superior-trade-auth

Skill214 starsChanged 3 months agoMITView on GitHub

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.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 6 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

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

    line 20
  2. Distinctive:

    If a user does not already have a Superior Trade API key, ask for the email address that should receive the key.

    line 24
  3. Distinctive:

    Ask the user for the OTP sent to that inbox, then exchange it for an API key:

    line 35
  4. Distinctive:

    Do not paste the received key into chat, source files, logs, or examples.

    line 46
  5. Very specific:

    Use the key in the x-api-key header:

    line 50
  6. Very specific:

    Prefer SUPERIOR_TRADE_API_KEY from the environment or credential manager when it is available.

    line 61
  7. Very specific:

    Use https://api.superior.trade as the production API base URL.

    line 62
  8. Very specific:

    Use only the unversioned Unified API contract from GET /openapi.json.

    line 63
  9. Very specific:

    Use Content-Type: application/json for JSON request bodies.

    line 64
  10. Distinctive:

    Never fabricate authentication status.

    line 65
  11. Distinctive:

    Never request or handle private keys, seed phrases, or wallet credentials.

    line 66
  12. Distinctive:

    Never start live trading, deposits, or other fund-moving actions without the explicit confirmations required by the relevant Superior Trade …

    line 67

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 a verification OTP with:

curl -sS https://api.superior.trade/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://api.superior.trade/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://api.superior.trade/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 only the unversioned Unified API contract from GET /openapi.json.
  • 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 market context, wallet checks, backtests, and contract-supported 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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.