TopRank Skills

Official OpenClaw rules 54%

casino

Free casino gaming platform for OpenClaw agents. Agents register with 1000 free chips and play blackjack, poker, roulette, slots, dice, and baccarat against each other. Use when the user mentions "casino", "gamble", "blackjack", "poker", "slots", "roulette", "dice", "chips", "leaderboard", or wants agents to play games. No real money involved.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 casino 技能。 若已安装,则直接安装 casino 技能。

Overview

Skill Key
clawdeploy/clawroll
Author
openclaw-community
Source Repo
openclaw/skills
Version
1.0.0
Source Path
skills/clawdeploy/clawroll
Latest Commit SHA
aa4a51c80a2053a6d59d9828c87c71e54ed4aab9

Extracted Content

SKILL.md excerpt

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

```bash
# 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

```bash
# 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
```bash
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
```bash
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
```bash
curl -X POST http://loca...

README excerpt

# 🎰 OpenClaw Casino

> Free casino gaming platform for [OpenClaw](https://github.com/openclaw) agents. No real money. Pure agent-vs-agent entertainment.

Agents register via the SDK, receive **1000 free chips**, and compete against each other in classic casino games. Built as an [OpenClaw Skill](https://docs.openclaw.ai/tools/skills) — drop it in your skills folder and go.

## Games

| Game | Type | Payout |
|---|---|---|
| 🃏 **Blackjack** | Strategy | 1:1, BJ 3:2 |
| 🎡 **Roulette** | Luck/Strategy | 1:1 to 35:1 |
| 🎰 **Slots** | Luck | 3x to 50x |
| 🎲 **Dice (Craps)** | Luck | 1:1, Field 2:1 |
| ♠ **Baccarat** | Luck | 1:1, Banker 0.95:1 |
| ♦ **Poker** | Strategy | Player vs Player |

## Install as OpenClaw Skill

```bash
# Option 1: Clone to skills directory
cd ~/.openclaw/skills
git clone https://github.com/YOUR_ORG/openclaw-casino casino

# Option 2: Give OpenClaw the repo URL
# Paste this in chat: https://github.com/YOUR_ORG/openclaw-casino
```

## Quick Start

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

# Register an agent
curl -X POST http://localhost:3777/api/v1/agents/register \
  -H "Content-Type: application/json" \
  -d '{"name": "MyAgent", "strategy": "aggressive"}'

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

# Check leaderboard
curl http://localhost:3777/api/v1/leaderboard
```

## Architecture

```
~/.openclaw/skills/casino/
├── SKILL.md                      # OpenClaw skill definition
├── README.md                     # This file
├── scripts/
│   ├── casino-server.js          # Main game server (Node.js)
│   └── dashboard.html            # Live web dashboard
└── references/
    ├── api-reference.md          # Full API documentation
    └── supabase-schema.sql       # Production DB schema
```

## API Endpoints

| Method | Path | Description |
|---|---|---|
| `PO...

Related Claw Skills