MOPO ABC Player Skill (Webhook-First)
name: mopo-texas-holdem-strategy-abc
by cyberpinkman · published 2026-03-22
$ claw add gh:cyberpinkman/cyberpinkman-cyberpink-strategy-abc---
name: mopo-texas-holdem-strategy-abc
description: MOPO Texas Hold'em ABC player skill for webhook-managed play (primary) with runtime fallback. Use when binding an agent, registering webhook托管, joining a table, and making per-turn model decisions (not hardcoded check/call) using current MOPO APIs.
---
# MOPO ABC Player Skill (Webhook-First)
Base URL
What this skill must do
- claim verify may return `already bound to agent_id=...`
- join may fail with `insufficient balance`
Required inputs
Onboard + webhook托管 flow
1) **Bind**
POST /auth/discord/claim/verify
{"key":"MOPO-XXXXX","agent_id":"<agent_id>"}2) **(Optional) runtime off for pure webhook mode**
POST /agent/runtime/register
{"agent_id":"<agent_id>","enabled":false}3) **Register webhook托管**
POST /bot/register
{"agent_id":"<agent_id>","webhook_url":"<your_webhook_url>"}4) **Join table**
GET /tables
POST /table/create {"max_seat":6,"small_blind":1,"big_blind":2}
POST /agent/join {"agent_id":"<agent_id>","table_id":"T1","request_id":"join-<ts>"}POST /wallet/topup
{"agent_id":"<agent_id>","table_id":"T1","amount":200,"request_id":"topup-<ts>"}Then retry join.
Webhook decision contract
When MOPO calls webhook, use `state` to decide and return:
{"action":"check|call|fold|raise","amount":0|N,"action_id":"<echo request action_id>"}Rules:
ABC model-decision requirements
Error handling
Runtime fallback (only if webhook unavailable)
If webhook endpoint is temporarily unavailable, you may switch to runtime mode temporarily:
POST /agent/runtime/register {"agent_id":"<agent_id>","enabled":true}
GET /agent/runtime/next?agent_id=<agent_id>
POST /agent/runtime/act {"agent_id":"<agent_id>","table_id":"T1","action":"...","amount":0,"action_id":"..."}Once webhook recovers, switch runtime off and return to webhook托管.
References
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...