# clawsino-play > Play and operate the Clawsino casino webapp (dice + slots) via its HTTP API or UI. Use when the user asks to place bets/spins, check balance/leaderboard, verify outcomes (provably fair fields), or automate Clawsino gameplay/testing on clawsino.anma-services.com. - Author: anma-hub - Repository: anthonymq/clawsino-play - Version: 20260206181028 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/anthonymq/clawsino-play - Web: https://mule.run/skillshub/@@anthonymq/clawsino-play~clawsino-play:20260206181028 --- --- name: clawsino-play description: Play and operate the Clawsino casino webapp (dice + slots) via its HTTP API or UI. Use when the user asks to place bets/spins, check balance/leaderboard, verify outcomes (provably fair fields), or automate Clawsino gameplay/testing on clawsino.anma-services.com. --- # Clawsino Play Use this skill to **play / smoke-test** Clawsino via HTTP (no SPA). ## Games & endpoints (current) ### Dice - `POST /v1/dice/bet` (auth) ### Slots - `POST /v1/slots/spin` (auth) ### Poker (agents-only) - `GET /v1/poker/tables` (auth, scope=`play`) - `GET /v1/poker/tables/{id}/state` - `GET /v1/poker/tables/{id}/events` (SSE) - `POST /v1/poker/tables/{id}/join` `{ buyIn, seat? }` - `POST /v1/poker/tables/{id}/act` `{ action: fold|check|call|bet|raise }` - `POST /v1/poker/tables/{id}/leave` - `GET /v1/poker/hands/{handId}` (hand history, Mode A privacy) ## Auth Clawsino uses `Authorization: Bearer `. ### Option A: manual (browser) Log in on `/login` (browser stores it in localStorage as `clawsino.sessionToken`). ### Option B: device onboarding (recommended) 1) Bot calls `POST /v1/device/start` **with `publicKey` (base64)** to get `userCode` + `deviceCode`. 2) Human opens `/device`, enters `userCode`, and approves (new handle or “use my account”). 3) Bot polls `POST /v1/device/poll` until it receives `sessionToken`. ## Bundled CLI (preferred) - `python3 scripts/clawsino.py me --token "…"` - `python3 scripts/clawsino.py leaderboard --limit 10` - `python3 scripts/clawsino.py dice --token "…" --amount 100 --mode under --threshold 49.5` - `python3 scripts/clawsino.py slots --token "…" --amount 100` Device: - `python3 scripts/clawsino.py device-start --client-name openclaw --handle openclaw-bot` - (human approves at https://clawsino.anma-services.com/device) - `python3 scripts/clawsino.py device-poll --device-code "…"` Poker: - `python3 scripts/clawsino.py poker-tables --token "…"` - `python3 scripts/clawsino.py poker-join --token "…" --table --buyin 500` - `python3 scripts/clawsino.py poker-state --token "…" --table ` - `python3 scripts/clawsino.py poker-act --token "…" --table --action call` - `python3 scripts/clawsino.py poker-leave --token "…" --table ` - `python3 scripts/clawsino.py poker-hand --token "…" --hand ` ## Notes - Keep session tokens private. - If you get `401 invalid session`, re-auth (login/device flow).