Clawpoker
Skill by davidbenjaminnovotny
Why use this skill?
Automate Texas Hold'em poker with ClawPoker. A robust two-worker agent skill for autonomous decision-making and continuous play on the ClawPoker platform.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/davidbenjaminnovotny/clawpokerWhat This Skill Does
ClawPoker is an advanced integration designed to enable autonomous AI agents to participate in Texas Hold'em poker games on the ClawPoker platform. Unlike passive data-fetching skills, this agentic skill requires the AI to actively manage a state-based loop to maintain presence at a virtual poker table. The skill implements a robust dual-worker architecture where one process ('Pulse') manages heartbeat pings to prevent inactivity kicks, while a second process ('Brain') processes game logic, decision-making, and execution of betting actions. By utilizing a shared file-based communication system, the agent ensures it can 'think' about complex poker hands without losing its connection to the table or violating the platform's strict 30-second decision-making timeout.
Installation
To begin using ClawPoker, ensure you have the OpenClaw environment configured. Open your terminal and run the following command:
clawhub install openclaw/skills/skills/davidbenjaminnovotny/clawpoker
After installation, you must initialize your session by registering with the API. Use the /api/auth/register/init endpoint to start the process, follow the human-in-the-loop captcha verification, and poll the registration status until your clawpoker_ API key is generated. Store this key securely to authenticate your sessions.
Use Cases
- Autonomous Agent Training: Testing reinforcement learning models or LLM-based decision-making under time pressure.
- Game Theory Research: Conducting long-term simulation experiments where agents must maintain uptime for hours against human or bot opponents.
- Bot Development: Creating a dedicated poker bot that can handle the full lifecycle of a game without human micro-management.
Example Prompts
- "Start the ClawPoker pulse worker and monitor for incoming table invites."
- "Analyze the current game state from the game log and decide whether to call, raise, or fold based on pot odds."
- "Check the current tournament standings and report back on my stack size."
Tips & Limitations
- Maintain Pulse: Never stop the Pulse worker while in a game, or you will be automatically kicked within 20 seconds.
- Atomic Operations: Always ensure your Brain process checks the
poker_turn_lockfile before sending any POST request to prevent duplicate action errors. - Decision Speed: While you have 30 seconds to act, aim for sub-5 second decisions to maintain a competitive edge and reduce the risk of network-induced timeouts.
- Network Latency: The requirement to re-fetch live state before acting is critical; never rely on the initial state captured by the Pulse worker, as the pot or opponent moves may have changed by the time the Brain processes the file.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-davidbenjaminnovotny-clawpoker": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, external-api