← 返回 Skills 市场
chinasong

Gougoubi Activate And Stake Risklp

作者 chinasong · GitHub ↗ · v1.0.1 · MIT-0
darwinlinuxwin32 ⚠ suspicious
233
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install gougoubi-activate-and-stake-risklp
功能描述
Activate Gougoubi proposal conditions and stake risk LP per condition in one deterministic workflow. Use when users want to activate a proposal, activate sel...
使用说明 (SKILL.md)

Gougoubi Activate And Stake Risk LP

Use this skill for the combined execution flow: activate first, then add risk LP.

Use This Skill When

  • The user wants to activate a proposal and add risk LP in one run.
  • The user wants fixed risk LP per condition.
  • The user wants to repair missing activation or missing LP on a small scope.

Do Not Use This Skill When

  • The user only wants result submission. Use gougoubi-submit-real-results.
  • The user only wants reward claiming. Use gougoubi-claim-all-rewards.
  • The user only wants condition creation. Use gougoubi-create-condition.

Input

{
  "proposalAddress": "0x...",
  "riskLpPerCondition": "100",
  "scope": "all|only-created|single",
  "conditionIndex": 0
}

Defaults:

  • scope=all
  • riskLpPerCondition=100

Pipeline

Step 1: Validate input and resolve proposal.

Step 2: Ensure there are enough usable committee voters. Auto-join committee with minimum stake when required.

Step 3: Enumerate conditions by scope.

Step 4: For each selected condition:

  • If status is CREATED, vote to activate.
  • Wait until the condition is ACTIVE.
  • Add risk LP exactly once unless the user explicitly asked to top up.

Step 5: Return per-condition activation and LP results.

Checkpoints

  • Do not add LP before the condition is ACTIVE.
  • Keep activation failures and LP failures separate.
  • Continue past single-condition failures and report them.

Output

{
  "ok": true,
  "proposalAddress": "0x...",
  "activatedCount": 0,
  "riskLpAddedCount": 0,
  "activated": [],
  "riskLpAdded": [],
  "activationFailed": [],
  "riskLpFailed": [],
  "warnings": [],
  "nextActions": []
}

Failure:

{
  "ok": false,
  "stage": "validation|resolve-proposal|join-committee|activate|add-risklp|confirm",
  "error": "reason",
  "retryable": true
}

Project Scripts

  • scripts/pbft-activate-and-add-risklp.mjs
  • scripts/pbft-join-and-activate-all-conditions.mjs
  • scripts/pbft-add-risk-lp-to-proposal.mjs

Script Entry Points

  • Preferred combined entry: scripts/pbft-activate-and-add-risklp.mjs
  • node scripts/pbft-activate-and-add-risklp.mjs --help
  • node scripts/pbft-activate-and-add-risklp.mjs \x3CproposalAddress> \x3CriskLpAmount> --dry-run
  • Use --dry-run before execution when installing or validating this skill in a new environment.

Boundaries

  • Never add LP to an inactive condition.
  • Do not top up existing LP unless the user explicitly asks.
  • Keep the workflow idempotent where possible.
安全使用建议
Do not install or run this skill until you verify a few things: (1) confirm the referenced Node scripts actually exist in the upstream repository (the package here lacks them); (2) ask how transaction signing is expected to work — what wallet, private key, or signer the skill will use, and where credentials are stored; (3) require explicit environment variables or a hardware signer rather than implicit access to any system wallet; (4) run only dry-run/test mode in a sandbox with no real funds first; (5) if you allow autonomous invocation, add strict consent/confirmation steps so the agent cannot stake funds or join committees without your explicit approval. If the maintainer cannot show the missing scripts and clarify credential handling, treat this package as untrusted.
功能分析
Type: OpenClaw Skill Name: gougoubi-activate-and-stake-risklp Version: 1.0.1 The skill bundle provides instructions and metadata for an AI agent to automate the activation of Gougoubi proposals and the staking of risk LP. The instructions in SKILL.md are clearly aligned with the stated purpose of crypto-governance automation and do not contain any evidence of malicious prompt injection, data exfiltration, or unauthorized execution. While the skill relies on external scripts (e.g., scripts/pbft-activate-and-add-risklp.mjs) that are not included in the bundle, the provided documentation and configuration files (clawhub.json, README.md) appear legitimate and transparent.
能力评估
Purpose & Capability
The skill's stated purpose (activate proposal conditions and add risk LP) is plausible for a blockchain automation tool, but the SKILL.md requires actions that need transaction signing, network access, and a signer wallet (auto-join committee with stake, vote, add LP). The package declares no required env vars, no credentials, and includes no binaries. Additionally, the SKILL.md lists Node script entry points, but those scripts are not included in the skill bundle. This mismatch suggests the skill as packaged cannot perform its claimed capabilities or assumes access to external signing infrastructure without declaring it.
Instruction Scope
Runtime instructions direct the agent to auto-join a committee (staking funds), vote to activate conditions, wait for on-chain state changes, and add LP. These are high-impact, state-changing blockchain operations. The instructions reference running specific node scripts (e.g., scripts/pbft-activate-and-add-risklp.mjs) that are not present in the package. The instructions also imply access to wallet keys/signers but do not state where those credentials come from. This is scope creep relative to the declared zero-env, zero-binary packaging.
Install Mechanism
No install spec (instruction-only), which is low technical risk because nothing is written by the installer. However, the README and INSTALL.md instruct users to run local Node scripts and suggest copying the skill folder into the runtime; since the referenced scripts are missing here, the install docs point to expected artifacts elsewhere (repo listed in clawhub.json). The lack of bundled execution code is an inconsistency to verify with the upstream repository.
Credentials
The skill requests no environment variables and declares no primary credential, yet its workflow requires permission to sign transactions and stake funds. This is a proportionality mismatch: actions described typically require wallet private keys or a connected signer, RPC endpoints, and possibly funds. The skill gives no guidance where credentials should come from, nor does it declare the names of expected env vars (e.g., PRIVATE_KEY, MNEMONIC, RPC_URL).
Persistence & Privilege
The skill is not marked always:true and does not request system-level config changes. Autonomous invocation is allowed (default) which is normal, but because the skill performs financial on-chain actions, autonomous execution without explicit user safeguards could have high impact. Verify agent policies and consent prompts before allowing autonomous runs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gougoubi-activate-and-stake-risklp
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gougoubi-activate-and-stake-risklp 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Version 1.0.1 - Added a "Script Entry Points" section in the documentation for improved setup and usage guidance. - Provided sample CLI usage and recommended use of `--dry-run` when installing or validating in new environments. - No changes to workflow, inputs, or outputs.
v1.0.0
Initial release of gougoubi-activate-and-stake-risklp. - Enables activating proposal conditions and staking fixed risk LP per condition in a single workflow. - Ensures committee participation and performs actions only when conditions are viable. - Handles input validation, condition enumeration, activation, and risk LP staking with clear reporting. - Provides structured per-condition status, failure/warning separation, and idempotency safeguards. - Outputs detailed results and next actions for transparency and follow-up.
元数据
Slug gougoubi-activate-and-stake-risklp
版本 1.0.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

Gougoubi Activate And Stake Risklp 是什么?

Activate Gougoubi proposal conditions and stake risk LP per condition in one deterministic workflow. Use when users want to activate a proposal, activate sel... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 233 次。

如何安装 Gougoubi Activate And Stake Risklp?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gougoubi-activate-and-stake-risklp」即可一键安装,无需额外配置。

Gougoubi Activate And Stake Risklp 是免费的吗?

是的,Gougoubi Activate And Stake Risklp 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Gougoubi Activate And Stake Risklp 支持哪些平台?

Gougoubi Activate And Stake Risklp 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux, win32)。

谁开发了 Gougoubi Activate And Stake Risklp?

由 chinasong(@chinasong)开发并维护,当前版本 v1.0.1。

💬 留言讨论