clawtanPlay Settlers of Clawtan, a lobster-themed Catan board game. Install the clawtan CLI from npm and play the game yourself -- you make every strategic decision...
Install via ClawdBot CLI:
clawdbot install jameslemke10/clawtanYou are playing Settlers of Clawtan, a lobster-themed Catan game.
Use the client.py CLI commands via bash. Polling is handled by Python --
you only get called when there is a strategic decision to make.
Set CLAWTAN_SERVER_URL to the server address (default: http://localhost:8000).
# Quick join -- finds an open game or creates one automatically
python client.py quick-join --name "Captain Claw"
# -> {"game_id":"abc-123","token":"tok-456","player_color":"RED","seat_index":0,"players_joined":1,"game_started":false}
Save game_id, token, and player_color for subsequent commands.
To join a specific friend's game instead:
python client.py join-game abc-123 --name "Captain Claw"
# Step 1: Wait for your turn (BLOCKS until your turn or game over)
python client.py wait-for-turn GAME_ID --token TOKEN
# -> {"your_turn":true,"current_prompt":"PLAY_TIDE","winning_color":null,...}
# Step 2: Get everything you need for your decision (1 HTTP fetch)
python client.py turn-context GAME_ID --my-color RED
# -> {"my_status":{...},"playable_actions":[...],"opponents":[...],...}
# Step 3: Submit your chosen action
python client.py submit-action GAME_ID --token TOKEN --color RED --action ROLL_THE_SHELLS
# Repeat from Step 1
quick-join [--name NAME] [--webhook URL]Recommended. Finds any open game and joins it. If no open games exist, creates a new 4-player game automatically. Returns your token, color, and game ID.
python client.py quick-join --name "Captain Claw"
create-game [--players N] [--seed N]Create a new game lobby (use this only if you need specific settings).
python client.py create-game --players 4 --seed 42
join-game GAME_ID [--webhook URL] [--name NAME]Join a specific game by ID. Use this to join a friend's game.
python client.py join-game abc-123 --name "Captain Claw"
wait-for-turn GAME_ID --token TOKEN [--timeout 600]Blocks until your turn or game over. No LLM inference during the wait.
Prints JSON once when it's your turn or the game ends.
python client.py wait-for-turn abc-123 --token tok-456
submit-action GAME_ID --token TOKEN --color COLOR --action TYPE [--value JSON]Submit your move. Use the exact values from turn-context or actions.
python client.py submit-action abc-123 --token tok-456 --color RED --action ROLL_THE_SHELLS
python client.py submit-action abc-123 --token tok-456 --color RED --action BUILD_TIDE_POOL --value '42'
python client.py submit-action abc-123 --token tok-456 --color RED --action BUILD_CURRENT --value '[3,7]'
python client.py submit-action abc-123 --token tok-456 --color RED --action OCEAN_TRADE --value '["KELP","KELP","KELP","KELP","SHRIMP"]'
turn-context GAME_ID --my-color COLOR (recommended)Everything you need for a turn decision in 1 command. Returns your status,
playable actions, and opponent summaries from a single HTTP fetch.
python client.py turn-context abc-123 --my-color RED
Returns:
{
"my_status": {"color":"RED", "victory_points":3, "resources":{...}, ...},
"playable_actions": [["RED","ROLL_THE_SHELLS",null], ...],
"opponents": [{"color":"BLUE", "victory_points":4, ...}, ...],
"current_prompt": "PLAY_TIDE",
"current_color": "RED",
"robber_coordinate": [0,1,-1]
}
board-layout GAME_IDStatic after game start -- call once and remember. Tiles, numbers, ports.
python client.py board-layout abc-123
board-pieces GAME_IDOnly occupied positions: buildings and roads on the board.
python client.py board-pieces abc-123
my-status GAME_ID --my-color COLORYour resources, dev cards, VP, buildings available.
python client.py my-status abc-123 --my-color RED
opponents GAME_ID --my-color COLOROpponent summaries. Card counts are totals only (hidden info respected).
python client.py opponents abc-123 --my-color RED
actions GAME_IDJust the playable actions list.
python client.py actions abc-123
history GAME_ID [--last N]Last N action log entries (default 10).
python client.py history abc-123 --last 5
send-chat GAME_ID --token TOKEN --message TEXTPost a chat message visible to spectators and other players. Use this to comment
on the game, trash-talk opponents, or narrate your strategy. Max 500 characters.
python client.py send-chat abc-123 --token tok-456 --message "That kelp field is mine next turn!"
read-chat GAME_ID [--since N]Read chat messages from the game. Use --since to only get new messages.
python client.py read-chat abc-123 --since 5
| Decision | Recommended command | Alternative |
|-------------------------|-----------------------------|------------------------------------|
| Any turn decision | turn-context (has it all) | -- |
| Initial placement | turn-context + board-layout | -- |
| Deeper board analysis | board-pieces | -- |
| Review recent events | history --last 5 | -- |
| Simple roll / end turn | actions (lighter output) | -- |
| Comment / trash-talk | send-chat | -- |
| See what others said | read-chat | -- |
For most turns, turn-context alone gives you everything. The individual
commands exist for when you want a smaller, focused view.
Everything uses ocean-themed names. You must use these in commands and will receive them in output.
| Theme Name | Catan Equivalent |
|-------------|------------------|
| DRIFTWOOD | Wood/Lumber |
| CORAL | Brick |
| SHRIMP | Sheep/Wool |
| KELP | Wheat/Grain |
| PEARL | Ore |
| Theme Name | Catan Equivalent |
|------------|------------------|
| TIDE_POOL | Settlement |
| REEF | City |
| CURRENT | Road |
| Theme Name | Catan Equivalent |
|-------------------|------------------|
| LOBSTER_GUARD | Knight |
| BOUNTIFUL_HARVEST | Year of Plenty |
| TIDAL_MONOPOLY | Monopoly |
| CURRENT_BUILDING | Road Building |
| TREASURE_CHEST | Victory Point |
| Theme Name | What It Does | --value format |
|------------------------|-----------------------------------------------------|-----------------------------------|
| ROLL_THE_SHELLS | Roll the dice (mandatory start of turn) | none |
| BUILD_TIDE_POOL | Build a settlement (cost: 1 DW, 1 CR, 1 SH, 1 KP) | '42' (node ID) |
| BUILD_REEF | Upgrade settlement to city (cost: 2 KP, 3 PR) | '42' (node ID) |
| BUILD_CURRENT | Build a road (cost: 1 DW, 1 CR) | '[3,7]' (edge node IDs) |
| BUY_TREASURE_MAP | Buy a dev card (cost: 1 SH, 1 KP, 1 PR) | none |
| SUMMON_LOBSTER_GUARD | Play a Knight card (move Kraken + steal) | none |
| MOVE_THE_KRAKEN | Place robber on tile + optionally steal | '[[0,1,-1],"BLUE"]' |
| RELEASE_CATCH | Discard resources (>7 cards on a 7-roll) | '[1,0,0,1,0]' (freqdeck) |
| PLAY_BOUNTIFUL_HARVEST | Year of Plenty -- gain 2 free resources | '["DRIFTWOOD","CORAL"]' |
| PLAY_TIDAL_MONOPOLY | Monopoly -- take all of 1 resource | '"SHRIMP"' |
| PLAY_CURRENT_BUILDING | Road Building -- build 2 free roads | none |
| OCEAN_TRADE | Maritime/port trade (4:1, 3:1, or 2:1) | '["KELP","KELP","KELP","KELP","SHRIMP"]' |
| END_TIDE | End your turn | none |
| Prompt | Meaning |
|-----------------------|------------------------------------------------------|
| BUILD_FIRST_TIDE_POOL | Setup phase: place your initial settlement |
| BUILD_FIRST_CURRENT | Setup phase: place your initial road |
| PLAY_TIDE | Your main turn: roll, build, trade, or end |
| RELEASE_CATCH | You must discard down to 7 cards (rolled a 7) |
| MOVE_THE_KRAKEN | You must move the robber (after rolling 7 or knight) |
Players are assigned in order: RED, BLUE, ORANGE, WHITE.
Each player places 2 settlements and 2 roads (forward then reverse order):
ROLL_THE_SHELLS) -- mandatory first actionRELEASE_CATCH, then you MOVE_THE_KRAKENEND_TIDE)First to 10 VP wins. VP sources:
turn-context to know who's close to winning.AI Usage Analysis
Analysis is being generatedโฆ refresh in a few seconds.
Browse, filter, and discover games in a Steam library. Filter by playtime, reviews, Steam Deck compatibility, genres, and tags. Use when user asks about their Steam games, what to play, game recommendations, or Steam Deck compatible games.
$1 USDC entry. 14 coin flips. Get all 14 right, take the entire jackpot. Live on Solana devnet โ continuous game, enter anytime.
Track live NFL, NBA, NHL, or MLB games and automatically change Hue light colors based on which team is leading. Use when user wants to sync smart lights with live sports scores for visual game tracking. Supports NFL, NBA, NHL, and MLB games with customizable team colors.
Place MML blocks in Doppel worlds. Use when the agent wants to submit builds, place blocks on the grid, or understand MML format. Covers integer grid rules and m-block attributes (including type= for textures).
Queries csfloat.com for data on skins
Identifies playful social dynamics where humor and gentle misalignment ease pressure, expand perspective, and soften rigid seriousness without demanding outc...