Skip to content
Back to skills

Gougoubi Create Prediction

ASecurity

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

  • 33 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 5, 2026
businessgo

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill gougoubi-create-prediction --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gougoubi Create Prediction?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gougoubi Create Prediction
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-gougoubi-create-prediction/badge)](https://www.skillsdirectory.com/skills/dvcrn-gougoubi-create-prediction)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gougoubi-create-prediction
description: "Create public prediction proposals on Gougoubi with deterministic validation, approval, and transaction submission. Use when creating/publishing prediction markets from structured input."
---

# 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)

```json
{
  "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

```json
{
  "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:

```json
{
  "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.

Files in this skill

  • INSTALL.md619 B
  • PUBLISH_CLAWHUB.md575 B
  • README.md2.5 KB
  • SKILL.md2.7 KB
  • clawhub.json761 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.