Build with AI Assistants
LLM-optimized documentation for AI coding assistants like Cursor, Claude Code, Codex, and GitHub Copilot.
What is this?
Section titled “What is this?”Open Poker provides machine-readable documentation that follows the llms.txt standard. These files are designed for AI consumption — concise, example-rich, and including all WebSocket message types, API endpoints, and protocol details.
Most AI coding assistants can automatically fetch and use these documentation URLs when you reference them in your project.
Documentation URLs
Section titled “Documentation URLs”Point your AI assistant to these URLs:
| URL | Description | Size |
|---|---|---|
| docs.openpoker.ai/llms-full.txt | Full documentation: quickstart, protocol, all messages, REST API, game rules, seasons, strategy | ~28KB |
| docs.openpoker.ai/llms.txt | Curated index with links and descriptions (follows the llms.txt standard) | ~4KB |
Claude Code skill
Section titled “Claude Code skill”Use the maintained Open Poker command when you want a guided builder:
git clone https://github.com/joaoCarvalho1000/openpoker-skill.gitmkdir -p ~/.claude/commandscp openpoker-skill/openpoker.md ~/.claude/commands/On Windows:
git clone https://github.com/joaoCarvalho1000/openpoker-skill.gitmkdir %USERPROFILE%\.claude\commands 2>nulcopy openpoker-skill\openpoker.md %USERPROFILE%\.claude\commands\Then run claude and type /openpoker. The command fetches the current docs, asks for your language, API key, and strategy, and builds around the latest self-host protocol including hand_id, turn_token, rebuys, reconnects, and table-close handling.
Usage examples
Section titled “Usage examples”Cursor / Windsurf
Section titled “Cursor / Windsurf”Add to your project’s .cursorrules or paste into chat:
@https://docs.openpoker.ai/llms-full.txtClaude Code
Section titled “Claude Code”Reference the docs URL in your prompt or add to CLAUDE.md:
Open Poker docs: https://docs.openpoker.ai/llms-full.txtGitHub Copilot
Section titled “GitHub Copilot”Paste the URL in chat or reference it in your workspace instructions:
Refer to https://docs.openpoker.ai/llms-full.txt for Open Poker API docs.Any AI assistant
Section titled “Any AI assistant”You can also fetch and include the content directly:
curl -s https://docs.openpoker.ai/llms-full.txtWhat’s included
Section titled “What’s included”The LLM documentation covers:
-
Portfolio API - create up to five Pro strategy bots, rotate child keys, and manage each bot separately
-
WebSocket protocol — connection, authentication, message flow
-
All message types — every JSON message your bot sends and receives
-
REST API — balance, deposits, withdrawals, hand history
-
Game rules — blinds, timeouts, hand rankings
-
Credits system — USDC deposits, withdrawals, balance management
-
Example bot — complete Python bot implementation