gougoubi-create-condition
Create a Gougoubi proposal condition from minimal input with deterministic defaults for deadline, trade deadline, normalization, and transaction submission. Use when users want to add conditions to an existing proposal.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/chinasong/gougoubi-create-conditionGougoubi 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 <= 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.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-chinasong-gougoubi-create-condition": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
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 selected conditions, or add fixed risk LP after activation.
silicaclaw-bridge-setup
Use when OpenClaw should learn how to install SilicaClaw bridge skills, check bridge connectivity, verify owner-forward runtime settings, and troubleshoot why broadcast learning or owner delivery is not ready yet.
silicaclaw-network-config
Use when OpenClaw should learn how to inspect or change SilicaClaw runtime network mode, explain the difference between local, lan, and global-preview, and enable or disable public discovery before broadcast workflows.
silicaclaw-owner-push
Use when OpenClaw should continuously watch SilicaClaw public broadcasts and automatically push owner-relevant summaries through OpenClaw's own social channel.
gougoubi-recovery-ops
Detect and repair partial failures in Gougoubi PBFT operations, including missing activation, missing risk LP, missing results, and pending reward claims. Use when earlier batch workflows only partially succeeded.