| 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
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 <sessionToken>.
Option A: manual (browser)
Log in on /login (browser stores it in localStorage as clawsino.sessionToken).
Option B: device onboarding (recommended)
- Bot calls
POST /v1/device/start with publicKey (base64) to get userCode + deviceCode.
- Human opens
/device, enters userCode, and approves (new handle or “use my account”).
- 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 <id> --buyin 500
python3 scripts/clawsino.py poker-state --token "…" --table <id>
python3 scripts/clawsino.py poker-act --token "…" --table <id> --action call
python3 scripts/clawsino.py poker-leave --token "…" --table <id>
python3 scripts/clawsino.py poker-hand --token "…" --hand <handId>
Notes
- Keep session tokens private.
- If you get
401 invalid session, re-auth (login/device flow).