
oikon48/prompt-rail/tree/main/plugins/prompt-rail
Claude Code를 위한 프롬프트 레일. 호버하여 읽고, 클릭하여 해당 위치로 이동하세요.

oikon48/prompt-rail/tree/main/plugins/prompt-rail
prompt-rail은 세션의 프롬프트 레일을 추가하며, 프롬프트 입력 위에 가로로 또는 트랜스크립트 옆에 세로로 표시됩니다. 막대 위에 호버하면 프롬프트와 해당 턴 요약을 미리 볼 수 있고, 클릭하면 트랜스크립트를 해당 프롬프트로 다시 스크롤합니다. 라이브 브랜치의 프롬프트를 나열하므로 /rewind로 삭제된 프롬프트는 제외되며, horizontal/vertical/off, next/prev/first/last, 프롬프트 #12로 이동, find <words> 같은 명령과 턴 중간에서 단계별로 이동하는 키바인딩을 지원합니다. 플러그인 마켓플레이스를 통해 설치되며, 함수 훅(얼리 액세스, Claude Code 2.1.280+)이 필요합니다.
먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.
claude plugin marketplace add oikon48/prompt-rail claude plugin install prompt-rail@oikon48
A rail of your prompts for Claude Code. Hover to read one, click to jump back to it.
Turn on function hooks (early access, Claude Code 2.1.280+) in ~/.claude/settings.json:
{ "env": { "CLAUDE_CODE_ENABLE_FUNCTION_HOOKS": "1" } }
Install, from your shell or inside a session:
claude plugin marketplace add oikon48/prompt-rail
claude plugin install prompt-rail@oikon48
/plugin marketplace add oikon48/prompt-rail
/plugin install prompt-rail@oikon48
Start a new session. The rail opens on its own.
Mouse works best with "tui": "fullscreen".
| Command | |
| --- | --- |
| /prompt-rail horizontal | Bars above the prompt input |
| /prompt-rail vertical | A pane beside the transcript |
| /prompt-rail off | Hide the rail |
| /prompt-rail next | Jump to the next prompt |
| /prompt-rail prev | Jump to the previous prompt |
| /prompt-rail first, last | Jump to the first or the newest prompt |
| /prompt-rail 12, #12 | Jump to prompt #12 |
| /prompt-rail find <words> | Jump to the newest prompt that holds the words |
| /prompt-rail-next, /prompt-rail-prev | Jump to the next or previous prompt, with no argument, for a keybinding |
| /prompt-rail | Reopen the rail in the current layout |
The layout is also the "Rail mode" row in /config, and it is kept across sessions.
Bind the step commands in ~/.claude/keybindings.json; they run mid-turn too:
{
"bindings": [
{ "context": "Chat", "bindings": { "ctrl+k": "command:prompt-rail-prev", "meta+j": "command:prompt-rail-next" } }
]
}
In the horizontal layout, ctrl+x tab moves the focus to the bars: the ring starts on the prompt you are reading, ← → move it across the bars on screen and show its prompt, Enter jumps there, Esc returns to the prompt input.
| Tick | Meaning |
| --- | --- |
| ━ ┃ | The prompt you are reading |
| ─ │ | Any other prompt |
| ┄ ┆ | A prompt Claude Code refused to scroll to; next and prev skip it |
flowchart LR
T[transcript .jsonl] -->|every prompt on the live branch| R[rail]
S[rows on screen] -->|topmost row's prompt| R
R -->|click, next/prev| J[scroll that prompt's row into view]
The rail lists the prompts of the live branch, so prompts abandoned with /rewind drop out, and prompts from before a resume are listed too. The prompt you are reading owns the topmost row on screen. The transcript is read again only when its size or time changed.
/compact command's own row cannot be jumped to; its tick turns dotted after the first try.next cannot scroll further.claude --plugin-dir plugins/prompt-rail # load this checkout; saving reloads it
claude plugin validate plugins/prompt-rail
claude plugin test plugins/prompt-rail
Run /plugin-types .claude/types in a session here for type declarations. Bump the version in plugins/prompt-rail/.claude-plugin/plugin.json with each release, since installed copies update only when it changes.