josippapez/ai-setup/tree/main/claude/plugins/prompt-timeline
prompt-timeline
一個 Claude Code 外掛,會把你自己的提示渲染成記錄中的獨立青色卡片,加入列出每個提示且可跳轉的 /timeline 面板,並在輸入框上方放置提示列。
關於這個 mod
prompt-timeline 讓你在很長的工作階段中也能輕鬆找到自己的提示。你的提示會繪製成青色卡片,標題為 › You · #N,以區別於 Claude 的輸出;輸入框上方的提示列會列出最近 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.
