Token导航 LogoToken导航

Agent Skill · 运维和基础设施

hydrex(hydrex 命令行)

hydrex 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

hydrex 是运维和基础设施类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在运维和基础设施类的 2,449 个 Skill 里排第 1,651。

总安装 447周安装 19GitHub Stars 1,128下载 157核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/bankrbot/openclaw-skills --skill hydrex

这个 Skill 是做什么的

运维和基础设施类 Skill 处理部署、监控、日志和云资源,多数需要较高的执行权限。

hydrex 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态或协作事项进行整理。通过 npx 命令从指定仓库安装,需结合原始 README 核验具体用法。

安装前建议确认权限范围和维护状态,注意是否触发联网或文件读写操作。hydrex 属于运维和基础设施类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/hydrex

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

hydrex 怎么安装?

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

hydrex 支持哪些 AI 工具?

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

hydrex 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

hydrex 是免费的吗?

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

hydrex 用的人多吗?

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

hydrex 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 来源仓库有 1,128 星,维护活跃度相对可查。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理运维和基础设施类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

运维和基础设施类 Skill 对比

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

头脑风暴 · Codex、Claude

3,148,776173,131操作浏览器MIT通过
copywriting

文案写作 · Codex、Claude

1,996,72425,583需要联网MIT通过
openclaw-secure-linux-cloud

OpenClaw secure linux cloud 命令行 · Codex、Claude

1,853,08840接触敏感数据未明确未通过
xget

xget 命令行 · Codex、Claude

1,799,28040执行命令未明确未通过
requesting-code-review

代码审查请求 · Codex、Claude

1,590,144173,103权限未标注MIT通过
hydrex

hydrex 命令行 · 本页

4471,128需要联网未明确有提醒

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

SKILL.md 原文

Hydrex

Participate in Hydrex governance on Base. Lock HYDX to receive voting power, vote on liquidity pool strategies to direct emissions and rewards, deposit single-sided into auto-managed vaults to earn oHYDX yields, and claim oHYDX rewards from incentive campaigns.

Quick Start

Check Voting Power

What's my Hydrex voting power?

Lock HYDX for Voting Power

Lock 1000 HYDX on Hydrex with rolling lock

Vote on Pools

Vote optimally on Hydrex to maximize fees
Vote 50/50 on HYDX/USDC and cbBTC/WETH on Hydrex

Single-Sided Liquidity

What single-sided liquidity vaults can I deposit BNKR into on Hydrex?
Deposit 500 BNKR into the BNKR/WETH single-sided vault on Hydrex

Rewards

Check my Hydrex rewards
Claim my Hydrex oHYDX rewards
Convert my oHYDX to veHYDX on Hydrex

Core Capabilities

Locking HYDX

  • Lock HYDX to receive veHYDX (vote-escrowed HYDX)
  • Receive an NFT representing your locked position
  • Gain voting power starting next epoch
  • Rolling locks (Type 1) provide maximum voting power
  • Auto-extends to maintain 2-year lock with no manual management
  • Earning power = 1.3x voting power for fee distributions

Reference: references/locking.md

Voting on Pools

  • Vote to allocate voting power across liquidity pools
  • Direct HYDX emissions based on your votes
  • Earn fees from supported pools
  • Optimize for maximum fee returns
  • Natural language voting by pool name

Reference: references/voting.md

Single-Sided Liquidity (ICHI Vaults)

  • Deposit a single token into an auto-managed vault
  • Earn oHYDX yields on your deposited value
  • Vault manages both sides of the liquidity position
  • Withdraw with up to 70/30 split (deposit token / counter token)
  • No need to source both sides of a pair

Reference: references/single-sided-liquidity.md

Claiming and Managing Rewards

  • Check unclaimed oHYDX across all incentive campaigns
  • Claim all eligible rewards in a single transaction
  • Convert oHYDX into a veHYDX lock position via exerciseVe
  • Exercising oHYDX requires a discounted ETH payment and produces a rolling veHYDX lock

Reference: references/rewards.md

Contracts (Base Mainnet)

ContractAddress
HYDX Token0x00000e7efa313F4E11Bfff432471eD9423AC6B30
veHYDX (Voting Escrow)0x25B2ED7149fb8A05f6eF9407d9c8F878f59cd1e1
Voter0xc69E3eF39E3fFBcE2A1c570f8d3ADF76909ef17b
Vault Deposit Guard0x9A0EBEc47c85fD30F1fdc90F57d2b178e84DC8d8
Vault Deployer0x7d11De61c219b70428Bb3199F0DD88bA9E76bfEE
Incentive Distributor0x8604d646df5A15074876fc2825CfeE306473dD45
oHYDX Token0xA1136031150E50B015b41f1ca6B2e99e49D8cB78

Pool Information API

Get current liquidity pool data:

bankr agent "What are the top Hydrex pools by projected fees?"
bankr agent "Show me all Hydrex liquidity pools with their voting weights"

Key fields for voting optimization:

  • address — Pool address (voting target)
  • title — Pool name (e.g., "HYDX/USDC")
  • gauge.projectedFeeInUsd — Primary optimization metric
  • gauge.liveVotingWeight — Current competition for fees
  • gauge.votingAprProjection — Expected APR from voting

Efficiency formula: projectedFeeInUsd / liveVotingWeight = fee revenue per vote

Common Workflows

First-Time Setup

  1. Get HYDX — Acquire HYDX tokens on Base
  2. Approve HYDX — Approve veHYDX contract to spend HYDX
  3. Lock HYDX — Create rolling lock (Type 1) for voting power
  4. Wait for epoch — Voting power activates next epoch (~weekly)
  5. Vote — Allocate voting power to pools

Example:

# Step 1: Check HYDX balance
"What's my HYDX balance on Base?"

# Step 2 & 3: Approve and lock in one go
"Lock 1000 HYDX on Hydrex with rolling lock"

# Step 4: Wait for next epoch (typically next Thursday 00:00 UTC)

# Step 5: Vote optimally
"Vote optimally on Hydrex to maximize fees"

Optimized Voting

When you want maximum returns:

Vote optimally on Hydrex to maximize my fee earnings

Bankr will:

  1. Fetch all pools from API
  2. Calculate efficiency (fees per vote) for each pool
  3. Rank pools by efficiency
  4. Allocate votes to top pools
  5. Execute vote transaction

Named Pool Voting

Vote by pool name instead of addresses:

Vote 100% on HYDX/USDC on Hydrex
Vote 60% on HYDX/USDC and 40% on cbBTC/WETH on Hydrex
Vote 33/33/34 on HYDX/USDC, cbBTC/WETH, and USDC/USDbC on Hydrex

Changing Votes

Reallocate your voting power:

Change my Hydrex vote to 100% on cbBTC/WETH

This will reset current votes and apply new allocation.

Optimization Strategies

Simple Strategy

Vote 100% on the pool with highest projectedFeeInUsd / liveVotingWeight ratio.

Example:

Vote on the single best Hydrex pool by fees

Balanced Strategy

Split votes equally across top 3-5 efficient pools for diversification.

Example:

Vote equally on top 3 Hydrex pools by projected fees

Weighted Strategy

Allocate votes proportional to efficiency scores.

Example:

Vote on Hydrex pools weighted by their fee efficiency

Understanding Voting Power

How Voting Power Works

  1. Lock HYDX → Receive veHYDX NFT
  2. veHYDX amount = Your voting power
  3. Rolling locks (Type 1) = Maximum voting power with auto-extension
  4. Earning power = 1.3x voting power (used for fee distributions)
  5. Next epoch = Voting power activates
  6. Vote allocation = Direct emissions to pools

Checking Your Power

# Check voting power
bankr agent "What's my Hydrex voting power?"

# Check earning power (1.3x voting power)
bankr agent "What's my Hydrex earning power?"

# Check veHYDX NFT balance
bankr agent "Show my veHYDX NFT balance"

# Check a specific NFT's earning power
bankr agent "How much earning power does my veHYDX NFT #5 have?"

Display to users: Show earning power (voting power × 1.3) when discussing fee earnings, as this is what determines your share of distributions.

Vote Proportions

Vote weights are in basis points (10000 = 100%):

User SaysProportions
"100% on X"[10000]
"50/50 on X and Y"[5000, 5000]
"60/40 on X and Y"[6000, 4000]
"33/33/34 on X, Y, Z"[3333, 3333, 3334]
"25% each on 4 pools"[2500, 2500, 2500, 2500]

Proportions must sum to exactly 10000.

Epoch System

Hydrex operates on epochs:

  • Duration: Typically 1 week
  • Voting power activation: Next epoch after locking
  • Vote changes: Respect vote delay between changes
  • Epoch boundary: Usually Thursday 00:00 UTC

Example Prompts

Locking

  • "Lock 1000 HYDX on Hydrex with rolling lock"
  • "Create veHYDX rolling lock with 500 HYDX on Base"
  • "Add 250 HYDX to my veHYDX NFT #1"

Voting

  • "Vote optimally on Hydrex"
  • "Vote 50/50 on HYDX/USDC and cbBTC/WETH on Hydrex"
  • "Allocate my votes to top 3 Hydrex pools by fees"
  • "Change my Hydrex vote to 100% on HYDX/USDC"

Queries

  • "What's my Hydrex earning power?"
  • "Show me the best Hydrex pools to vote for"
  • "How much earning power does my veHYDX NFT #5 have?"

Single-Sided Liquidity

  • "What single-sided liquidity vaults are available on Hydrex?"
  • "What single-sided vaults can I deposit BNKR into on Hydrex?"
  • "Deposit 500 BNKR into the BNKR/WETH single-sided vault on Hydrex"
  • "Show my Hydrex single-sided liquidity positions"
  • "Withdraw my BNKR/WETH single-sided position on Hydrex"
  • "How much is my Hydrex BNKR vault position worth?"

Rewards

  • "Check my Hydrex rewards"
  • "How much oHYDX have I earned on Hydrex?"
  • "Claim my Hydrex oHYDX rewards"
  • "Claim all my unclaimed Hydrex incentives"
  • "What's my oHYDX balance on Base?"
  • "Convert my oHYDX to veHYDX on Hydrex"
  • "Exercise my oHYDX rewards into veHYDX"

Tips

For New Users

  • Start small: Lock a small amount first to learn the flow
  • Rolling locks: Use Type 1 for maximum voting power with auto-extension
  • Wait for epoch: Voting power activates at next epoch boundary
  • Let Bankr optimize: "Vote optimally" handles everything automatically
  • Earning power: Remember your fee earnings are based on 1.3x your voting power

For Active Voters

  • Track efficiency: Monitor projectedFeeInUsd / liveVotingWeight
  • Diversify votes: Split across 3-5 pools to reduce risk
  • Watch bribes: Check API for additional incentive opportunities
  • Respect delays: Vote delay prevents too-frequent changes
  • Use pool names: Easier than remembering addresses

For Maximizers

  • Efficiency > absolute fees: $5k fees with 100k weight beats $10k fees with 500k weight
  • Use earning power: Calculate earnings with 1.3x voting power for accurate projections
  • Rebalance periodically: Pool efficiency changes over time
  • Consider liquidity: High-volume pools may be more stable
  • Factor in bribes: Check gauge.bribes for extra rewards
  • Rolling locks: Type 1 automatically maintains 2-year duration for max power

Natural Language Voting Guide for Bankr

When processing Hydrex voting requests:

  1. Fetch pool data from https://api.hydrex.fi/strategies
  2. Get user earning power: Query voting power, multiply by 1.3
  3. Parse user intent:

- Pool names → Look up addresses in API (title field) - "Optimally" / "maximize fees" → Calculate efficiency rankings - Percentages → Convert to basis points (60% = 6000)

  1. Validate proportions sum to 10000
  2. Execute vote via voter contract 0xc69E3eF39E3fFBcE2A1c570f8d3ADF76909ef17b

When displaying earnings projections, always use earning power (voting power × 1.3), not raw voting power.

Example optimization logic:

curl -s https://api.hydrex.fi/strategies | jq '[.[] |
  select(.gauge.projectedFeeInUsd != null and .gauge.liveVotingWeight > 0) |
  {
    address,
    title,
    efficiency: (.gauge.projectedFeeInUsd / .gauge.liveVotingWeight)
  }
] | sort_by(-.efficiency) | .[0:3]'

Resources

Detailed References


💡 Pro Tip: Efficiency (fees per vote) matters more than absolute fees. Say "vote optimally on Hydrex" and let Bankr handle the math. Remember your earnings are based on earning power (1.3x voting power).

⚠️ Important: Rolling locks (Type 1) automatically extend to maintain 2-year duration. This maximizes your voting power without manual management.

🚀 Quick Win: Lock HYDX with rolling lock, wait for next epoch, then say "vote optimally on Hydrex to maximize fees" — Bankr calculates using your earning power and does the rest.

平台分布

Codex

35.02%
按下载量换算55

Claude

29.65%
按下载量换算47

Cursor

22.07%
按下载量换算35

Gemini CLI

9.55%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills