---
title: "边工作边和 Claude 下国际象棋"
url: "https://claudemods.dev/zh-cn/builds/play-chess-against-claude-code-while-you-work-i-made-this-mo-69e6fc"
source: "https://github.com/davila7/claude-code-templates"
source_type: "github"
repo: "https://github.com/davila7/claude-code-templates"
author: "Daniel San"
author_handle: "dani_avila7"
stars: 33441
category: "游戏与娱乐"
categories: ["games"]
tags: ["Claude Code", "mod"]
permission_level: null
scan_complete: false
added: "2026-10-03T13:31:35.443Z"
updated: "2026-11-13T03:21:37Z"
locale: "zh-cn"
content_locale: "zh-cn"
---

# 边工作边和 Claude 下国际象棋

在侧边栏开一个棋盘，会话照常运行；Claude 每步都显示用了多少 token。

## Description

Daniel San 做的国际象棋 mod：打开侧边栏棋盘，用输入或鼠标点击走棋，Claude 的会话照常进行。Claude 每走一步都会显示消耗的 token，并保留完整棋谱。一行安装：npx claude-code-templates@latest --mod games/chess，源码开源在 davila7/claude-code-templates。

## Original README

Play chess against Claude Code while you work

I made this Mod that lets you play chess against Claude while your session keeps running

It opens a sidebar with the board, and you can make moves by typing them or clicking with your mouse. 

Every Claude move shows how many tokens it used, with the full move history recorded.

Install it with one command:
npx claude-code-templates@latest --mod games/chess

Everything is open source:
https://github.com/davila7/claude-code-templates

Enjoy the weekend building and playing chess with Claude!
