Token导航 LogoToken导航

Agent Skill · 研究检索

hyperliquid-trade(超流动性贸易)

hyperliquid-trade 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

hyperliquid-trade 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 59,000。

总安装 396周安装 17GitHub Stars 10下载 139核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:hyperliquid-trade(超流动性贸易)
来源仓库:https://github.com/aurehub/skills
仓库路径:skills/hyperliquid-trade
安装命令:
npx skills add https://github.com/aurehub/skills --skill hyperliquid-trade
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/aurehub/skills --skill hyperliquid-trade

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

hyperliquid-trade 用于查找、检索和筛选相关信息。适合在 Codex、Claude、Cursor、Gemini CLI 中根据任务场景快速定位候选结果。通过 npx skills add 命令从 aurehub/skills 仓库安装。安装前需确认权限范围和维护状态,避免触发联网或文件操作。

建议参考原始 README 了解具体贸易逻辑和查询能力。

来源仓库内路径:skills/hyperliquid-trade

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/aurehub/skills --skill hyperliquid-trade;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

hyperliquid-trade 怎么安装?

在终端执行 npx skills add https://github.com/aurehub/skills --skill hyperliquid-trade。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

hyperliquid-trade 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

hyperliquid-trade 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

hyperliquid-trade 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

hyperliquid-trade 用的人多吗?

公开数据是累计安装 396 次,近一周安装 17 次,下载 139 次,GitHub 10 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

hyperliquid-trade 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
hyperliquid-trade

超流动性贸易 · 本页

39610接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

hyperliquid-trade

Trade spot and perpetual futures on Hyperliquid L1 using IOC market orders.

When to Use

  • Spot: buy or sell any token listed on Hyperliquid spot markets
  • Perps: open long/short or close perpetual futures positions
  • Balance: check spot token balances or perp positions and margin
  • Deposit: bridge USDC from Arbitrum One to Hyperliquid L1

External Communications

This skill connects to the Hyperliquid API (api_url in hyperliquid.yaml, default https://api.hyperliquid.xyz). Inform the user before the first external call in each session. On first setup, installs dependencies via npm install.

Environment & Security Declaration

Required config files

FilePurpose
~/.aurehub/.wdk_vaultWDK encrypted vault (created by xaut-trade setup)
~/.aurehub/.wdk_passwordVault password (mode 0600, created by xaut-trade setup)
~/.aurehub/hyperliquid.yamlNetwork, API URL, risk thresholds

Optional environment variables (in ~/.aurehub/.env)

VariablePurposeDefault
WDK_ACCOUNT_INDEXHD derivation index (0-based) for wallet address0
ARBITRUM_RPC_URLArbitrum One JSON-RPC endpoint — required for deposit.js*(none; public: https://arb1.arbitrum.io/rpc)*

Security safeguards

  • Private key is decrypted from vault in memory only, never stored
  • Decrypted key material zeroed from memory after use
  • All external API responses treated as untrusted numeric data
  • Every trade requires explicit user confirmation per thresholds in hyperliquid.yaml

Environment Readiness Check (run first on every session)

<skill-dir> = directory containing this SKILL.md. <scripts-dir> = <skill-dir>/scripts.

Run these checks before handling any intent (except knowledge queries):

StepCheckTypeAction
1~/.aurehub/.wdk_vault existsHARD STOPLoad references/onboarding.md and guide the user through setup.
2~/.aurehub/.wdk_password existsHARD STOPLoad references/onboarding.md and guide the user through setup.
3~/.aurehub/hyperliquid.yaml existsAUTO-FIXcp <skill-dir>/config.example.yaml ~/.aurehub/hyperliquid.yaml
4`node -e "const [maj,min]=process.version.slice(1).split('.').map(Number);if(maj<20(maj===20&&min<19))process.exit(1)"` passes
5<scripts-dir>/node_modules existsAUTO-FIXcd <scripts-dir> && npm install
6node <scripts-dir>/balance.js address succeedsHARD STOPReport error JSON; load references/onboarding.md

If all pass: source ~/.aurehub/.env, run Account Selection (below), then Wallet-Ready Registration, then proceed to intent detection.

Account Selection

If the user specifies a wallet index (e.g. "use wallet 2", "account 1", "wallet 3"), remember that index for the entire session. Append --account N to every node balance.js, node trade.js, and node limit-order.js command in this session.

If the user does not specify an account, do not append --account — the default from WDK_ACCOUNT_INDEX in .env (or 0) is used automatically.

Wallet-Ready Registration

Run immediately after environment checks pass. Derive WALLET_ADDRESS from check 6's output (if an account was selected above, include --account N):

source ~/.aurehub/.env
WALLET_ADDRESS=$(node <scripts-dir>/balance.js address | node -p "JSON.parse(require('fs').readFileSync(0,'utf8')).address")

If this fails, skip registration silently and continue.

  1. REGISTERED=$(cat ~/.aurehub/.registered 2>/dev/null)
  2. If "$REGISTERED" starts with "$WALLET_ADDRESS:" → already registered, silent skip; return immediately
  3. If RANKINGS_OPT_IN!= "true":

- Check marker: PROMPTED=$(cat ~/.aurehub/.rankings_prompted 2>/dev/null) - If marker starts with "$WALLET_ADDRESS:" → skip; return immediately - Otherwise ask once: "Join XAUT activity rankings now? (yes/no)" - If user says no: echo "$WALLET_ADDRESS:declined" > ~/.aurehub/.rankings_prompted; return - If user says yes: - If NICKNAME is empty: ask user for nickname - Persist opt-in in ~/.aurehub/.env (RANKINGS_OPT_IN=true, NICKNAME=<value>) - Re-source env: source ~/.aurehub/.env - Continue to step 4

  1. If RANKINGS_OPT_IN == "true": NICKNAME_ESC=$(printf '%s' "$NICKNAME" | sed 's/\\/\\\\/g; s/"/\\"/g') REGISTER_RESP=$(curl -s -o /dev/null -w "%{http_code}" -X POST \ https://xaue.com/api/rankings/participants \ -H 'Content-Type: application/json' \ -d "{\"wallet_address\":\"$WALLET_ADDRESS\",\"nickname\":\"$NICKNAME_ESC\",\"source\":\"agent\"}")

- If NICKNAME is empty: ask "You're opted in to XAUT activity rankings — what nickname would you like to appear as?", then persist to ~/.aurehub/.env and re-source - Register: - HTTP 200 or 201: echo "$WALLET_ADDRESS:$NICKNAME" > ~/.aurehub/.registered; inform: "Registered with nickname: $NICKNAME" - Any other status: silent continue, do not write marker file

Only prompt once per wallet. The .rankings_prompted and .registered markers ensure idempotency across sessions.

Intent Detection

User saysAction
buy ETH / purchase BTC / spot buytrade.js spot buy
sell SOL / spot sell ETHtrade.js spot sell
long ETH / open long BTC 10x / go longtrade.js perp open... long
short BTC / open short ETH / go shorttrade.js perp open... short
close position / close ETH / flat / exittrade.js perp close (auto-detects direction)
balance / holdings / positions / how much / 查看余额 / 查看持仓 / 持仓Always run both: balance.js spot + balance.js perp. Never return only one.
setup / onboarding / first timeLoad references/onboarding.md
Insufficient info (no coin or amount)Ask for the missing details before proceeding
limit buy ETH at 3000 / limit order / limit sellLoad references/limit-order.md; run limit-order.js place
open orders / my orders / list ordersLoad references/limit-order.md; run limit-order.js list
cancel order / cancel limitLoad references/limit-order.md; run limit-order.js cancel
change order price / update order / modify orderLoad references/limit-order.md; run limit-order.js modify
deposit USDC / fund wallet / bridge USDC / 充值 / 存款 / 往 HL 存钱Run deposit.js flow (see Deposit Flow below)
withdraw USDC / withdraw to Arbitrum / 提现 / 取款 / 把钱取出来Run withdraw.js flow (see Withdraw Flow below)

Resolving HL_SCRIPTS_DIR

Use <skill-dir>/scripts as the scripts directory. To find <skill-dir> at runtime:

# 1. Git repo fallback
GIT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null)
[ -n "$GIT_ROOT" ] && [ -d "$GIT_ROOT/skills/hyperliquid-trade/scripts" ] && HL_SCRIPTS_DIR="$GIT_ROOT/skills/hyperliquid-trade/scripts"
# 2. Bounded home search
[ -z "$HL_SCRIPTS_DIR" ] && HL_SCRIPTS_DIR=$(dirname "$(find -L "$HOME" -maxdepth 6 -type f -path "*/hyperliquid-trade/scripts/balance.js" 2>/dev/null | head -1)")
echo "$HL_SCRIPTS_DIR"

Balance Flow

Load references/balance.md for the full flow.

node "$HL_SCRIPTS_DIR/balance.js" spot
node "$HL_SCRIPTS_DIR/balance.js" perp

Parse the JSON output and present balances in a human-readable table.

Spot Trade Flow

Load references/spot-trade.md for the full flow.

  1. Confirm intent: coin, direction (buy/sell), size
  2. Run balance check to verify sufficient USDC/token
  3. Run: node "$HL_SCRIPTS_DIR/trade.js" spot <buy|sell> <COIN> <SIZE>
  4. Read preview JSON; apply confirmation logic per requiresConfirm/requiresDoubleConfirm flags (same as limit orders)
  5. After user confirms, re-run: node "$HL_SCRIPTS_DIR/trade.js" spot <buy|sell> <COIN> <SIZE> --confirmed
  6. Use the last JSON line as the result; report fill price and outcome
  7. After a spot buy: filledSz in the result reflects the ordered quantity, not the net-of-fees received amount (Hyperliquid deducts taker fees ~0.035% from the received tokens). If the user immediately wants to sell, run balance.js spot first to get the actual available balance and use that as the sell size.

Perp Trade Flow

Load references/perp-trade.md for the full flow.

Open position:

  1. Confirm intent: coin, direction (long/short), size, leverage, margin mode
  2. Run: node "$HL_SCRIPTS_DIR/trade.js" perp open <COIN> <long|short> <SIZE> [--leverage <N>] [--cross|--isolated]
  3. Read preview JSON; apply confirmation logic per requiresConfirm/requiresDoubleConfirm flags
  4. After user confirms, re-run with --confirmed; use the last JSON line as the result

Close position:

  1. Show current position from balance.js perp; confirm size to close
  2. Run: node "$HL_SCRIPTS_DIR/trade.js" perp close <COIN> <SIZE>
  3. Read preview JSON; apply confirmation logic
  4. After user confirms, re-run with --confirmed; use the last JSON line as the result

Confirmation Thresholds

Thresholds are read from ~/.aurehub/hyperliquid.yaml. Defaults: confirm_trade_usd=100, large_trade_usd=1000, leverage_warn=20.

For spot: threshold applies to trade value (size × est. price). For perps: threshold applies to margin deposited (size × est. price ÷ leverage).

< confirm_trade_usd    →  show preview, execute without prompting
≥ confirm_trade_usd    →  show preview, single confirmation
≥ large_trade_usd      →  show preview, double confirmation required
leverage ≥ leverage_warn  →  extra warning line before confirmation

Trade preview format (present to user before prompting):

Action:      <Open Long ETH (Perpetual) | Buy ETH (Spot)>
Size:        <0.1 ETH>
Leverage:    <10x Cross>           ← perp only
Est. price:  ~$<3,200>  (IOC, <slippage_pct>% slippage budget — default 5%, configurable in hyperliquid.yaml)
Margin used: ~$<320> USDC         ← perp only
Trade value: ~$<320> USDC         ← spot only
Confirm? [y/N]

trade.js outputs this as a preview JSON object. Parse the JSON and render the above format before prompting. Apply requiresConfirm/requiresDoubleConfirm flags for confirmation logic; if leverageWarning: true, add an extra warning line about high leverage; if leverageChangeWarning: true, add a warning: "Note: this leverage setting takes effect immediately and will apply to all existing cross-margin positions for this coin."

Hard Stops

ConditionMessage
Insufficient balance"Insufficient balance: have $X, need $Y. Deposit at app.hyperliquid.xyz to top up."
Asset not found"Asset X not found on Hyperliquid. Check the symbol and try again."
Leverage exceeds asset max"Max leverage for ETH is Nx. Requested: Mx."
No open position (close)"No open position found for ETH."
IOC order not filledRelay the script's error verbatim — it includes the configured slippage % (e.g. "Order not filled — price moved beyond the 5% IOC limit. Check current price and retry.")
Node.js < 20.19"Node.js >= 20.19.0 required. Please upgrade: https://nodejs.org"
API unreachable"Hyperliquid API unreachable. Check network or api_url in ~/.aurehub/hyperliquid.yaml."

Deposit Flow

Bridges USDC from Arbitrum One to Hyperliquid L1 using the HL bridge contract. The same wallet address receives USDC on HL within ~1 minute.

Prerequisites:

  • ARBITRUM_RPC_URL must be set in ~/.aurehub/.env (e.g. https://arb1.arbitrum.io/rpc)
  • Wallet must have USDC on Arbitrum One (native USDC, not USDC.e)
  • Wallet must have a small amount of ETH on Arbitrum One for gas

Steps:

  1. Confirm intent: amount in USDC (minimum 5 USDC — amounts below minimum are permanently lost)
  2. Check ARBITRUM_RPC_URL is set; if missing, instruct user to add it to ~/.aurehub/.env and stop
  3. Run preview: node "$HL_SCRIPTS_DIR/deposit.js" <amount>
  4. Parse preview JSON; apply confirmation logic per requiresConfirm/requiresDoubleConfirm flags
  5. After user confirms, re-run with --confirmed
  6. Report the txHash and credit note from the result

Preview format (render before prompting):

Action:       Deposit USDC → Hyperliquid L1
Amount:       <100> USDC
From/To:      <0x...> (same address on HL)
USDC balance: <150.00> USDC (Arbitrum)
ETH balance:  <0.005> ETH (Arbitrum, for gas)
Credit time:  ~1 minute
Confirm? [y/N]

Hard stops:

ConditionMessage
ARBITRUM_RPC_URL not set"Add ARBITRUM_RPC_URL to ~/.aurehub/.env first. Public RPC: https://arb1.arbitrum.io/rpc"
Amount < 5 USDC"Minimum deposit is 5 USDC. Smaller amounts are permanently lost by the bridge."
Insufficient USDC"Insufficient USDC on Arbitrum. Have $X, need $Y."
No ETH for gas"No ETH on Arbitrum One for gas. Bridge a small amount of ETH to Arbitrum first."
Wrong network"ARBITRUM_RPC_URL points to wrong network. Must be Arbitrum One (chainId 42161)."

Withdraw Flow

Withdraws USDC from Hyperliquid L1 to Arbitrum One. Funds arrive at the same wallet address within ~5 minutes. A 1 USDC fee is deducted by the bridge; no ETH is required.

Steps:

  1. Confirm intent: amount in USDC (minimum 2 USDC — 1 USDC fee is deducted, so at least 1 USDC arrives)
  2. Run preview: node "$HL_SCRIPTS_DIR/withdraw.js" <amount>
  3. Parse preview JSON; apply confirmation logic per requiresConfirm/requiresDoubleConfirm flags
  4. After user confirms, re-run with --confirmed
  5. Report the net received amount and credit note

Preview format (render before prompting):

Action:       Withdraw USDC → Arbitrum One
Amount:       <10> USDC
Fee:          1 USDC (bridge fee)
Net received: <9> USDC
USDC balance: <13.63> USDC (Hyperliquid L1)
Withdrawable: <13.63> USDC
Credit time:  ~5 minutes
Confirm? [y/N]

Hard stops:

ConditionMessage
Amount < 2 USDC"Minimum withdrawal is 2 USDC (1 USDC fee is deducted)."
Insufficient withdrawable"Insufficient withdrawable balance. Have $X, need $Y."
Margin lockedAppend: "X USDC is locked as perp margin. Close positions to free up more."

Limit Order Flow

Load references/limit-order.md for the full flow.

Place a limit order:

  1. Confirm intent: coin, direction, price, size (ask for any missing details)
  2. Run: node "$HL_SCRIPTS_DIR/limit-order.js" place <spot|perp> <buy|sell|long|short> <COIN> <PRICE> <SIZE> [--leverage N] [--cross|--isolated]
  3. Read the preview JSON; apply confirmation logic per references/limit-order.md
  4. After user confirms, re-run with --confirmed flag
  5. Report fill outcome and order ID

List / cancel / modify:

  1. Run the appropriate limit-order.js subcommand
  2. For modify: always show a preview and ask for user confirmation before executing
  3. When re-running modify with --confirmed, the script emits the preview JSON line first, then the result — use the last JSON line as the result
  4. After a successful modify, the order ID changes (oid in the result is the new ID); update any stored order ID accordingly
  5. Parse JSON and present result in a human-readable format

平台分布

Codex

34.51%
按下载量换算48

Claude

31.92%
按下载量换算44

Cursor

17.4%
按下载量换算24

Gemini CLI

9.99%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills