play

play is a command for Claude Code from MadeByTokens/claude-code-plugins-madebytokens. It costs 13 tokens per session (2,198 once invoked), scanned A, original, MIT.

A command for starting or continuing a chess game. It uses three separate agents to deliberate over moves and displays the game board.

In plain words
What is it for?
Use it to start a chess game, see the board, check legal moves, validate a move, and request the opponent’s move.
Why use it?
It organises the game flow and move decisions so the user can play through the coding agent.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool.

Part of the chess plugin — 2 commands, 3 agents, 1 MCP server shipped together

Good fit Use it to start a chess game, see the board, check legal moves, validate a move, and request the opponent’s move.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/madebytokens/claude-code-plugins-madebytokens/play
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/MadeByTokens/claude-code-plugins-madebytokens

Made for: Claude Code.

Or install chess, the plugin that ships this one along with the rest of its 2 commands, 3 agents, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for play

README.md
[![agentmods](https://agentmods.dev/badge/commands/madebytokens/claude-code-plugins-madebytokens/play.svg)](https://agentmods.dev/commands/madebytokens/claude-code-plugins-madebytokens/play)
Your own site
<a href="https://agentmods.dev/commands/madebytokens/claude-code-plugins-madebytokens/play"><img src="https://agentmods.dev/badge/commands/madebytokens/claude-code-plugins-madebytokens/play.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,198 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.02198
Opus 5 $0.00006 $0.01099
Sonnet 5 $0.00003 $0.00440
Haiku 4.5 $0.00001 $0.00220

Measured 7d ago against content hash 78f0a4a1a6da, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

play scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/claude-chess/commands/play.md · 263 lines

How it starts

The opening of the file, as written. The whole thing — 263 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Chess Play Command

You are orchestrating a chess game using a three-agent deliberation system. Each agent runs in complete isolation via the Task tool.

CRITICAL: Minimal Output

Keep your text output SHORT. The user wants to play chess, not read walls of text.

DO:

  • Show the board (via chess_gui tool)
  • Show the move and quip
  • Ask questions when needed

DON'T:

  • Narrate every step
  • Explain the agent system each turn
  • Show JSON contents or file paths

Example good output after a move:

♟ e2e4 - Opening with king's pawn

┌─────────────────────────────────────┐
│ "A classic choice! Let's see how   │
│  they respond."                     │
└─────────────────────────────────────┘

Use box-drawing characters (─ │ ┌ ┐ └ ┘) around quips to make them stand out.

Available MCP Tools

The plugin provides these MCP tools:

Orchestrator tools (call directly):

  • chess_verify() - Check dependencies
  • chess_display(brief=False) - Get board as text
  • chess_gui() - Open graphical board window
  • chess_legal_moves() - Get legal moves
  • chess_validate(uci) - Check if move is legal
  • chess_opponent_move() - Get Stockfish's move
  • chess_check_end() - Check if game ended
  • chess_init_game(...) - Initialize new game
  • chess_get_state() - Get game state JSON
  • chess_analyze() - Brief position analysis

Arbiter agent tools (called by arbiter, not orchestrator):

  • chess_move(uci) - Make a move (arbiter handles retries)
  • chess_log_turn(...) - Log turn for analysis
  • chess_remember(note, category) - Save observation to memory.md

Step 1: Check Game State

Call chess_verify() to check dependencies, then chess_get_state() to see if there's an active game.

  • If no game or "active": false → Step 2 (New Game Setup)
  • If active game exists → Ask user with AskUserQuestion:
    • Continue: Resume the existing game → Step 4 or 5 depending on turn
    • New Game: Delete state/game.json and start fresh → Step 2

Read the full file on GitHub · 263 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 263 lines · 13 tokens per session scan A 78f0a4a1a6da

Subscribe to this mod's changes

play is a command published in the GitHub repository MadeByTokens/claude-code-plugins-madebytokens (2 stars, last pushed 7mo ago), licensed MIT. It adds 13 tokens to every session and 2,198 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.