---
title: "做了一個模組，讓 Claude 工作時我不再分心滑手機"
url: "https://claudemods.dev/zh-tw/builds/made-a-mod-so-i-stop-drifting-to-my-phone-while-claude-works-dd1540"
source: "https://github.com/leonidb/claude-code-mods/tree/main/mods/twenty-forty-wait"
source_type: "github"
repo: "https://github.com/leonidb/claude-code-mods/tree/main/mods/twenty-forty-wait"
author: "agent_ux"
author_handle: "agent_ux"
stars: 1
category: "遊戲與娛樂"
categories: ["games"]
tags: ["2048", "haiku-summary", "hooks", "plugin", "statusline"]
permission_level: 3
scan_complete: true
install: "claude plugin marketplace add leonidb/claude-code-mods\nclaude plugin install twenty-forty-wait@leonidb"
added: "2026-10-16T16:58:28.398Z"
updated: "2026-10-16T18:19:57Z"
locale: "zh-tw"
content_locale: "zh-tw"
---

# 做了一個模組，讓 Claude 工作時我不再分心滑手機

Reddit 上展示的 twenty-forty-wait Claude Code 外掛，它在提示符上方放置一個 2048 遊戲，讓使用者在 Claude 工作時保持參與，並在回合結束時顯示由 Haiku 生成的「YOUR TURN」摘要。

## Description

這篇貼文分享了一個個人 Claude Code 模組，它在輸入提示符上方加入了一個可玩的 2048 棋盤，與 Claude 的輸出並排顯示，使用者可以隨時切回。當一個回合結束時，遊戲鎖定，棋盤旁邊會出現簡短的「✓ YOUR TURN」摘要；對於 10 秒或更長的回合，Claude Haiku 會在使用者自己的工作階段中根據 Claude 的最終回覆生成摘要，不會將任何其他內容傳送到任何地方。作者描述了兩階段建構（原型，然後從零開始重寫，包含測試和設計指南），指出在遊戲和打字之間切換是難點，並且目前還沒有進入遊戲的鍵盤快速鍵，並報告 Haiku 摘要幾乎總是在 5 秒倒數內完成。安裝方式為 /plugin install twenty-forty-wait --marketplace leonidb/claude-code-mods，使用 /fortywait 切換（Claude Code 2.1.289+），儲存庫位於 github.com/leonidb/claude-code-mods。

## Install

```
claude plugin marketplace add leonidb/claude-code-mods
claude plugin install twenty-forty-wait@leonidb
```

## Original README

Have you ever run a command, then switched to your phone while waiting for the answer? Guilty as charged. So I made myself a small mod that keeps my attention close to the thread that matters: a 2048 game right above the prompt. 2048 is a good fit for this: it takes as much or as little attention as you like, and you can leave mid-game and come back later. It doesn't hide the work: you still see Claude's output and can jump back to the chat at any moment. When the turn ends, the game locks and a short ✓ YOUR TURN summary appears next to the board. For turns of 10 seconds or more, Claude Haiku writes it from Claude's final reply, through your own session. Nothing else is sent anywhere. How I built it 2 phases - quick prototype until I felt I like the UX and switching to and from the game felt natural. Then the game was rewritten from scratch, with proper guidelines on tests, design etc., using the prototype only as a UX reference. Claude Code wrote all the code, both phases. What I learned The game was the easy part. The harder part is switching between playing and typing. I wanted a keyboard shortcut into the game, but for now there's no way around clicking it with the mouse. Summarizing with Haiku worked better than I expected. I was afraid it will take too long and will randomly get stuck. Haiku 5.5 is quick and does a good job, and the summary almost always lands within the 5-second countdown I use to snap out of the game. /plugin install twenty-forty-wait --marketplace leonidb/claude-code-mods Then /fortywait to show or hide it (Claude Code 2.1.289+). https://github.com/leonidb/claude-code-mods/tree/main/mods/twenty-forty-wait   submitted by   /u/agent_ux   to   r/ClaudeCodeMods [link]   [comments]
