lighter

GitHub

用于通过 Superior Trade Unified API 进行 Lighter 市场发现、Nautilus 回测、部署及执行。需先检查 API 契约,遵循严格的安全规则,处理账户就绪状态及资金操作,并区分 Robinhood Chain 变体。

skills/lighter/SKILL.md Superior-Trade/superior-skills

Trigger Scenarios

需要查询或执行 Lighter 市场的交易或数据 进行 Nautilus 策略的回测或部署 检查 Lighter 账户钱包状态或资金可用性

Install

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

Use without installing

npx skills use Superior-Trade/superior-skills@lighter

指定 Agent (Claude Code)

npx skills add Superior-Trade/superior-skills --skill lighter -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": "lighter",
    "metadata": {
        "env": [
            {
                "name": "SUPERIOR_TRADE_API_KEY",
                "type": "api_key",
                "required": true,
                "description": "Superior Trade API key (x-api-key header). Obtained at https:\/\/account.superior.trade. Used for Unified wallet reads, market context, backtests, and contract-supported Lighter deployments."
            }
        ],
        "auth": {
            "env": "SUPERIOR_TRADE_API_KEY",
            "type": "api_key",
            "scope": "Read the user's Unified wallet and Lighter market context, and manage contract-supported Nautilus backtests and deployments. One-time actions, venue-specific onboarding, deposits, and withdrawals are available only when the Unified OpenAPI contract explicitly exposes them. Cannot export private keys or access other users' data.",
            "header": "x-api-key"
        },
        "source": "https:\/\/github.com\/Superior-Trade",
        "updated": 1784678400,
        "version": "1.0.2",
        "homepage": "https:\/\/account.superior.trade",
        "primaryEnv": "SUPERIOR_TRADE_API_KEY",
        "externalEndpoints": [
            {
                "url": "https:\/\/unified-api-zag4gzx6gq-an.a.run.app",
                "purpose": "Unified Lighter market context, wallet reads, backtests, and deployments"
            }
        ]
    },
    "description": "Use when researching, backtesting, deploying, or running a supported one-time Lighter action through the Superior Trade Unified API."
}

Superior Trade Lighter

Use this skill for Lighter market discovery, Nautilus backtests and deployments, managed-wallet checks, and supported typed executions through Unified API.

Read ../../references/unified-runtime.md before making any request. The OpenAPI contract, not older venue workflows, defines which Lighter operations are available.

Base URL: https://unified-api-zag4gzx6gq-an.a.run.app Auth: x-api-key: $SUPERIOR_TRADE_API_KEY Venue config: { "venue": "lighter", "instrument_id": "<SYMBOL>.LIGHTER" }

Unified API only

Read ../../references/unified-runtime.md before onboarding, backtesting, deployment, or execution. Use GET /context/venues and GET /runtime/frameworks first, then the Unified runtime endpoints. If the contract does not expose the required Lighter operation, report it as unavailable.

Robinhood Chain Variant

Use the separate lighter-robinhood skill and venue name for Robinhood Chain Lighter. Do not treat lighter-robinhood as an alias for this default lighter profile; it uses a different venue profile, chain id, deposit asset, and instrument suffix.

Safety Rules

  • Never ask for private keys, seed phrases, API private keys, passwords, or wallet credentials.
  • Never log, echo, store, or display secrets. The only credential an agent should use is SUPERIOR_TRADE_API_KEY.
  • Never move funds or start live trading without explicit user confirmation.
  • Never submit a Lighter order without explicit user confirmation of market, side, size, order type, and risk.
  • Treat any contract-supported Lighter deposit or withdrawal as a real fund-moving action.
  • Do not retry an ambiguous execution or withdrawal automatically. Read its durable status and report the persisted state.
  • Do not claim managed-wallet funds are available on Lighter unless Unified API returns the required readiness and balance evidence.
  • Do not claim Lighter readiness or balance without querying the API.
  • If onboarding, CCTP funding, delayed withdrawal, or signed proxy submission is absent from GET /openapi.json, report it as unavailable.

Account readiness

Read the managed wallet with GET /wallet and venue support with GET /context/venues. Do not infer a Lighter-specific account state machine from generic wallet history. If Unified API does not return the readiness data needed for a live deployment, report the deployment as unavailable rather than reusing an older onboarding flow.

Reference files

Load on demand.

Read When
references/api.md You need Unified routing for market context, wallet readiness, backtests, deployments, or supported typed executions.
references/deployment.md You are creating, starting, stopping or monitoring a Lighter Nautilus deployment.

Related Skills

  • Use superior-trade-auth first when the user needs an API key.
  • Use trade-thesis before deploying a new live strategy idea.
  • Use hyperliquid for Hyperliquid workflows. Lighter deployments use the same Unified runtime lifecycle with the Nautilus framework.

Version History

  • d6f188f Current 2026-09-08 20:00

    重构技能以迁移至 Unified API,更新基础 URL 和参考文档,强调基于 OpenAPI 契约的操作验证。

  • 9333090 2026-08-16 16:12

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/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
d6f188f
Hash
8e0efcc3
Indexed
2026-08-16 16:12

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-10 06:34
浙ICP备14020137号-1 $방문자$