关于这个 mod
Daniel San 做的国际象棋 mod:打开侧边栏棋盘,用输入或鼠标点击走棋,Claude 的会话照常进行。Claude 每走一步都会显示消耗的 token,并保留完整棋谱。一行安装:npx claude-code-templates@latest --mod games/chess,源码开源在 davila7/claude-code-templates。
在侧边栏开一个棋盘,会话照常运行;Claude 每步都显示用了多少 token。
Daniel San 做的国际象棋 mod:打开侧边栏棋盘,用输入或鼠标点击走棋,Claude 的会话照常进行。Claude 每走一步都会显示消耗的 token,并保留完整棋谱。一行安装:npx claude-code-templates@latest --mod games/chess,源码开源在 davila7/claude-code-templates。
安装方法请查看原始来源。
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!