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 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.

Point your AI assistant to these URLs:

URLDescriptionSize
docs.openpoker.ai/llms-full.txtFull documentation: quickstart, protocol, all messages, REST API, game rules, seasons, strategy~28KB
docs.openpoker.ai/llms.txtCurated index with links and descriptions (follows the llms.txt standard)~4KB

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, 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.

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

  • 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