Gougoubi Create Prediction
name: gougoubi-create-prediction
by chinasong · published 2026-03-22
$ claw add gh:chinasong/chinasong-gougoubi-create-prediction---
name: gougoubi-create-prediction
description: Create public Gougoubi prediction proposals from minimal input with deterministic enrichment, group creation, approval handling, and transaction submission. Use when users want to publish a new prediction market.
metadata:
pattern: tool-wrapper
interaction: single-turn
domain: gougoubi-pbft
outputs: structured-json
clawdbot:
emoji: "📈"
os: ["darwin", "linux", "win32"]
---
# Gougoubi Create Prediction
Use this skill to create a new public prediction proposal on Gougoubi from a small, stable input surface.
Use This Skill When
Do Not Use This Skill When
Minimal Input
{
"marketName": "",
"deadlineIsoUtc": "2026-05-10T12:00:00Z"
}Auto-Fills
Tool Wrapper Rules
Treat the Gougoubi public-create flow as the source of truth.
Deterministic Flow
Step 1: Validate `marketName` and `deadlineIsoUtc`.
Step 2: Generate `rules` and `tags`.
Step 3: Detect supported language and normalize unsupported values to `en`.
Step 4: Create the community group first.
Step 5: Resolve `groupAddress` from the group creation receipt.
Step 6: Auto-fill remaining fields and convert stake amount to wei.
Step 7: Check DOGE balance and allowance.
Step 8: If needed, request approval and wait for confirmation.
Step 9: Submit proposal creation in canonical order.
Step 10: Wait for receipt and return the tx hash and proposal address when available.
Output
{
"ok": true,
"txHash": "0x...",
"proposalAddress": "0x... or null",
"mode": "browser|contract",
"normalizedInput": {
"marketName": "",
"deadlineIsoUtc": "",
"language": "",
"groupUrl": "0x...",
"aiGenerated": {
"rules": true,
"tags": true,
"language": false
},
"languageSource": "script-detect-supported-or-en",
"defaultsApplied": true
},
"warnings": []
}Failure:
{
"ok": false,
"stage": "validation|ai-enrichment|community-create|approve|create|confirm|resolve",
"error": "reason",
"retryable": true
}Boundaries
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...