Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

haedal-vehaedal海达尔韦海达尔

Agent Skill

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

总安装

188

周安装

8

GitHub Stars

公开资料未说明

下载量

66
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/haedallsd/haedal-skill --skill haedal-vehaedal

简介

haedal-vehaedal 用于查找、检索和筛选信息,支持按任务需求定位内容。

  • 适合在研究、资料整理或知识发现等场景中辅助信息获取。
  • 通过 GitHub 安装,可在 Codex、Claude、Cursor 和 Gemini CLI 中使用。
  • 使用前应核实其是否具备联网能力、数据源合法性及操作权限。
  • 建议参考原始仓库说明,确保功能理解正确且符合安全规范。

SKILL.md

Haedal VeHaedal

Haedal Protocol is a DeFi ecosystem on the SUI blockchain. VeHaedal is its vote-escrowed governance token: lock HAEDAL for veHaedal to earn rewards and voting power; lock duration and optional decay affect reward rates. This skill calls the Haedal Skills API for add stake, extend lock, claim rewards, decay control, and unstake — no custom scripts required.

Call the VeHaedal HTTP APIs directly with curl.

All numeric parameters are human‑readable amounts: pass amount and similar quantity fields as human‑readable values, without multiplying by decimals. For example, to stake 20 tokens, simply send "amount":"20".

Querying veHaedal objects (get_vehaedal_list)

Several methods (add_to_existing_stake, extend_existing_lock, start_decay, stop_decay, unstake_and_claim) require a vehaedalObj — the object ID of an existing veHaedal position. When the user triggers one of these methods:

  1. Ask the user whether they already have the veHaedal object ID. If yes, use it directly.
  2. If discovery is needed: call get_vehaedal_list with the user's address. On HTTP 200 the response body is: {"list": [{"objectId": "0x...", "fields": {"current_amount": "10000000000", "initial_amount": "10000000000", "is_decaying": true, "lock_end_time": "1803708378450", "lock_start_time": "1772258778450", "locked_amount": "10000000000", "original_lock_weeks": "52", "owner": "0x...", "remaining_lock_weeks_when_stopped_decay": "52", "token_type": {"fields": {"name": "...::haedal::HAEDAL"}, "type": "0x1::type_name::TypeName"}}}]}
  3. Present the list to the user in a readable format — show key fields such as objectId, current_amount, locked_amount, is_decaying, original_lock_weeks, lock_end_time for each entry.
  4. Let the user choose which veHaedal object to operate on (or take the first entry if only one exists). Use the selected objectId as the vehaedalObj parameter for the subsequent call.

Flow summary: user triggers a method that requires vehaedalObj → ask if they have the object ID → if not, call get_vehaedal_list(address) → present the list → user selects one → take that objectId as vehaedalObj → call the target method.

Base URL

https://skillsapi.haedal.xyz/api/v1/vehaedal

Request body

MethodRequired fieldsNotes
add_stakesignerAddress, amount, lockWeeks, isDecayingCreates a new veHaedal position
get_vehaedal_listaddressQuery veHaedal objects owned by this address; returns list of objects
add_to_existing_stakesignerAddress, vehaedalObj, amountRequires an existing veHaedal object ID
extend_existing_locksignerAddress, vehaedalObj, additionalWeeksRequires an existing veHaedal object ID
start_decaysignerAddress, vehaedalObjRequires an existing veHaedal object ID
stop_decaysignerAddress, vehaedalObjRequires an existing veHaedal object ID
unstake_and_claimsignerAddress, vehaedalObjRequires an existing veHaedal object ID
claim_rewards_v2signerAddress, periodsNo object field needed
claim_rewards_v2_epoch_1signerAddressNo object field needed

curl examples

add_stake

curl -s -w "\n%{http_code}" -X POST "https://skillsapi.haedal.xyz/api/v1/vehaedal/add_stake" \
  -H "Content-Type: application/json" \
  -d '{"signerAddress":"0xYOUR_ADDRESS","amount":"20","lockWeeks":4,"isDecaying":false}'

get_vehaedal_list (query veHaedal objects owned by an address, used to obtain vehaedalObj)

curl -s -w "\n%{http_code}" -X POST "https://skillsapi.haedal.xyz/api/v1/vehaedal/get_vehaedal_list" \
  -H "Content-Type: application/json" \
  -d '{"address":"0xYOUR_ADDRESS"}'

add_to_existing_stake (requires vehaedalObj, obtainable from get_vehaedal_list → list[].objectId)

curl -s -w "\n%{http_code}" -X POST "https://skillsapi.haedal.xyz/api/v1/vehaedal/add_to_existing_stake" \
  -H "Content-Type: application/json" \
  -d '{"signerAddress":"0xYOUR_ADDRESS","vehaedalObj":"0xOBJECT_ID","amount":"10"}'

extend_existing_lock (requires vehaedalObj)

curl -s -w "\n%{http_code}" -X POST "https://skillsapi.haedal.xyz/api/v1/vehaedal/extend_existing_lock" \
  -H "Content-Type: application/json" \
  -d '{"signerAddress":"0xYOUR_ADDRESS","vehaedalObj":"0xOBJECT_ID","additionalWeeks":2}'

start_decay (requires vehaedalObj)

curl -s -w "\n%{http_code}" -X POST "https://skillsapi.haedal.xyz/api/v1/vehaedal/start_decay" \
  -H "Content-Type: application/json" \
  -d '{"signerAddress":"0xYOUR_ADDRESS","vehaedalObj":"0xOBJECT_ID"}'

stop_decay (requires vehaedalObj)

curl -s -w "\n%{http_code}" -X POST "https://skillsapi.haedal.xyz/api/v1/vehaedal/stop_decay" \
  -H "Content-Type: application/json" \
  -d '{"signerAddress":"0xYOUR_ADDRESS","vehaedalObj":"0xOBJECT_ID"}'

unstake_and_claim (requires vehaedalObj)

curl -s -w "\n%{http_code}" -X POST "https://skillsapi.haedal.xyz/api/v1/vehaedal/unstake_and_claim" \
  -H "Content-Type: application/json" \
  -d '{"signerAddress":"0xYOUR_ADDRESS","vehaedalObj":"0xOBJECT_ID"}'

claim_rewards_v2

curl -s -w "\n%{http_code}" -X POST "https://skillsapi.haedal.xyz/api/v1/vehaedal/claim_rewards_v2" \
  -H "Content-Type: application/json" \
  -d '{"signerAddress":"0xYOUR_ADDRESS","periods":["1","2"]}'

claim_rewards_v2_epoch_1

curl -s -w "\n%{http_code}" -X POST "https://skillsapi.haedal.xyz/api/v1/vehaedal/claim_rewards_v2_epoch_1" \
  -H "Content-Type: application/json" \
  -d '{"signerAddress":"0xYOUR_ADDRESS"}'

Response

  • add_stake / add_to_existing_stake / extend_existing_lock / start_decay / stop_decay / unstake_and_claim / claim_rewards_v2 / claim_rewards_v2_epoch_1: on HTTP 200, the body is {"txBytes":"<base64>"}; use jq -r '.txBytes' to extract it. On non‑200, use jq -r '.msg' to extract the error reason and return it to the user.
  • get_vehaedal_list: on HTTP 200, the body is {"list":[{"objectId":"...","fields":{...}},...]}. Use jq -r '.list' to obtain the list, then take the desired entry's objectId as the vehaedalObj for subsequent calls.

MoveAbort error codes

When a dry-run or build call fails with MoveAbort(..., <code>), use the following mapping:

CodeConstant NameDescription
0N/Astart_decay: token is already in decaying state. stop_decay / unstake_and_claim: token is not in decaying state.
1EInvalidLockDurationInvalid lock duration, must be between 1 and 52 weeks
2EInvalidOwnerCaller is not the owner of the veHAEDAL token
3ENoTokensToUnstakeNo tokens available to unstake (unstaked amount is 0)
4EInvalidAmountInvalid amount, must be greater than 0
5ELockNotExpiredLock period has not expired yet
6ELockShouldBeExpiredLock period should be expired
7EMinStakeAmountStake amount is below the minimum required
8EDataNotMatchProgramPool version does not match the current program version
9ELockExpiredLock period has already expired

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.2%
按下载量换算23

Claude

27.65%
按下载量换算18

Cursor

21.1%
按下载量换算14

Gemini CLI

8.87%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills