# Send Prediction Market Creator to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "betbud-prediction-market-creation",
    "name": "Prediction Market Creator",
    "source": "tencent",
    "type": "skill",
    "category": "其他",
    "sourceUrl": "https://clawhub.ai/SamJ12/betbud-prediction-market-creation",
    "canonicalUrl": "https://clawhub.ai/SamJ12/betbud-prediction-market-creation",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/betbud-prediction-market-creation",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=betbud-prediction-market-creation",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "skill.py",
      "requirements.txt",
      "skill.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/betbud-prediction-market-creation"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/betbud-prediction-market-creation",
    "downloadUrl": "https://openagent3.xyz/downloads/betbud-prediction-market-creation",
    "agentUrl": "https://openagent3.xyz/skills/betbud-prediction-market-creation/agent",
    "manifestUrl": "https://openagent3.xyz/skills/betbud-prediction-market-creation/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/betbud-prediction-market-creation/agent.md"
  }
}
```
## Documentation

### Prediction Market Creator

An AI agent that automatically creates prediction markets on betbud.live by analyzing trending crypto Twitter content.

### What it does

Fetches trending content from premium crypto Twitter accounts (WatcherGuru, tier10k, CoinDesk, etc.)
Analyzes with Claude AI to find debatable, time-bound topics
Avoids duplicates using local cache of recent predictions
Fetches professional images from Unsplash for each market
Creates blockchain markets on Base Sepolia testnet
Registers to betbud.live automatically via Bubble.io API workflow

### Features

✅ Fetches from 5+ premium crypto Twitter accounts
✅ Uses Claude Sonnet 4 for intelligent topic selection
✅ Professional images from Unsplash
✅ Deduplication cache (last 20 predictions)
✅ Creates markets on blockchain + registers to betbud.live

### Requirements

You need API keys for:

Twitter API (twitterapi.io)
Anthropic Claude API
Unsplash API
Base Sepolia RPC URL
Ethereum wallet private key

### Setup

Clone the repo
Create .env file with your API keys (see .env.example)
Install dependencies: pip install -r requirements.txt
Run: python skill.py

### How it works

Fetches 15+ tweets from premium accounts + trending topics
Claude analyzes and picks the best debatable topic
Gets a professional image from Unsplash
Creates market on blockchain (Base Sepolia)
Registers to betbud.live via API workflow
Saves to cache to avoid duplicates

### Output

Creates prediction markets like:

"Will Bitcoin reach $100k by March 2026?"
"Will Ethereum ETF approval happen by February 2026?"
Each with professional images, clear resolution criteria, and 7-14 day duration

### Safety

No hardcoded API keys in code
Uses Bubble.io backend workflow (no exposed credentials)
All sensitive data in .env file

---

### **📄 Create \`.env.example\`**

Create this file to show what keys are needed:

TWITTERAPI_IO_KEY=your_twitter_api_key_here
ANTHROPIC_API_KEY=your_anthropic_key_here
RPC_URL=https://sepolia.base.org
PRIVATE_KEY=your_wallet_private_key_here
UNSPLASH_ACCESS_KEY=your_unsplash_access_key_here

---

### **📄 Create/Update \`requirements.txt\`**

anthropic==0.79.0
web3==7.14.1
python-dotenv==1.0.0
requests==2.32.3

---

## **STEP 2: PUBLISH TO CLAWHUB**

Go to: https://clawhub.com/publish

### **Fill out the form:**

**1. Skill Name:**

Prediction Market Creator

**2. Short Description (one line):**

AI agent that creates prediction markets on betbud.live by analyzing trending crypto Twitter

**3. Long Description:**

This AI agent automatically monitors trending crypto Twitter content from premium accounts (WatcherGuru, tier10k, CoinDesk, etc.), analyzes it with Claude AI to find the most debatable topics, and creates prediction markets on betbud.live.

Features:

Fetches diverse content from 5+ premium Twitter accounts
Uses Claude Sonnet 4 for intelligent topic selection
Avoids duplicates with local caching
Professional images from Unsplash
Creates blockchain markets on Base Sepolia
Automatically registers to betbud.live

Perfect for running 24/7 to keep your prediction market platform fresh with relevant, timely topics.

**4. GitHub Repository URL:**

https://github.com/YOUR_USERNAME/YOUR_REPO_NAME

**5. Category:**

Social Media & Content

or

Blockchain & Web3

**6. Tags (add these):**

prediction-markets, crypto, twitter, blockchain, ai-agent, automation

**7. Required API Keys:**
List each key and where to get it:

Twitter API: https://twitterapi.io (for fetching tweets)
Anthropic API: https://console.anthropic.com (for Claude AI)
Unsplash API: https://unsplash.com/developers (for images)
Base Sepolia RPC: https://sepolia.base.org (free)
Ethereum Wallet Private Key: Your wallet (for blockchain transactions)

**8. Installation Instructions:**

Clone the repository
Install dependencies: pip install -r requirements.txt
Create .env file with your API keys (see .env.example)
Run: python skill.py

**9. Usage Instructions:**

Run the skill with: python skill.py

The agent will:

Fetch trending crypto content
Analyze and pick a unique topic
Create a blockchain market
Register to betbud.live
Save to cache to avoid duplicates

Run it on a schedule (cron job) to continuously create new markets.

**10. Demo/Screenshot:**
Upload a screenshot showing:
- Terminal output of successful run
- Or a screenshot of created market on betbud.live

**11. License:**

MIT
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: SamJ12
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/betbud-prediction-market-creation)
- [Send to Agent page](https://openagent3.xyz/skills/betbud-prediction-market-creation/agent)
- [JSON manifest](https://openagent3.xyz/skills/betbud-prediction-market-creation/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/betbud-prediction-market-creation/agent.md)
- [Download page](https://openagent3.xyz/downloads/betbud-prediction-market-creation)