WorkflowAppears in · Band / PaneAdded

Prompt Rail

A rail of your session's prompts: hover to read one, click to jump back to it.

Prompt Rail · Effect preview · IllustrationIllustrative
> Add pagination to the order list
⏺ I’ll look at the list component first.
#7 fix the login page styles · turn 7: 3 files changed
│ │ │ │ │ │ ┃ │ │ │
❯ /prompt-rail find login
❯

Illustration. Actual results depend on the mod, terminal and environment.

Install

/plugin marketplace add oikon48/prompt-rail
/plugin install prompt-rail@oikon48
/reload-plugins

Run these commands one at a time in a Claude Code session.

What it accesses

Based on the author’s documentation, checked when listed; use claude plugin validate to check for yourself.

Reads

Yes

Reads the session transcript (.jsonl) and the rows on screen.

Writes files

Yes

Saves the layout mode and transcript path in the plugin store.

Runs commands

Yes

Runs tail -c to read large transcripts incrementally.

Network

Unspecified

Not stated in the README; no network calls seen in the code.

Introduction

Prompt Rail is a Claude Code mod that lays out every prompt you've sent in the session as a rail, so you can find your way around long sessions.

  • Horizontal (default): a row of bars above the prompt; hover one to see the prompt and its turn summary, click to jump there (terminal only).
  • Vertical: a pane beside the transcript, one row per prompt.
  • Commands: /prompt-rail next|prev|first|last, /prompt-rail 12 to jump to prompt #12, /prompt-rail find <words>; bind them in keybindings.json, and they work mid-turn.
  • Only prompts on the live branch are listed; ones abandoned with /rewind drop out, and prompts from before a resume are included.

It reads the session transcript (.jsonl), using tail for large files, and keeps its layout in the plugin store. The author requires Claude Code 2.1.280+ with CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 in settings.json (early-access wording that differs from this site's 2.1.287+ baseline). Mouse works best in fullscreen; Desktop draws the horizontal rail but cannot jump. The preview is illustrative.

Who it is for

  • People who often look back at earlier prompts in long sessions
  • Keyboard users who jump around the transcript

Requirements

  • Claude Code ≥ 2.1.280
  • Set CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 in settings.json (author's early-access note).
  • Mouse works best in fullscreen; Desktop cannot jump on click.