aliemrevezir/mods/tree/main/plugins/prompt-dock
prompt-dock
送信したすべてのプロンプトをワンクリックで表示し、会話の任意の部分を引用して返信できる Claude Code mod です。
この mod について
prompt-dock
送信したすべてのプロンプトをワンクリックで表示し、会話の任意の部分を引用して返信できる Claude Code mod です。
oikon48/prompt-rail をベースに構築されています。同じレールとドックに、引用返信機能が追加されています。
機能
レール(デフォルト)。 入力欄の上に細いレールがあり、プロンプトごとに目盛りが表示されます。太い目盛りは、トランスクリプトで現在表示しているプロンプトです。
#5 Compare debounce and throttle as a short list. ↩ Reply [–]
││││┃
- 目盛りにカーソルを合わせると、そのプロンプトが上の行にプレビュー表示されます。
- 目盛りをクリックすると、トランスクリプトがそのプロンプトまでスクロールします。
[–]でリストがドックに移動します。
ドック。 トランスクリプトの横にある狭い列で、プロンプトごとに1行表示され、現在のプロンプトは ━ でマークされます。
5 prompts ↩ ×
─ Explain what a deb…
━ Write a TypeScript…
─ Add a leading-edge…
─ Write three vitest…
─ Compare debounce a…
- 行をクリックすると、その行にジャンプします。
×でリストがレールに戻ります。
返信。 マウスで任意のテキスト(回答、コード行、以前のプロンプト)を選択し、↩ Reply を押します。選択したテキストは Markdown 引用としてプロンプトの先頭に表示され、既に入力していた内容はその下に保持されます。
> Debounce waits for silence; throttle enforces a minimum time between executions.
Show me both in one example.
コマンド
| コマンド | 機能 |
| ---------- | ------------------------------------------------------------- |
| /prompts | リストをレールとドックの間で移動する |
| /reply | 現在の選択範囲をプロンプトの先頭に引用する |
インストール
Claude Code 内から:
/plugin marketplace add aliemrevezir/mods
/plugin install prompt-dock@aliemrevezir-mods
または、クローンから直接ロードします。
git clone https://github.com/aliemrevezir/mods
claude --plugin-dir mods/plugins/prompt-dock
フラグなしで各セッションでロードするには、~/.claude/settings.json の env ブロックで CLAUDE_CODE_PLUGIN_DIRS をそのフォルダに設定します。
要件
- mods(プラグインフックモジュール)を備えた Claude Code ビルド。
- 「現在地」の目盛りと選択範囲の読み取りには、フルスクリーンレイアウトが必要です。メインスクリーンレイアウトではレールは機能し、太い目盛りは最後のジャンプまたは最新のプロンプトに従います。
- ターミナルがハイライトをクリアしている場合、返信はクリップボードのテキストにフォールバックします。macOS では
pbpaste、Linux ではwl-pasteまたはxclip。
クレジット
- prompt-dock は、Oikon の prompt-rail をベースに構築されています(GitHub @oikon48、X @oikon48)。レール、ホバープレビュー、クリックでジャンプ、垂直ドックは彼らのデザインです。prompt-dock はそれを再実装し、引用返信を追加しています。レールのみが必要な場合は、オリジナルを使用してください:
/plugin marketplace add oikon48/prompt-rail。 - コミュニティmodを紹介するHQ NETの動画 CLAUDE'UN MODS ÖZELLİĞİ MUHTEŞEM を通じて発見されました。
- modのコミュニティスレッドは ClaudeDevs の発表 の下で開始されました。
開発
claude plugin validate .
claude plugin test .
純粋なロジック(プロンプトとトランスクリプト行のペアリング、現在のプロンプトの選択、引用形式)は hooks/rail.ts と hooks/exchanges.ts にあり、描画とイベントは hooks/register.tsx にあります。
ライセンス
インストール
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add aliemrevezir/mods claude plugin install prompt-dock
原文 / README
prompt-dock
A Claude Code mod that keeps every prompt you sent one click away, and lets you reply to any piece of the conversation by quoting it.
Built on top of oikon48/prompt-rail: the same rail and dock, extended with quote-reply.
What it does
Rail (default). A thin rail sits above the input, one tick per prompt. The thick tick is the prompt you are looking at in the transcript.
#5 Compare debounce and throttle as a short list. ↩ Reply [–]
││││┃
- Hover a tick to preview that prompt in the line above it.
- Click a tick to scroll the transcript to that prompt.
[–]moves the list into the dock.
Dock. A narrow column beside the transcript, one line per prompt, the current one marked with ━.
5 prompts ↩ ×
─ Explain what a deb…
━ Write a TypeScript…
─ Add a leading-edge…
─ Write three vitest…
─ Compare debounce a…
- Click a row to jump to it.
×sends the list back to the rail.
Reply. Select any text with the mouse (an answer, a code line, an earlier prompt), then press ↩ Reply. The selection lands at the top of your prompt as a Markdown quote, with whatever you had already typed kept below it:
> Debounce waits for silence; throttle enforces a minimum time between executions.
Show me both in one example.
Commands
| Command | What it does |
| ---------- | ------------------------------------------------------------- |
| /prompts | Move the list between the rail and the dock |
| /reply | Quote the current selection at the top of the prompt |
Install
From inside Claude Code:
/plugin marketplace add aliemrevezir/mods
/plugin install prompt-dock@aliemrevezir-mods
Or load it straight from a clone:
git clone https://github.com/aliemrevezir/mods
claude --plugin-dir mods/plugins/prompt-dock
To load it in every session without the flag, set CLAUDE_CODE_PLUGIN_DIRS in the env block of ~/.claude/settings.json to that folder.
Requirements
- A Claude Code build with mods (plugin hook modules).
- The fullscreen layout for the "where you are" tick and for reading the selection. On the main-screen layout the rail still works, and the thick tick follows your last jump or newest prompt.
- If the terminal has already cleared the highlight, Reply falls back to the clipboard text:
pbpasteon macOS,wl-pasteorxclipon Linux.
Credits
- prompt-dock builds on prompt-rail by Oikon (GitHub @oikon48, X @oikon48). The rail, the hover preview, click-to-jump and the vertical dock are their design; prompt-dock reimplements it and adds quote-reply. If you only want the rail, use the original:
/plugin marketplace add oikon48/prompt-rail. - Found through the HQ NET video CLAUDE'UN MODS ÖZELLİĞİ MUHTEŞEM, which tours community mods.
- The community thread of mods started under the ClaudeDevs announcement.
Development
claude plugin validate .
claude plugin test .
The pure logic (pairing prompts with transcript rows, picking the current prompt, the quote format) lives in hooks/rail.ts and hooks/exchanges.ts; drawing and events live in hooks/register.tsx.
