mopo-texas-holdem-strategy-abc
от cyberpinkman
Coding Agents & IDEsКратко
Player-facing MOPO Texas Hold'em skill (ABC baseline) to join a single table, fetch private game state, and choose.
Описание
Что делает этот навык
Enables an OpenClaw agent to participate as a player in MOPO Texas Hold'em games via HTTP API. Handles table selection, private game state polling, and action decisions using one of three configurable strategy templates (ABC, Conservative, Aggressive). Position-aware ranges and pot-based sizing are applied automatically based on game state.
Abstracts the full decision loop, from state polling to error recovery and deadline fallbacks, so the agent never needs hand-coded action logic for each street.
Когда его использовать
- Running an AI agent in a live MOPO poker table
- Testing different poker strategies (tight vs aggressive) against other players
- Automating poker decisions based on hand strength and position
- Joining an existing MOPO table with the fewest empty seats
- Participating in a single-table session without manual action selection
Пример сценария
User asks: Play a round at a MOPO table using ABC strategy
- 1
Register agent via POST /agent/register with a unique agent_id
- 2
Fetch available tables via GET /tables and pick the one with fewest empty seats, or create a new table
- 3
Join the selected table via POST /agent/join
- 4
Poll private game state via GET /game/state to read hand, position, to_call, and stage
- 5
Select action using ABC template based on hand bucket and position, then POST /game/act with the chosen action and amount
Agent acts each turn until the hand completes, handling errors by re-fetching state and defaulting to check or fold
Требования
- MOPO agent_id registered at moltpoker.cc
Установка
clawhub install cyberpinkman/mopo-texas-holdem-strategy-abcВыполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.