---
title: "Claudeの作業中にスマホをいじらなくなるようにMODを作った"
url: "https://claudemods.dev/ja/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: "ja"
content_locale: "ja"
---

# Claudeの作業中にスマホをいじらなくなるようにMODを作った

Redditで紹介されたtwenty-forty-wait Claude Codeプラグイン。プロンプトの上に2048ゲームを配置し、Claudeの作業中もユーザーを飽きさせず、ターン終了時にHaikuが生成した「YOUR TURN」サマリーを表示する。

## Description

この投稿では、入力プロンプトの上にプレイ可能な2048ボードを追加する個人用のClaude Code MODを紹介しています。Claudeの出力と並んで表示されるため、ユーザーはいつでも戻ることができます。ターンが終了するとゲームはロックされ、ボードの隣に短い「✓ YOUR TURN」サマリーが表示されます。10秒以上のターンでは、Claude Haikuがユーザー自身のセッション内でClaudeの最終返信からサマリーを生成し、それ以外はどこにも送信されません。作者は2段階の構築（プロトタイプ、次にテストと設計ガイドラインを含むゼロからの書き直し）について説明し、プレイとタイピングの切り替えが難しい部分であり、ゲームに入るキーボードショートカットはまだ利用できないと述べ、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]
