---
title: "diff-widget"
url: "https://claudemods.dev/ko/builds/diff-widget-7e29b1"
source: "https://github.com/oMaN-Rod/claude-code-widgets/tree/main/plugins/diff-widget"
source_type: "github"
repo: "https://github.com/oMaN-Rod/claude-code-widgets/tree/main/plugins/diff-widget"
author: "oMaN-Rod"
author_handle: "oMaN-Rod"
stars: 5
category: "기타"
categories: ["other"]
tags: []
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add oMaN-Rod/claude-code-widgets\nclaude plugin install diff-widget"
added: "2026-10-05T15:42:08.915Z"
updated: "2026-10-12T18:39:28Z"
locale: "ko"
content_locale: "ko"
---

# diff-widget

마지막 편집을 구문 강조가 적용된 diff로 표시합니다.

## Description

# Claude Code Widgets

Claude Code 프롬프트 아래에 놓이거나 전체 화면에서 transcript 옆에 도킹되는 작은 카드입니다. 각 widget은 독립적인 mod이며 슬래시 명령으로 켜고 끕니다.

처음에는 유용한 몇 가지(컨텍스트, 사용량, 파일 트리)만 있었지만 계속 늘어났습니다. 이제 git status와 턴 타이머부터 픽셀 게, 던전 크롤, Tetris까지 61개의 widget이 있습니다.

## 설치

마켓플레이스를 추가한 다음 레이아웃 플러그인과 원하는 widget을 설치합니다.

```
/plugin marketplace add oMaN-Rod/claude-code-widgets
/plugin install widgets@claude-code-widgets
/plugin install context-widget@claude-code-widgets
```

모든 widget에는 카드를 배치하는 레이아웃 플러그인 widgets가 필요합니다.

mod(function hook)를 지원하는 Claude Code 버전이 필요합니다. mod API는 early access이며 릴리스 사이에 바뀔 수 있습니다.

## Widget

### 레이아웃

모든 widget에 필요합니다.

| 플러그인 | 명령 | 표시 내용 |
| --- | --- | --- |
| `widgets` | `/widgets [side\\|above\\|below\\|close\\|<columns>\\|width <widget> <columns\\|reset>]` | 프롬프트 아래, 위 또는 전체 화면에서 transcript 옆에 카드를 배치 |

### 세션

Claude가 무엇을 하고 있고 비용이 얼마인지 보여 줍니다.

| 플러그인 | 명령 | 표시 내용 |
| --- | --- | --- |
| `context-widget` | `/context-widget [auto\\|detailed\\|grid\\|top\\|bar\\|line]` | `/context` 범주마다 색을 달리한 누적 막대로 컨텍스트 창 표시 |
| `usage-widget` | `/usage-widget` | 속도 제한 창마다 막대, 재설정까지의 시간, 세션 비용 |
| `timer-widget` | `/timer-widget [on\\|off\\|clear]` | 진행 중인 턴의 경과 시간과 최근·평균·최장 턴, 스파크라인 |
| `activity-widget` | `/activity-widget [on\\|off\\|clear]` | 최근 도구 호출, 소요 시간, 실패 여부 |
| `tasks-widget` | `/tasks-widget [on\\|off\\|clear]` | Claude가 처리하는 작업 목록과 진행률 표시줄 |
| `checks-widget` | `/checks-widget [on\\|off\\|clear]` | 최근 테스트, lint, 빌드 실행: 성공 또는 실패, 소요 시간, 실행 후 경과 시간 |
| `timeline-widget` | `/timeline-widget [on\\|off]` | 턴을 차트로 표시: 시간축의 도구 호출마다 막대 하나, 병렬 호출은 겹쳐 표시 |
| `board-widget` | `/board-widget [on\\|off\\|clear]` | Claude가 pin 도구로 직접 작성하는 상태 보드: 목표, 발견, 열린 질문 |
| `forecast-widget` | `/forecast-widget [on\\|off\\|clear]` | 턴별 컨텍스트 증가를 차트로 표시하고 압축 전 남은 턴 수 표시 |
| `guard-widget` | `/guard-widget [on\\|off\\|clear]` | 이 세션의 권한 확인: 허용, 물어봄, 거부, 계속 묻는 항목 |
| `stream-widget` | `/stream-widget [on\\|off]` | Claude가 작성하는 동안 초당 token 게이지와 스파크라인을 실시간 표시(텍스트 길이로 추정) |
| `sessions-widget` | `/sessions-widget [on\\|off]` | 이 컴퓨터에서 열린 다른 Claude Code 세션: 폴더, 브랜치, 바쁨 또는 유휴 |

### 프로젝트와 git

작업 트리 상태입니다.

| 플러그인 | 명령 | 표시 내용 |
| --- | --- | --- |
| `file-tree-widget` | `/file-tree-widget` | 프로젝트 디렉터리. 클릭해 폴더 확장 |
| `git-widget` | `/git-widget` | 브랜치, 앞섬/뒤처짐, 스테이징, 변경 및 추적되지 않은 항목 수와 마지막 커밋 |
| `changes-widget` | `/changes-widget [on\\|off\\|clear]` | 이 세션에서 편집한 파일을 최신순으로 표시하고 파일별 편집 횟수 표시 |
| `commits-widget` | `/commits-widget` | 세션 시작 후 만들어진 커밋 |
| `todos-widget` | `/todos-widget` | 추적 파일의 TODO, FIXME, HACK, XXX 주석을 세어 나열 |
| `diff-widget` | `/diff-widget [on\\|off\\|clear]` | 마지막 편집의 구문 강조 diff |
| `watch-widget` | `/watch-widget [on\\|off\\|run\\|stop]`, `/watch <command>` | `/watch bun test`는 편집마다 명령을 다시 실행해 성공/실패와 마지막 실패 줄 표시 |
| `map-widget` | `/map-widget [on\\|off\\|clear]` | 추적 파일의 픽셀 지도. Claude가 읽은 곳은 파란색, 편집한 곳은 초록색으로 켜짐 |

### 시간과 집중

세션과 관계없는 시계, 타이머, 알림입니다.

| 플러그인 | 명령 | 표시 내용 |
| --- | --- | --- |
| `pomodoro-widget` | `/pomodoro-widget [on\\|off\\|start\\|break\\|stop\\|<minutes>]` | 카운트다운 집중 타이머, 진행률 표시줄, 완료한 세션 수 |
| `countdown-widget` | `/countdown-widget [on\\|off\\|clear]`, `/countdown <HH:MM\\|<n>m\\|<n>h> [label]` | 설정한 기한까지 남은 시간, 진행률 표시줄, 도착 시 토스트 |
| `clocks-widget` | `/clocks-widget [on\\|off\\|add <zone>\\|remove <zone>\\|clear]` | 현지 시간과 추가한 시간대(예: `Asia/Tokyo`) |
| `notes-widget` | `/notes-widget [on\\|off\\|clear]`, `/note <text\\|done <n>>` | 세션 간 유지되는 고정 메모. `/note <text>`로 추가하고 `/note done <n>`으로 삭제 |
| `coffee-widget` | `/coffee-widget [on\\|off\\|refill\\|<minutes>]` | 90분에 걸쳐 비워지는 컵과 휴식 알림 |

### 장면

턴, 도구 호출, 확인, 컨텍스트 사용량에 반응하는 픽셀 아트입니다.

| 플러그인 | 명령 | 표시 내용 |
| --- | --- | --- |
| `pet-widget` | `/pet-widget [on\\|off\\|<mood>]` | 픽셀 게 Clawd: 턴 중에는 일하고 도구 호출이 실패하면 어지러워하며 테스트가 통과하면 기뻐합니다. 세션을 넘나들며 XP를 얻고 레벨업하며 badges-widget이 배지를 주면 모자를 씁니다. 세션을 2개 열면 마지막으로 프롬프트를 보낸 세션에 남습니다 |
| `aquarium-widget` | `/aquarium-widget [on\\|off\\|demo]` | 실행 중인 도구 호출과 에이전트마다 물고기 1마리 |
| `skyline-widget` | `/skyline-widget [on\\|off\\|demo\\|clear]` | 턴마다 건물 1개, 도구 호출마다 층 1개 |
| `train-widget` | `/train-widget [on\\|off]` | 이번 턴의 도구 호출마다 객차 1개를 끄는 기관차. 색은 도구별 |
| `garden-widget` | `/garden-widget [on\\|off\\|reset]` | 식물: 도구 호출마다 잎이 하나 나고 확인 통과 시 꽃이 피며 호출 실패 시 시듭니다 |
| `campfire-widget` | `/campfire-widget [on\\|off\\|stoke]` | 도구 호출이 많을수록 높게 타고 유휴 상태에서는 잔불로 내려가는 모닥불 |
| `constellation-widget` | `/constellation-widget [on\\|off\\|clear]` | 턴마다 별 하나를 추가하고 9개가 되면 이름을 붙인 별자리 |
| `fireworks-widget` | `/fireworks-widget [on\\|off\\|demo]` | 확인 통과 시 불꽃놀이, 실패 시 불발탄을 띄우는 밤하늘 |
| `invaders-widget` | `/invaders-widget [on\\|off\\|demo\\|clear]` | 확인 실패마다 침입자 하나가 나타나고 통과하면 격추 |
| `weather-widget` | `/weather-widget [on\\|off\\|live\\|<percent>]` | 컨텍스트에 여유가 있으면 맑고 압축이 가까우면 폭풍 |
| `boss-widget` | `/boss-widget [on\\|off]` | 컨텍스트 사용량을 보스 체력 막대로 표시하며 압축하면 보스를 쓰러뜨리고 다음 레벨 시작 |
| `sky-widget` | `/sky-widget [on\\|off]` | 현지 시간의 하늘: 낮에는 태양, 밤에는 달, 세션이 길수록 별이 많아짐 |
| `world-widget` | `/world-widget [on\\|off\\|clear]` | 모든 것을 하나의 장면으로 표시: 시계에 따른 하늘, 컨텍스트에 따른 날씨, 턴마다 탑 하나, 도구 호출 열차, 돌아다니는 게 |
| `quest-widget` | `/quest-widget [on\\|off\\|reset]` | 세션을 던전 크롤로 표시: 턴마다 방, 도구 호출마다 몬스터, 확인 통과 시 전리품; 영웅은 세션 간 유지 |
| `race-widget` | `/race-widget [on\\|off\\|clear]` | 병렬 서브에이전트를 트랙 위 자동차로 표시하고 도구 호출마다 한 걸음 진행하며 결승 시 시상대에 올림 |

### 시각화

도구 활동으로 구동되는 추상 그림입니다.

| 플러그인 | 명령 | 표시 내용 |
| --- | --- | --- |
| `mosaic-widget` | `/mosaic-widget [on\\|off\\|clear]` | 도구 호출마다 타일 하나, 도구별 색상; 실패는 빨간색 |
| `sorting-widget` | `/sorting-widget [on\\|off\\|step]` | 정렬 중인 막대 차트, 도구 호출마다 한 번 교환 |
| `equalizer-widget` | `/equalizer-widget [on\\|off]` | 도구 호출마다 뛰고 쉬면 내려오는 레벨 미터 |
| `rain-widget` | `/rain-widget [on\\|off]` | 떨어지는 코드 비. 턴이 바쁠수록 빨라짐 |
| `orbit-widget` | `/orbit-widget [on\\|off]` | 작은 태양계. 도구 호출이 실행되는 동안 행성이 빨라짐 |
| `life-widget` | `/life-widget [on\\|off\\|reset]` | Conway의 라이프 게임. 도구 호출마다 글라이더 하나를 떨어뜨림 |
| `donut-widget` | `/donut-widget [on\\|off]` | 회전하는 3D 도넛. 도구 호출 중 더 빠르게 회전 |
| `pipes-widget` | `/pipes-widget [on\\|off]` | 파이프 화면 보호기. 세션이 유휴 상태일 때 자라고 Claude가 작업하면 일시 정지 |
| `maze-widget` | `/maze-widget [on\\|off\\|new]` | 프로젝트 폴더를 시드로 만든 1인칭 미로 걷기 |
| `marquee-widget` | `/marquee-widget [on\\|off\\|clear\\|<text>]` | 세션 이벤트를 흘려 보내는 LED 전광판. 다른 텍스트는 자신의 헤드라인으로 게시 |

### 게임

Snake, 2048, Tetris가 보드를 클릭하고 키를 넘겨받을 때까지 자동으로 플레이됩니다.

| 플러그인 | 명령 | 표시 내용 |
| --- | --- | --- |
| `snake-widget` | `/snake-widget [on\\|off]` | Snake. 키를 넘겨받을 때까지 자동 플레이 |
| `2048-widget` | `/2048-widget [on\\|off]` | 2048. 키를 넘겨받을 때까지 자동 플레이 |
| `tetris-widget` | `/tetris-widget [on\\|off]` | Tetris. 키를 넘겨받을 때까지 자동 플레이 |
| `minesweeper-widget` | `/minesweeper-widget [on\\|off]` | Minesweeper: 클릭해 공개하고 오른쪽 클릭 또는 `f`로 깃발 표시, `r`로 재시작 |
| `breakout-widget` | `/breakout-widget [on\\|off\\|reset]` | 자동으로 플레이하는 벽돌깨기. 도구 호출마다 벽돌 한 줄 추가 |
| `typer-widget` | `/typer-widget [on\\|off]` | 타자 게임: 자신의 파일 이름에서 단어가 떨어지고 땅에 닿기 전에 입력 |

### 재미로

| 플러그인 | 명령 | 표시 내용 |
| --- | --- | --- |
| `fortune-widget` | `/fortune-widget [on\\|off\\|next]` | 턴마다 바뀌는 한 줄 운세 |
| `8ball-widget` | `/8ball-widget [on\\|off]`, `/8ball <question>` | `/8ball <question>`이 신뢰하기 어려운 답변을 제공 |
| `badges-widget` | `/badges-widget [on\\|off\\|reset]` | 세션 간 유지되는 업적과 잠금 해제 시 토스트 |
| `sigil-widget` | `/sigil-widget [on\\|off\\|clear]` | 세션 활동으로 픽셀 문장을 만들고 이전 세션의 문장 갤러리 옆에 표시 |
| `sound-widget` | `/sound-widget [on\\|off\\|mute\\|test]` | 도구 호출마다 음 하나, 확인 통과 시 화음, 실패 시 버즈와 피아노 롤(오디오는 macOS에서만 재생) |

배치, 켜진 widget, 보기 모드는 모든 세션에서 저장되고 복원됩니다.

## 참고

- `/widgets width pet 60`은 widget 카드 하나가 커질 수 있는 너비를 설정합니다(기본값은 40열). `/widgets width pet reset`으로 되돌립니다.
- `/widgets side`는 전체 화면 레이아웃(`/tui fullscreen`)에서만 카드를 transcript 옆에 도킹합니다. 기본 레이아웃에서는 프롬프트 아래로 돌아갑니다.
- 픽셀 아트는 터미널 블록 문자로 그려지며 터미널에만 표시됩니다.
- sound-widget은 macOS에서만 오디오를 재생하고 다른 곳에서는 소리를 내지 않고 피아노 롤만 그립니다.
- board-widget은 Claude가 호출할 수 있는 pin 도구를 등록하므로 보드가 켜져 있는 동안 그 설명이 컨텍스트의 일부가 됩니다.
- watch-widget은 sh -c로 명령을 실행하고 실패하면 cmd /c로 대체합니다.
- 게임을 넘겨받거나 Minesweeper를 플레이하려면 보드를 클릭해야 하며 전체 화면 레이아웃이 그 클릭을 보고합니다.

## 개발

plugins/ 아래의 각 플러그인은 manifest, hooks 모듈, 테스트로 이루어진 mod입니다.

```
claude --plugin-dir plugins            # load every plugin from this checkout
claude plugin validate plugins/<name>  # check a manifest and hooks module
claude plugin test plugins/<name>      # run its tests
```

플러그인은 서로 import할 수 없으므로 widgets는 카드 스택과 픽셀 렌더러를 $.widgets(plugins/widgets/hooks/kit.tsx)로 공유하고 모든 widget이 이를 호출합니다.

## 라이선스

MIT

## Install

```
claude plugin marketplace add oMaN-Rod/claude-code-widgets
claude plugin install diff-widget
```

## Original README

# Claude Code Widgets

Small cards that sit under the Claude Code prompt, or docked beside the transcript in fullscreen. Each widget is its own mod, toggled with a slash command.

It started with a few useful ones (context, usage, file tree) and then got carried away: there are now 61 widgets, from git status and a turn timer to a pixel crab, a dungeon crawl and Tetris.

## Install

Add the marketplace, then install the layout plugin and whichever widgets you want:

```
/plugin marketplace add oMaN-Rod/claude-code-widgets
/plugin install widgets@claude-code-widgets
/plugin install context-widget@claude-code-widgets
```

Every widget needs `widgets`, the layout plugin that places the cards.

Requires a Claude Code version with mod (function hook) support. The mod API is early access and may change between releases.

## Widgets

### Layout

Required by every widget.

| Plugin | Command | What it shows |
| --- | --- | --- |
| `widgets` | `/widgets [side\|above\|below\|close\|<columns>\|width <widget> <columns\|reset>]` | Places the cards: below the prompt, above it, or docked beside the transcript in fullscreen |

### Session

What Claude is doing and what it is costing.

| Plugin | Command | What it shows |
| --- | --- | --- |
| `context-widget` | `/context-widget [auto\|detailed\|grid\|top\|bar\|line]` | The context window as a stacked bar, one colour per `/context` category |
| `usage-widget` | `/usage-widget` | A bar per rate-limit window, time to reset, session cost |
| `timer-widget` | `/timer-widget [on\|off\|clear]` | The running turn's elapsed time, plus last, average and longest turn and a sparkline |
| `activity-widget` | `/activity-widget [on\|off\|clear]` | The latest tool calls with their duration and whether they failed |
| `tasks-widget` | `/tasks-widget [on\|off\|clear]` | The task list Claude is working through, with a progress bar |
| `checks-widget` | `/checks-widget [on\|off\|clear]` | The latest test, lint and build runs: pass or fail, duration and how long ago |
| `timeline-widget` | `/timeline-widget [on\|off]` | The turn as a chart: one bar per tool call on a time axis, parallel calls stacked |
| `board-widget` | `/board-widget [on\|off\|clear]` | A status board Claude writes itself through a `pin` tool: goal, findings and open questions |
| `forecast-widget` | `/forecast-widget [on\|off\|clear]` | Context growth per turn as a chart, with the turns left before compaction |
| `guard-widget` | `/guard-widget [on\|off\|clear]` | Permission checks this session: allowed, asked and denied, with what you keep being asked about |
| `stream-widget` | `/stream-widget [on\|off]` | A live tokens-per-second gauge and sparkline while Claude is writing (estimated from text length) |
| `sessions-widget` | `/sessions-widget [on\|off]` | The other Claude Code sessions open on this machine: folder, branch, busy or idle |

### Project and git

The state of the working tree.

| Plugin | Command | What it shows |
| --- | --- | --- |
| `file-tree-widget` | `/file-tree-widget` | The project directory; folders expand on click |
| `git-widget` | `/git-widget` | Branch, ahead/behind, staged, changed and untracked counts, and the last commit |
| `changes-widget` | `/changes-widget [on\|off\|clear]` | Files edited this session, most recent first, with an edit count each |
| `commits-widget` | `/commits-widget` | The commits made since the session started |
| `todos-widget` | `/todos-widget` | TODO, FIXME, HACK and XXX comments in tracked files, counted and listed |
| `diff-widget` | `/diff-widget [on\|off\|clear]` | The last edit as a syntax-highlighted diff |
| `watch-widget` | `/watch-widget [on\|off\|run\|stop]`, `/watch <command>` | `/watch bun test` reruns the command after every edit: a pass or fail light and the last failing lines |
| `map-widget` | `/map-widget [on\|off\|clear]` | A pixel map of the tracked files, lit blue where Claude has read and green where it has edited |

### Time and focus

Clocks, timers and reminders that do not depend on the session.

| Plugin | Command | What it shows |
| --- | --- | --- |
| `pomodoro-widget` | `/pomodoro-widget [on\|off\|start\|break\|stop\|<minutes>]` | A focus timer with a countdown, a progress bar and a count of finished sessions |
| `countdown-widget` | `/countdown-widget [on\|off\|clear]`, `/countdown <HH:MM\|<n>m\|<n>h> [label]` | Time left to a deadline you set, with a progress bar and a toast when it arrives |
| `clocks-widget` | `/clocks-widget [on\|off\|add <zone>\|remove <zone>\|clear]` | Your local time beside the time zones you add, such as `Asia/Tokyo` |
| `notes-widget` | `/notes-widget [on\|off\|clear]`, `/note <text\|done <n>>` | Pinned notes kept across sessions; `/note <text>` adds one, `/note done <n>` removes it |
| `coffee-widget` | `/coffee-widget [on\|off\|refill\|<minutes>]` | A cup that empties over 90 minutes and nudges you to take a break |

### Scenes

Pixel art that reacts to turns, tool calls, checks and context usage.

| Plugin | Command | What it shows |
| --- | --- | --- |
| `pet-widget` | `/pet-widget [on\|off\|<mood>]` | Clawd, a pixel crab: works during a turn, dizzy when a tool call fails, happy when tests pass. Earns XP and levels up across sessions, wears a hat once `badges-widget` has awarded a badge, and with two sessions open stays in the one you last prompted |
| `aquarium-widget` | `/aquarium-widget [on\|off\|demo]` | A fish for every running tool call and agent |
| `skyline-widget` | `/skyline-widget [on\|off\|demo\|clear]` | One building per turn, one floor per tool call |
| `train-widget` | `/train-widget [on\|off]` | A locomotive pulling one wagon per tool call this turn, coloured by tool |
| `garden-widget` | `/garden-widget [on\|off\|reset]` | A plant: a leaf per tool call, a flower when checks pass, wilting when a call fails |
| `campfire-widget` | `/campfire-widget [on\|off\|stoke]` | A campfire that burns higher with tool calls and dies down to embers when idle |
| `constellation-widget` | `/constellation-widget [on\|off\|clear]` | A star per turn, joined into a constellation that gets a name after nine |
| `fireworks-widget` | `/fireworks-widget [on\|off\|demo]` | A night sky that sets off fireworks when checks pass, and a dud when they fail |
| `invaders-widget` | `/invaders-widget [on\|off\|demo\|clear]` | An invader arrives for every failing check; passing checks shoot them down |
| `weather-widget` | `/weather-widget [on\|off\|live\|<percent>]` | Clear sky when context has room, a storm near compaction |
| `boss-widget` | `/boss-widget [on\|off]` | Context usage as a boss health bar; compaction defeats it and starts the next level |
| `sky-widget` | `/sky-widget [on\|off]` | The sky at your local time: sun by day, moon by night, more stars the longer the session runs |
| `world-widget` | `/world-widget [on\|off\|clear]` | One scene for everything: sky by the clock, weather by context, a tower per turn, a train of tool calls and a wandering crab |
| `quest-widget` | `/quest-widget [on\|off\|reset]` | The session as a dungeon crawl: a room per turn, a monster per tool call, loot when checks pass; the hero is kept across sessions |
| `race-widget` | `/race-widget [on\|off\|clear]` | Parallel subagents as cars on a track, one stride per tool call, with a podium as they finish |

### Visualizers

Abstract pictures driven by tool activity.

| Plugin | Command | What it shows |
| --- | --- | --- |
| `mosaic-widget` | `/mosaic-widget [on\|off\|clear]` | One tile per tool call, coloured by tool; failures are red |
| `sorting-widget` | `/sorting-widget [on\|off\|step]` | A bar chart being sorted, one swap per tool call |
| `equalizer-widget` | `/equalizer-widget [on\|off]` | Level meters that jump with each tool call and fall back to rest |
| `rain-widget` | `/rain-widget [on\|off]` | Falling code rain that speeds up the busier the turn gets |
| `orbit-widget` | `/orbit-widget [on\|off]` | A small solar system; the planets speed up while tool calls run |
| `life-widget` | `/life-widget [on\|off\|reset]` | Conway's Game of Life; every tool call drops a glider |
| `donut-widget` | `/donut-widget [on\|off]` | The spinning 3D donut; it spins faster while tool calls run |
| `pipes-widget` | `/pipes-widget [on\|off]` | The pipes screensaver; it grows while the session is idle and pauses while Claude works |
| `maze-widget` | `/maze-widget [on\|off\|new]` | A first-person walk through a maze seeded by the project folder |
| `marquee-widget` | `/marquee-widget [on\|off\|clear\|<text>]` | An LED ticker scrolling session events; any other text posts your own headline |

### Games

Snake, 2048 and Tetris play themselves until you click the board and take the keys.

| Plugin | Command | What it shows |
| --- | --- | --- |
| `snake-widget` | `/snake-widget [on\|off]` | Snake; it plays itself until you take the keys |
| `2048-widget` | `/2048-widget [on\|off]` | 2048; it plays itself until you take the keys |
| `tetris-widget` | `/tetris-widget [on\|off]` | Tetris; it plays itself until you take the keys |
| `minesweeper-widget` | `/minesweeper-widget [on\|off]` | Minesweeper: click to reveal, right-click or `f` to flag, `r` to restart |
| `breakout-widget` | `/breakout-widget [on\|off\|reset]` | A self-playing brick breaker; every tool call adds a row of bricks |
| `typer-widget` | `/typer-widget [on\|off]` | A typing game: words from your own file names fall, and you type them before they land |

### Just for fun

| Plugin | Command | What it shows |
| --- | --- | --- |
| `fortune-widget` | `/fortune-widget [on\|off\|next]` | A one-line fortune that changes with every turn |
| `8ball-widget` | `/8ball-widget [on\|off]`, `/8ball <question>` | `/8ball <question>` gives an answer of doubtful reliability |
| `badges-widget` | `/badges-widget [on\|off\|reset]` | Achievements earned across sessions, with a toast when one unlocks |
| `sigil-widget` | `/sigil-widget [on\|off\|clear]` | A pixel emblem generated from this session's activity, beside a gallery of the ones from earlier sessions |
| `sound-widget` | `/sound-widget [on\|off\|mute\|test]` | A note per tool call, a chord when checks pass, a buzz on failure, with a piano roll (audio plays on macOS only) |

Placement, which widgets are on, and view modes are saved and restored in every session.

## Notes

- `/widgets width pet 60` sets how wide one widget's card may grow (the default is 40 columns); `/widgets width pet reset` puts it back.
- `/widgets side` docks the cards beside the transcript only in the fullscreen layout (`/tui fullscreen`). In the default layout it falls back to below the prompt.
- The pixel art is drawn with terminal block characters and shows in the terminal only.
- `sound-widget` plays audio on macOS only; elsewhere it stays silent and just draws the piano roll.
- `board-widget` registers a `pin` tool that Claude can call, so its description is part of the context while the board is on.
- `watch-widget` runs your command through `sh -c`, falling back to `cmd /c`.
- Taking over a game, and playing Minesweeper at all, needs a mouse click on the board, which the fullscreen layout reports.

## Develop

Each plugin under `plugins/` is a mod: a manifest, a hooks module and its tests.

```
claude --plugin-dir plugins            # load every plugin from this checkout
claude plugin validate plugins/<name>  # check a manifest and hooks module
claude plugin test plugins/<name>      # run its tests
```

Plugins cannot import from one another, so `widgets` shares card stacking and the pixel renderer as `$.widgets` (`plugins/widgets/hooks/kit.tsx`), which every widget calls.

## License

MIT
