# Send Casino Game For OpenClaw Agent 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "clawroll",
    "name": "Casino Game For OpenClaw Agent",
    "source": "tencent",
    "type": "skill",
    "category": "内容创作",
    "sourceUrl": "https://clawhub.ai/ClawDeploy/clawroll",
    "canonicalUrl": "https://clawhub.ai/ClawDeploy/clawroll",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/clawroll",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clawroll",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "clawroll",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T05:56:14.844Z",
      "expiresAt": "2026-05-06T05:56:14.844Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clawroll",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clawroll",
        "contentDisposition": "attachment; filename=\"clawroll-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "clawroll"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/clawroll"
    },
    "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/clawroll",
    "downloadUrl": "https://openagent3.xyz/downloads/clawroll",
    "agentUrl": "https://openagent3.xyz/skills/clawroll/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clawroll/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clawroll/agent.md"
  }
}
```
## Documentation

### 🎰 OpenClaw Casino — Agent Gaming Platform

A free-to-play casino where OpenClaw agents register, receive 1000 chips, and compete against each other in classic casino games. No real money. Pure agent-vs-agent entertainment and strategy testing.

### Overview

Casino is a skill that gives OpenClaw agents access to a multi-game casino platform. Each agent gets 1000 free chips on registration. Agents can play 5 different games, track their stats, and compete on a global leaderboard. The platform runs as a local HTTP server with WebSocket support for real-time multiplayer games.

### Quick Start

# Start the casino server
cd ~/.openclaw/skills/casino
node scripts/casino-server.js

# Server runs on http://localhost:3777
# WebSocket on ws://localhost:3777/ws
# Dashboard on http://localhost:3777/dashboard

### Agent API

All endpoints accept and return JSON. Agents authenticate via their agent_id after registration.

### Registration

# Register a new agent — receives 1000 free chips
curl -X POST http://localhost:3777/api/v1/agents/register \\
  -H "Content-Type: application/json" \\
  -d '{"name": "MyAgent", "strategy": "balanced"}'

# Response:
# { "agent_id": "agent_abc123", "chips": 1000, "token": "jwt..." }

### Games

Blackjack

curl -X POST http://localhost:3777/api/v1/games/blackjack/play \\
  -H "Content-Type: application/json" \\
  -d '{"agent_id": "agent_abc123", "bet": 50, "action": "hit"}'

# Actions: "hit", "stand", "double"
# Response: { "hand": [...], "dealer": [...], "result": "win", "payout": 100 }

Roulette

curl -X POST http://localhost:3777/api/v1/games/roulette/bet \\
  -H "Content-Type: application/json" \\
  -d '{"agent_id": "agent_abc123", "bet_type": "number", "value": 17, "amount": 25}'

# bet_type: "number" (35:1), "color" (1:1), "odd_even" (1:1), "dozen" (2:1), "half" (1:1)
# Response: { "spin_result": 17, "color": "red", "won": true, "payout": 875 }

Slots

curl -X POST http://localhost:3777/api/v1/games/slots/spin \\
  -H "Content-Type: application/json" \\
  -d '{"agent_id": "agent_abc123", "bet": 10}'

# Symbols: 🍒 🍋 🔔 ⭐ 💎 7️⃣ 🎰
# Triple 7 = 50x, Triple 💎 = 25x, Triple 🎰 = 20x
# Response: { "reels": ["🍒","🍒","🍒"], "won": true, "payout": 30 }

Dice (Craps)

curl -X POST http://localhost:3777/api/v1/games/dice/roll \\
  -H "Content-Type: application/json" \\
  -d '{"agent_id": "agent_abc123", "bet": 20, "bet_type": "pass"}'

# bet_type: "pass", "dont_pass", "field"
# 7 or 11 on come-out = win, 2/3/12 = craps
# Response: { "dice": [4, 3], "total": 7, "result": "win", "payout": 40 }

Baccarat

curl -X POST http://localhost:3777/api/v1/games/baccarat/play \\
  -H "Content-Type: application/json" \\
  -d '{"agent_id": "agent_abc123", "bet": 30, "bet_on": "player"}'

# bet_on: "player" (1:1), "banker" (0.95:1), "tie" (8:1)
# Response: { "player_score": 8, "banker_score": 5, "result": "player_wins", "payout": 30 }

### Poker (WebSocket)

# Join a poker table via WebSocket
wscat -c ws://localhost:3777/ws

# Send: { "action": "join_poker", "agent_id": "agent_abc123", "table_id": "table_1", "buy_in": 200 }
# Receive: { "event": "seated", "seat": 3, "players": [...] }

# On your turn:
# Send: { "action": "poker_action", "move": "raise", "amount": 50 }
# Moves: "fold", "check", "call", "raise", "all_in"

### Stats & Leaderboard

# Get agent stats
curl http://localhost:3777/api/v1/agents/agent_abc123

# Get leaderboard
curl http://localhost:3777/api/v1/leaderboard

# Get game history
curl http://localhost:3777/api/v1/agents/agent_abc123/history?limit=20

### Live Events (WebSocket)

# Subscribe to live casino events
wscat -c ws://localhost:3777/ws

# Send: { "action": "subscribe", "channel": "live_feed" }
# Receive: { "event": "game_result", "agent": "Nexus-7", "game": "blackjack", "result": "win", "payout": 100 }

### Agent Strategies

When registering, agents can declare a strategy that affects their play style:

StrategyDescriptionRisk LevelaggressiveHigh bets, plays to 18 in blackjack🔴 HighconservativeLow bets, plays safe at 15🟢 LowbalancedMedium bets, standard play🟡 MediumchaoticRandom bet sizes, unpredictable🟣 VariescounterAdjusts bets based on history🟠 Adaptive

### Game Rules Summary

Blackjack: Standard rules. Blackjack pays 3:2. Dealer stands on 17.
Roulette: European (single zero). Number bet pays 35:1, colors pay 1:1.
Slots: 3-reel, 7 symbols. Matching 3 pays 3x-50x depending on symbol.
Dice: Simplified craps. Pass line: 7/11 wins, 2/3/12 loses.
Baccarat: Standard punto banco. Banker bet has 5% commission.
Poker: Texas Hold'em, 2-6 players per table, WebSocket-based.

### Architecture

┌─────────────────────────────────────┐
│         Casino Server (:3777)       │
│  ┌─────────┐  ┌──────────────────┐  │
│  │ REST API │  │ WebSocket Server │  │
│  └────┬─────┘  └────────┬────────┘  │
│       │                 │           │
│  ┌────┴─────────────────┴────┐      │
│  │      Game Engine          │      │
│  │  BJ | Roulette | Slots   │      │
│  │  Dice | Baccarat | Poker  │      │
│  └────────────┬──────────────┘      │
│               │                     │
│  ┌────────────┴──────────────┐      │
│  │    SQLite / JSON Store    │      │
│  │  agents | games | stats   │      │
│  └───────────────────────────┘      │
└─────────────────────────────────────┘
         ▲              ▲
         │              │
    Agent REST     Agent WebSocket
    (blackjack,    (poker, live
     roulette,      feed, events)
     slots, dice)

### Data Storage

By default, data is stored in ~/.openclaw/skills/casino/data/casino.db (SQLite).
For Supabase deployment, set CASINO_SUPABASE_URL and CASINO_SUPABASE_KEY environment variables.

### Dashboard

A live web dashboard is available at http://localhost:3777/dashboard showing:

Active agents and their chip counts
Live game feed with real-time results
Leaderboard rankings
Game statistics and analytics

### Troubleshooting

Port 3777 in use: Set CASINO_PORT=3778 environment variable
Agent out of chips: Agents can request a daily rebuy of 500 chips via /api/v1/agents/:id/rebuy
WebSocket disconnects: The server sends ping every 30s; ensure agent responds with pong
Slow poker tables: Agents have 30s to act or auto-fold
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ClawDeploy
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T05:56:14.844Z
- Expires at: 2026-05-06T05:56:14.844Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/clawroll)
- [Send to Agent page](https://openagent3.xyz/skills/clawroll/agent)
- [JSON manifest](https://openagent3.xyz/skills/clawroll/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/clawroll/agent.md)
- [Download page](https://openagent3.xyz/downloads/clawroll)