← 返回 Skills 市场
chinasong

Gougoubi Activate Created Conditions

作者 chinasong · GitHub ↗ · v1.0.2 · MIT-0
darwinlinuxwin32 ✓ 安全检测通过
263
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install gougoubi-activate-created-conditions
功能描述
Activate all CREATED conditions under a Gougoubi proposal with deterministic committee checks, optional auto-stake joining, and structured voting results. Us...
使用说明 (SKILL.md)

Gougoubi Activate Created Conditions

Use this skill when the user wants to activate all currently CREATED conditions under a proposal.

Use This Skill When

  • The user asks to activate a proposal.
  • The user asks to vote on all created conditions.
  • The workflow should auto-join the committee when needed.

Do Not Use This Skill When

  • The user also wants risk LP added in the same run. Use gougoubi-activate-and-stake-risklp.
  • The user wants result submission or reward claiming.

Input

{
  "proposalId": "number|string",
  "bnbAddress": "0x...",
  "approve": true,
  "minBnbForGas": "0.001"
}

Pipeline

Step 1: Validate proposalId and bnbAddress.

Step 2: Check wallet, chain, and gas balance.

Step 3: Resolve proposalAddress from proposalId.

Step 4: Check committee membership.

Step 5: If not a member, auto-stake the minimum required amount and confirm membership.

Step 6: Enumerate all CREATED conditions.

Step 7: Vote true on each CREATED condition, one transaction at a time.

Step 8: Return structured success and failure details.

Checkpoints

  • Only vote on CREATED conditions.
  • If one condition fails, continue and report it.
  • If no CREATED conditions exist, return success with warning no-created-conditions.
  • Load references/CONTRACT_METHODS.md when contract method details are needed.

Output

{
  "ok": true,
  "proposalId": 0,
  "proposalAddress": "0x...",
  "bnbAddress": "0x...",
  "committeeJoinedByStake": false,
  "stakeTxHash": "0x... or null",
  "createdConditionCount": 0,
  "attemptedConditionCount": 0,
  "successCount": 0,
  "failedCount": 0,
  "successes": [
    {
      "conditionAddress": "0x...",
      "txHash": "0x..."
    }
  ],
  "failures": [
    {
      "conditionAddress": "0x...",
      "error": "human readable reason"
    }
  ],
  "warnings": [],
  "nextActions": []
}

Failure:

{
  "ok": false,
  "stage": "validation|wallet|gas-check|resolve-proposal|stake-committee|approve|activate-vote|confirm",
  "error": "human readable reason",
  "retryable": true
}

Boundaries

  • Do not bypass wallet confirmation.
  • Do not widen scope beyond CREATED conditions.
  • Keep Chinese user-facing errors concise and actionable.
安全使用建议
This skill is a workflow template that will instruct an agent to perform on-chain actions: check wallet balance, optionally stake funds to join a committee, and submit votes (txs). Before installing/using it, confirm: 1) which wallet or signing mechanism your agent will use and whether private keys or auto-signing are enabled; 2) that wallet confirmations cannot be silently bypassed in your environment; 3) you want the agent to be allowed to send transactions and spend gas/minimum stake; 4) test on a non-production environment or with a low-value account first. If you need explicit declarations of RPC endpoints or signing keys, ensure your agent runtime provides them and that you inspect the agent's signing policies.
功能分析
Type: OpenClaw Skill Name: gougoubi-activate-created-conditions Version: 1.0.2 The skill bundle is designed to facilitate automated voting and staking for the Gougoubi protocol on the BSC network. The logic in SKILL.md follows a transparent pipeline for checking committee membership and activating proposal conditions, including explicit safety boundaries such as 'Do not bypass wallet confirmation.' The documentation in references/CONTRACT_METHODS.md and README.md is consistent with the stated purpose, and there are no indicators of data exfiltration, malicious execution, or prompt injection attacks.
能力评估
Purpose & Capability
Name/description match the pipeline: checking committee membership, optionally staking to join, enumerating CREATED conditions, and voting. No unrelated credentials, binaries, or system paths are requested.
Instruction Scope
Runtime instructions include blockchain wallet and transaction actions (wallet/gas checks, staking, voting). This is appropriate for the stated purpose, but the skill assumes the agent has wallet/chain capabilities; it relies on wallet confirmations but does not prescribe an explicit interactive consent step beyond 'Do not bypass wallet confirmation.'
Install Mechanism
Instruction-only skill with no install spec and no code files — minimal risk from install. All contract method references are included in the repo files.
Credentials
No environment variables or credentials are declared, which is coherent if the hosting agent provides wallet and RPC access. Users should verify how their agent supplies wallet keys and RPC endpoints because the skill will cause on-chain transactions (including optional staking that moves funds).
Persistence & Privilege
Skill is not always-enabled and does not request persistent privileges or attempt to modify other skills. Autonomous invocation is allowed (platform default) but not exceptional here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gougoubi-activate-created-conditions
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gougoubi-activate-created-conditions 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Documentation updated: INSTALL.md changed for improved installation instructions. - No functional or API changes to the skill itself.
v1.0.1
**Summary: Improved documentation, clarified usage boundaries, and added metadata for pipeline pattern.** - Simplified and clarified the skill instructions, including usage boundaries and when not to use the skill. - Updated documentation to add a concise pipeline step overview and checkpoints, making execution flow easier to follow. - Added structured metadata (`pattern: pipeline`, `interaction: single-turn`, `domain: gougoubi-pbft`, etc.) for clarity and integration. - Refined input/output contract examples for better structure, matching the implementation. - Removed redundant and highly detailed internal tips, focusing the SKILL.md on essential guidance for users and developers.
v1.0.0
- Initial release of the skill to activate all CREATED proposal conditions on Gougoubi by voting from a BNB address. - Implements deterministic checks for proposal committee membership and automatic minimum staking if needed. - Handles all validation steps, wallet connectivity, gas checks, proposal resolution, and error reporting with stage-based feedback. - Supports batch activation of proposal conditions, collecting transaction results and structured output for both success and failure cases. - Includes Chinese user prompts and suggestions for implementation and safety practices.
元数据
Slug gougoubi-activate-created-conditions
版本 1.0.2
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 3
常见问题

Gougoubi Activate Created Conditions 是什么?

Activate all CREATED conditions under a Gougoubi proposal with deterministic committee checks, optional auto-stake joining, and structured voting results. Us... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 263 次。

如何安装 Gougoubi Activate Created Conditions?

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

Gougoubi Activate Created Conditions 是免费的吗?

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

Gougoubi Activate Created Conditions 支持哪些平台?

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

谁开发了 Gougoubi Activate Created Conditions?

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

💬 留言讨论