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
- - The user wants to create or publish a new proposal.
- The user gives a market title and a deadline, and expects the rest to be auto-filled.
- The workflow must create the group before the proposal.
Do Not Use This Skill When
- - The proposal already exists and the user only wants to add conditions.
- The user only wants activation, staking, settlement, or rewards.
Minimal Input
CODEBLOCK0
Auto-Fills
- - INLINECODE0
- INLINECODE1
- INLINECODE2
- INLINECODE3
- INLINECODE4
- INLINECODE5
- INLINECODE6
- INLINECODE7
- INLINECODE8
Tool Wrapper Rules
Treat the Gougoubi public-create flow as the source of truth.
- - Create the community group first.
- Group name must equal proposal name.
- Group description must use the generated rules.
- Group type must be restricted.
- Use the created group address as proposal
groupUrl.
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
CODEBLOCK1
Failure:
CODEBLOCK2
Boundaries
- - Never skip group creation.
- Never auto-confirm approvals or irreversible wallet actions.
- Require user confirmation if moderation risk is detected.
Gougoubi 创建预测
使用此技能,通过一个稳定的小型输入界面,在Gougoubi上创建新的公开预测提案。
使用场景
- - 用户想要创建或发布新的提案。
- 用户提供市场标题和截止日期,期望其余内容自动填充。
- 工作流程必须先创建群组,再创建提案。
禁止使用场景
- - 提案已存在,用户仅想添加条件。
- 用户仅想进行激活、质押、结算或奖励操作。
最小输入
json
{
marketName: ,
deadlineIsoUtc: 2026-05-10T12:00:00Z
}
自动填充项
- - imageUrl
- liquidityToken
- deadlineTimezone
- rules
- stakeAmountDoge=10000
- tags
- groupAddress
- language
- skills=
工具封装规则
将Gougoubi公开创建流程视为唯一数据源。
- - 首先创建社区群组。
- 群组名称必须等于提案名称。
- 群组描述必须使用生成的规则。
- 群组类型必须为受限。
- 使用创建的群组地址作为提案的groupUrl。
确定性流程
步骤1:验证marketName和deadlineIsoUtc。
步骤2:生成rules和tags。
步骤3:检测支持的语言,将不支持的值标准化为en。
步骤4:首先创建社区群组。
步骤5:从群组创建回执中解析groupAddress。
步骤6:自动填充剩余字段,并将质押金额转换为wei。
步骤7:检查DOGE余额和授权额度。
步骤8:如有需要,请求授权并等待确认。
步骤9:按规范顺序提交提案创建。
步骤10:等待回执,并在可用时返回交易哈希和提案地址。
输出
json
{
ok: true,
txHash: 0x...,
proposalAddress: 0x... 或 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: []
}
失败情况:
json
{
ok: false,
stage: validation|ai-enrichment|community-create|approve|create|confirm|resolve,
error: 原因,
retryable: true
}
边界限制
- - 绝不能跳过群组创建。
- 绝不能自动确认授权或不可逆的钱包操作。
- 如果检测到审核风险,需用户确认。