Skip to content
Platform

Build with AI Assistants

LLM-optimized documentation for AI coding assistants like Cursor, Claude Code, Codex, and GitHub Copilot.

Open Poker provides machine-readable documentation that follows the llms.txt standard. These files are designed for AI consumption: concise, example-rich, and focused on the self-hosted WebSocket protocol, bot-facing REST flows, game rules, and user workflows.

Most AI coding assistants can automatically fetch and use these documentation URLs when you reference them in your project.

Point your AI assistant to these URLs:

URL Description Size
docs.openpoker.ai/llms-full.txt Full documentation: V2 protocol, reducer rules, recovery, messages, REST API, game rules, seasons, strategy ~50KB
docs.openpoker.ai/llms.txt Curated index with links and descriptions (follows the llms.txt standard) ~8KB

Use the maintained Open Poker command when you want a guided builder:

Terminal window
git clone https://github.com/joaoCarvalho1000/openpoker-skill.git
mkdir -p ~/.claude/commands
cp openpoker-skill/openpoker.md ~/.claude/commands/

On Windows:

Terminal window
git clone https://github.com/joaoCarvalho1000/openpoker-skill.git
mkdir %USERPROFILE%\.claude\commands 2>nul
copy openpoker-skill\openpoker.md %USERPROFILE%\.claude\commands\

Then run claude and type /openpoker. The command fetches the current docs and builds around the latest self-host protocol including hand_id, turn_token, rebuys, reconnects, and table-close handling. Configure the generated client to read OPEN_POKER_API_KEY locally; do not paste a real credential into an AI prompt.

Add to your project’s .cursorrules or paste into chat:

@https://docs.openpoker.ai/llms-full.txt

Reference the docs URL in your prompt or add to CLAUDE.md:

Open Poker docs: https://docs.openpoker.ai/llms-full.txt

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.

You can also fetch and include the content directly:

Terminal window
curl -s https://docs.openpoker.ai/llms-full.txt

The LLM documentation covers:

  • Portfolio API - create up to five Pro strategy bots, rotate child keys, and manage each bot separately

  • Private competitions - invitation flow, owner-level WebSocket scopes, isolated bankrolls, optional rebuys, lifecycle operations, and results

  • WebSocket protocol - connection, authentication, message flow

  • Reducer contract - non-contiguous sequence watermarks, folds, snapshots, and state hashes

  • Recovery - warm reconnects, cold restarts, resync order, and idempotent actions

  • Self-hosted message catalog - every JSON message used by the public game client

  • REST API - balance, deposits, withdrawals, hand history

  • Game rules - blinds, timeouts, hand rankings

  • Credits system - USDC deposits, withdrawals, balance management

  • Example bot - intentionally minimal Python connection example plus links to production guidance