josippapez/ai-setup/tree/main/claude/plugins/prompt-timeline
prompt-timeline
自分のプロンプトをトランスクリプト内の独立したシアン色カードとして描画し、すべてのプロンプトをジャンプリンクで並べる /timeline ペインと、入力ボックス上部のプロンプトストリップを追加する Claude Code プラグイン。
この mod について
prompt-timeline は、長いセッションでも自分のプロンプトを見つけやすくします。プロンプトは Claude の出力と区別できるよう、› You · #N という見出しのシアン色カードとして描画され、入力ボックス上部のストリップには直近 6 件がワンクリックで移動できる形で並びます。/timeline はセッション内のすべてのプロンプトをジャンプリンクとして並べるペインを開きます。プロンプトはセッションの保存方式(session.append、door prompt)で記録されるため、リストはプラグインの読み込み時点から始まり、/reload-plugins の後も残ります。追加のフックは、返信ごとのモデル/推論量ピル、キューに入ったプロンプトカード、説明から始まる Bash カード、Bash、Read、Edit、Write、Search、Web、Tools、Agent、Browser、MCP サーバーの色付きラベルを持つツール呼び出しカードを描画します。claude plugin test claude/plugins/prompt-timeline でテストできます。
インストール
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add josippapez/ai-setup claude plugin install prompt-timeline
原文 / README
prompt-timeline
A mod that makes your own prompts easy to find in a long session.
- Your prompts draw as a cyan card headed
› You · #N, so they stand apart from Claude's output. - A strip above the prompt box lists your last six prompts; click one to jump back to it. It sits above the prompt rather than in a pane because panes share one dock as tabs.
/timelineopens a pane with every prompt of the session, each one a jump link.
Prompts are recorded as the session stores them (session.append, door prompt), so the
list starts from when the plugin loaded and survives /reload-plugins.
Test: claude plugin test claude/plugins/prompt-timeline
- A prompt that is still queued (sent while a turn runs) draws as a dim "◌ Queued" card until it is sent. Slash commands keep the default row.
hooks/look.tsx: each reply opens with a magenta pill naming the model (◆ Opus 5.5), and startup notices get a blueℹand their/commandas a pill. The prompt strip sits under a cyan divider as chips, the latest one highlighted.- Each reply keeps the model and effort it was made with (saved per session in the plugin's store on disk, keyed by the start of the reply's text), so a later
/modelor effort change never relabels older replies. - A Bash call's card leads with its description and shows the command as one dim line.
- Tool calls draw as cards (
hooks/cards.ts): a colored label (Bash, Read, Edit, Write, Search, Web, Tools, Agent, Browser for chrome-devtools, or the MCP server name), one readable title and a dim detail line.
