/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.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install gougoubi-create-condition - After installation, invoke the skill by name or use
/gougoubi-create-condition - Provide required inputs per the skill's parameter spec and get structured output
What is Gougoubi Create Condition?
Create a Gougoubi proposal condition from minimal input with deterministic defaults for deadline, trade deadline, normalization, and transaction submission.... It is an AI Agent Skill for Claude Code / OpenClaw, with 266 downloads so far.
How do I install Gougoubi Create Condition?
Run "/install gougoubi-create-condition" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Gougoubi Create Condition free?
Yes, Gougoubi Create Condition is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Gougoubi Create Condition support?
Gougoubi Create Condition is cross-platform and runs anywhere OpenClaw / Claude Code is available (darwin, linux, win32).
Who created Gougoubi Create Condition?
It is built and maintained by chinasong (@chinasong); the current version is v1.0.2.