gougoubi-create-prediction

Create public prediction proposals on Gougoubi with deterministic validation, approval, and transaction submission. Use when creating/publishing prediction markets from structured input.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "gougoubi-create-prediction" with this command: npx skills add chinasong/gougoubi-create-prediction

Gougoubi Create Prediction

Create a new public prediction proposal on Gougoubi from structured input.

Run Conditions

  • Wallet must be connected.
  • Stake amount must be at least 10000 DOGE.
  • Deadline must be in the future.
  • At least one tag is required.

Minimal Input (User Only)

{
  "marketName": "",
  "deadlineIsoUtc": "2026-05-10T12:00:00Z"
}

Agent Auto-Fills

The skill must provide all non-required fields:

  • imageUrl (platform default image)
  • liquidityToken (platform default token)
  • deadlineTimezone (user locale or UTC)
  • rules (AI generated from name + deadline)
  • stakeAmountDoge (default 10000)
  • tags (AI generated classification from proposal title/content)
  • groupAddress (must be created before proposal submit; not empty)
  • language (script detection only; must be in zh-CN|en|ja|ko|es|fr|de|ru|tr, else en)
  • skills (empty string)

Deterministic Steps

  1. Validate minimal user input (marketName, deadlineIsoUtc).
  2. Run AI enrichment for rules and tags.
  3. Detect language with script rules and normalize to supported set, else en.
  4. Create community group first (name = marketName, description = rules, groupType = RESTRICT).
  5. Resolve groupAddress from group creation receipt and map to proposal groupUrl arg.
  6. Auto-fill remaining fields with platform defaults.
  7. Convert stakeAmountDoge to wei.
  8. Check DOGE balance.
  9. Check DOGE allowance to factory.
  10. If allowance is insufficient, request approval and wait confirmation.
  11. Submit create transaction (11 args in canonical order).
  12. Wait for receipt and return tx hash + 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 shape:

{
  "ok": false,
  "stage": "validation|ai-enrichment|community-create|approve|create|confirm|resolve",
  "error": "AI enrichment failed",
  "retryable": true
}

Boundaries

  • Do not use private credentials or private hosts.
  • Do not auto-accept wallet signatures.
  • If content moderation flags risk, require user confirmation before submission.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Gougoubi Create Condition

Create Gougoubi proposal conditions from minimal input (proposalId + conditionName) with deterministic defaults for deadline/tradeDeadline, validation, and t...

Registry SourceRecently Updated
230Profile unavailable
Automation

Gougoubi Activate Conditions

Activate all CREATED conditions under a Gougoubi proposal by voting from a BNB address, with deterministic checks for committee membership and auto-staking m...

Registry SourceRecently Updated
210Profile unavailable
Automation

SkillFit Optimizer

Determine the smallest reliable skill stack for a goal using capability mapping, overlap detection, and deterministic scoring.

Registry SourceRecently Updated
960Profile unavailable
Automation

macOS Automator Services

部署和使用军舰的 macOS Automator 自动化服务集合。包含 5 个实用工作流:PDF转JPG、PNG重命名并转JPG、图像拼接、解压RAR、顺序命名图像文件。一键安装所有服务到 ~/Library/Services/ 目录。使用场景:(1) "安装我的自动化服务",(2) "部署所有 Automato...

Registry SourceRecently Updated
760Profile unavailable