benjaminmodayil/live-recap
live-recap
ターン中にClaudeが何をしているかをプロンプトの上にカード表示し、数分ごとに更新するClaude Codeプラグインです。実行後は最後のリキャップがミュート状態で次のプロンプトまで残ります。
この mod について
live-recap
ターン中にClaudeが何をしているかをプロンプトの上にカード表示し、数分ごとに更新するClaude Codeプラグインです。実行後は最後のリキャップがミュート状態で次のプロンプトまで残ります。
╭─ tracking running 6m · 2 in background · haiku · ~1m ago ──────────╮
│ Editing hooks/register.tsx to draw the live card. It shows the user
│ what Claude is doing while they look away.
╰──────────────────────────────────────────────────────────────────────
このリポジトリに含まれるもの
message-timestamps:モデルを呼ばず、各Claudeの返答の前に到着時刻のローカル時刻を付けます。claude plugin install message-timestamps@live-recapでインストールします。
必要条件
Function hooksはアーリーアクセスで、デフォルトではオフです。インストール前に有効にしないと、プラグインは読み込まれても何も描画しません。
// ~/.claude/settings.json
{
"env": {
"CLAUDE_CODE_ENABLE_FUNCTION_HOOKS": "1"
}
}
シェルのプロファイルでCLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1をexportしても構いません。設定後にClaude Codeを再起動します。
インストール
claude plugin marketplace add benjaminmodayil/live-recap
claude plugin install live-recap@live-recap
Claude Codeを再起動します(または/reload-pluginsを実行)。
オプション
claude plugin configure live-recapで設定します。
| キー | デフォルト | 意味 |
| ----------------- | ------- | -------------------------------------------------------------- |
| intervalMinutes | 2 | ターンがこの時間実行された後にカードを初めて表示し、その後同じ間隔で更新 |
| source | haiku | haiku:最近の活動を読む小さなモデル(安価)。fork:セッションモデルが完全なトランスクリプトを読む(高コスト) |
副作用
- セッション開始時(インタラクティブのみ)、組み込みのセッションリキャップ(ユーザー設定の
awaySummaryEnabled: false)をオフにします。このカードの上に描画されるためです。プラグインを削除しても設定は残ります。 - ヘッドレス実行では何も描画せず、モデルも呼びません。
トラブルシューティング
- カードがまったくない: 「必要条件」を確認し、
CLAUDE_CODE_ENABLE_FUNCTION_HOOKSが設定されていること、claude plugin listにlive-recapが表示されることを確認します。 - 短いターンでカードがない: 仕様です。最初のカードはターンが
intervalMinutes(デフォルト2)実行された後にだけ表示されます。 - 質問ダイアログ中にカードが隠れる: ダイアログがプロンプト上の領域を使うためです。閉じるとカードが戻ります。
開発
所有するフォルダーからClaude Codeがプラグインを読み込むと.claude-plugin/types/を書き込みます。gitignore対象です。プラグインを一度読み込むと生成されます。
tsc -p . # typecheck
claude plugin validate --strict . # manifest + hooks check
claude plugin test . # tests/*.test.ts (when available in your CLI build)
インストール
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add benjaminmodayil/live-recap claude plugin install live-recap
原文 / README
live-recap
A Claude Code plugin that draws a card above the prompt saying what Claude is working on, refreshed every few minutes while a turn runs. After the run ends, the last recap stays up (muted) until the next prompt.
╭─ tracking running 6m · 2 in background · haiku · ~1m ago ──────────╮
│ Editing hooks/register.tsx to draw the live card. It shows the user
│ what Claude is doing while they look away.
╰──────────────────────────────────────────────────────────────────────
Also in this repo
message-timestamps: prefixes each Claude reply with the local time it arrived, no model calls. Install withclaude plugin install message-timestamps@live-recap.
Requirements
Function hooks are early access and off by default. Enable them before installing, or the plugin loads but never draws:
// ~/.claude/settings.json
{
"env": {
"CLAUDE_CODE_ENABLE_FUNCTION_HOOKS": "1"
}
}
Or export CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 in your shell profile. Restart Claude Code after setting it.
Install
claude plugin marketplace add benjaminmodayil/live-recap
claude plugin install live-recap@live-recap
Restart Claude Code (or run /reload-plugins).
Options
Set with claude plugin configure live-recap.
| Key | Default | Meaning |
| ----------------- | ------- | ---------------------------------------------------------------------------------------------------- |
| intervalMinutes | 2 | Card first shows after a turn runs this long, then refreshes at the same interval |
| source | haiku | haiku: small model reads recent activity (cheap). fork: session model reads full transcript (costs more) |
Side effects
- On session start (interactive only), turns off the built-in session recap (
awaySummaryEnabled: falsein user settings) since it draws over this card. This persists if the plugin is removed. - Headless runs draw nothing and make no model calls.
Troubleshooting
- No card at all: check
CLAUDE_CODE_ENABLE_FUNCTION_HOOKSis set (see Requirements), thenclaude plugin listshowslive-recaploaded. - Card missing on short turns: expected. The first card appears only after a turn runs
intervalMinutes(default 2). - Card hidden while a question dialog is open: the dialog takes over the area above the prompt; the card returns once the dialog closes.
Develop
.claude-plugin/types/ is written by Claude Code when it loads the plugin from a folder you own; it is gitignored. Load the plugin once to generate it.
tsc -p . # typecheck
claude plugin validate --strict . # manifest + hooks check
claude plugin test . # tests/*.test.ts (when available in your CLI build)
