/install gougoubi-create-condition
Gougoubi Create Condition
Use this skill to create a condition under an existing Gougoubi proposal from the smallest practical input.
Use This Skill When
- The user wants to add one or more conditions to an existing proposal.
- The user only provides proposal identifier and condition title.
- The agent should auto-fill default dates and flags.
Do Not Use This Skill When
- The user wants to create a new proposal. Use
gougoubi-create-prediction. - The user wants activation, result submission, or reward claiming.
Minimal Input
{
"proposalId": "0x... or proposal identifier",
"conditionName": "Will Team A win the match?"
}
Defaults
- Resolve
proposalIdtoproposalAddress. deadlineDateTime: proposal deadline.deadlineTimezone: user locale, fallbackUTC.tradeDeadlineDateTime:deadlineDateTime - 1 hour, clamped to a valid future time.tradeDeadlineTimezone: same asdeadlineTimezone.conditionImageUrl: empty string.conditionRules: empty string.skills: empty string.isNormalized:true.
Generator Flow
Step 1: Validate minimal input.
Step 2: Resolve proposal and load proposal deadline.
Step 3: Generate all default date fields and clamp invalid values.
Step 4: Convert datetimes to unix seconds.
Step 5: Validate final payload:
conditionNamenon-emptydeadline > nowtradeDeadline > nowtradeDeadline \x3C= deadline
Step 6: Submit the canonical contract call in this order:
conditionNamedeadlinetradeDeadlineconditionImageUrlconditionRulesskillsisNormalized
Step 7: Wait for confirmation and return the normalized payload.
Output
{
"ok": true,
"mode": "browser|contract",
"txHash": "0x...",
"proposalAddress": "0x...",
"normalizedInput": {
"proposalId": "",
"proposalAddress": "",
"conditionName": "",
"deadlineDateTime": "",
"deadlineTimezone": "",
"tradeDeadlineDateTime": "",
"tradeDeadlineTimezone": "",
"defaultsApplied": true,
"tradeDeadlinePolicy": "deadline-minus-1h-with-valid-clamp"
},
"warnings": []
}
Failure:
{
"ok": false,
"stage": "validation|resolve-proposal|create|confirm",
"error": "reason",
"retryable": true
}
Boundaries
- Never bypass wallet confirmation.
- Keep defaults deterministic and explain them in output when relevant.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gougoubi-create-condition - 安装完成后,直接呼叫该 Skill 的名称或使用
/gougoubi-create-condition触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Gougoubi Create Condition 是什么?
Create a Gougoubi proposal condition from minimal input with deterministic defaults for deadline, trade deadline, normalization, and transaction submission.... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 266 次。
如何安装 Gougoubi Create Condition?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gougoubi-create-condition」即可一键安装,无需额外配置。
Gougoubi Create Condition 是免费的吗?
是的,Gougoubi Create Condition 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Gougoubi Create Condition 支持哪些平台?
Gougoubi Create Condition 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux, win32)。
谁开发了 Gougoubi Create Condition?
由 chinasong(@chinasong)开发并维护,当前版本 v1.0.2。