weex-trader-skill

Installation
SKILL.md

WEEX Trader Skill

Read manifest.json for routing rules. Open file-index.json only for file-level guidance. For every turn that uses this skill, before routing or UI launch, AI must run scripts/weex_agent_state.py --command skill.preflight --language <zh|en> --pretty so agent-init.json and agent-runtime.json stay fresh. Before any private profile, vault, or trading action, inspect the preflight output and stop if runtime.host.requirements_ready is false, runtime.host.missing_modules is non-empty, or runtime.env_validation.ok is false. On Windows and macOS, GUI profile and vault flows must use the managed GUI runtime. AI must not launch GUI entrypoints with the system, miniforge, pyenv, Homebrew, or OS Python even if that interpreter passes Tk or dependency probes. System interpreters may run preflight and the managed-runtime bootstrap only; they are not valid GUI runtimes. Preflight reports whether the managed GUI runtime is ready but must not download or install it implicitly. If init.host.gui_runtime.action is explicit_setup_required, explain the pinned uv/Python/dependency setup and checksum/hash verification, ask whether AI should install it, and only after clear user approval run init.host.gui_runtime.setup_command / scripts/weex_gui_bootstrap.py ensure --accept-managed-runtime --pretty. Use scripts/weex_gui_launcher.py for detached launch after runtime setup is ready.

Core Entry Points

  • scripts/weex_contract_api.py: contract/futures REST
  • scripts/weex_spot_api.py: spot REST
  • scripts/weex_trade_data_aggregator.py: normalize live/history into replay, profile, order-risk, and account-risk payloads
  • scripts/weex_trade_guard.py: preview order risk, preview TP/SL conditional order risk, scan account risk, persist pending intents, and require explicit confirmation before live orders
  • scripts/weex_trade_risk_review.py: local risk review helpers for standalone trade-guard preview/account-scan flows
  • scripts/weex_order_intent_state.py: store and validate pending order intents
  • scripts/weex_gui_launcher.py: detached launcher for GUI profile/vault entrypoints on macOS and Windows; vault launches accept --requested-action setup|unlock|status|lock
  • scripts/weex_profile_manager_zh.py / scripts/weex_profile_manager_en.py: Windows/macOS visual profile manager with a global vault control area
  • scripts/weex_profiles_zh.py / scripts/weex_profiles_en.py: terminal profile manager
  • scripts/weex_linux_profile_wizard_zh.sh / scripts/weex_linux_profile_wizard_en.sh: guided Linux onboarding
  • scripts/weex_vault_zh.py / scripts/weex_vault_en.py: cross-platform application vault setup, status, unlock, lock, and mode
Installs
3
GitHub Stars
5
First Seen
May 15, 2026
weex-trader-skill — weex-labs/weex-agent-skills