All shelves / Mods / Workflow
prompt-rail
By oikon48
prompt-rail is a Claude Code workflow mod by oikon48.
Draws a rail of your session's prompts above the input or beside the transcript; hover a tick to read one, click to jump to it.
Draws
Install
The marketplace name is oikon48.
claude plugin marketplace add oikon48/prompt-rail claude plugin install prompt-rail@oikon48
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.8.1
- License
- MIT
- Repo stars
- 45
- Last change
- 2026-10-24
What it can reach
- Draws in the session
- Calls another program on this machine
Claude Code 2.1.287 or later, in the terminal or the desktop app's Code tab; mouse works best with tui set to fullscreen. Start a new session after installing and the rail opens on its own, with one tick for each prompt you sent. Hovering a tick shows the prompt and a short summary of its turn, and clicking it scrolls the transcript to that prompt. /prompt-rail horizontal draws bars above the prompt input, the default, /prompt-rail vertical a pane beside the transcript, and /prompt-rail off hides it; the layout is the Rail mode row in /config and is kept across sessions. /prompt-rail next, prev, first, last, a number, or find with words jumps there, and /prompt-rail-next, /prompt-rail-prev, and /prompt-rail-toggle take no argument, for a keybinding. In the horizontal layout, ctrl+x tab moves the focus to the bars, the arrow keys move across them, and Enter jumps. The author says it makes no network requests, sends nothing anywhere, and collects no analytics. It reads the session's transcript file, and when the file is too large to read in one call it streams it with tail, or with powershell on a Windows path where tail cannot start, and runs no other program.
The marketplace, oikon48, holds only this plugin. This one installs on its own. Finding your way back through a long session is why this page files it under workflow. sc-mods, by kylesnowschwartz, draws jump buttons above the prompt, with mermaid diagrams in replies as text and a copy button under each reply. conversation-atlas, by NeelAPatel, opens a side pane that maps the session: the goal, the current path, detours, decisions, and open questions. This one lists only your prompts, from the live branch, so prompts abandoned with /rewind drop out and prompts from before a resume are listed too. The desktop app draws the horizontal rail and its hover cards, but a click cannot jump there, since the app gives a plugin no way to scroll its transcript. A /compact command's own row cannot be jumped to, and near the end of the transcript next cannot scroll further.
Demo
What it hooks into
session.startWhen a session startscommand.runWhen you run its slash commandclassic.SessionStartA Claude Code eventclassic.StopA Claude Code eventturn.startWhen Claude starts a turnturn.completeWhen a turn endsprompt.submitWhen you send a promptsession.receiveA Claude Code eventui.renderDraws into the sessionUserMessageAssistantMessageToolUseToolResultToolGroupPaneAbovePromptui.focusA Claude Code eventAbovePromptPaneui.pressA Claude Code event
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 2
/prompt-railShow the prompt rail: vertical (a pane beside the transcript), horizontal (above the prompt) or off; next, prev, first, last, a number or find <words> jumps to a prompt./prompt-rail-toggleToggle the rail: off ↔ the mode last on (vertical or horizontal).
Files
The author's README and source, 4 files. They load when you open them.
Facts
- Author
- oikon48
- Category
- Workflow
- Marketplace
- oikon48
- Folder
- plugins/prompt-rail
- Version
- 0.8.1
- License
- MIT
- Repo stars
- 45
- Last change
- 2026-10-24
- Language
- TypeScript
- Files
- 7