prompt-rail · Mods para Claude Code | Prompt Studio
    1. Claude Code
    2. Mods
    3. prompt-rail
    Claude Code · ModsInterfaz

    prompt-rail

    Barra con los prompts de la sesión para leerlos o saltar a ellos.

    por oikon48

    mod

    Licencia: MITVer original

    Instalación

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

    Contenido

    # prompt-rail
    
    A rail of your prompts for Claude Code. Hover to read one, click to jump back to it.
    
    prompt-rail is a mod: it draws a row of bars above or below the prompt input, or a pane beside the transcript, with one tick for each prompt you sent in the session. Hovering a tick shows the prompt and a short summary of its turn, and clicking it scrolls the transcript to that prompt. Commands step through the prompts from the keyboard.
    
    It needs Claude Code v2.1.287 or later, in the terminal or in the Code tab of the Claude desktop app. Mouse works best with `"tui": "fullscreen"`.
    
    ## Install
    
    From the plugin's own marketplace:
    
    ```bash
    claude plugin marketplace add oikon48/prompt-rail
    claude plugin install prompt-rail@oikon48
    ```
    
    Start a new session and the rail opens on its own.
    
    ## Commands
    
    | Command | |
    | --- | --- |
    | `/prompt-rail horizontal` | Bars above the prompt input (the default) |
    | `/prompt-rail vertical` | A pane beside the transcript |
    | `/prompt-rail below` | Bars under the hint line below the prompt input (terminal; the desktop app draws them above) |
    | `/prompt-rail off` | Hide the rail |
    | `/prompt-rail next`, `prev` | Jump to the next or 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, for a keybinding |
    | `/prompt-rail-toggle` | Hide the rail, or bring it back, 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.
    
    In the vertical layout the top of the pane shows the prompt being read, and hovering a row shows that prompt and its turn there. Closing the pane with its close mark, or `ctrl+x x` while it has the focus, leaves a line in the band above the prompt with the prompt being read; clicking it opens the pane again.
    
    The "Classic hooks" row in `/config` keeps `classic.SessionStart` and `classic.Stop` registered (the default). On a machine with managed settings, or in a Team or Enterprise organization, Claude Code's security default passes the classic events over installed plugins and notes the skipped hooks each session; turning the row off registers neither hook, which silences those notes and changes nothing else there, since the rail finds the transcript on its own. Leave it on elsewhere: without the classic hooks, a session resumed from another directory than it started in, and an install loaded with `--plugin-dir`, leave the rail no transcript to read.
    
    In the horizontal layout, `ctrl+x tab` moves the focus to the bars: `←` `→` move across them, `Enter` jumps to the prompt, `Esc` returns to the prompt input.
    
    ## Privacy
    
    This section is prompt-rail's privacy policy: what it reads, runs, and stores.
    
    prompt-rail never sends the transcript it reads or your prompts anywhere. It collects no analytics, and its author receives no data from it. It makes one network request in all, and only if you confirm it: a call through your GitHub CLI (`gh`) to `api.github.com` that stars this repository on your account, which sends GitHub that request and nothing else (see the last item below). Everything else it does stays on your machine:
    
    - It reads the current session's transcript file (the `.jsonl` file Claude Code writes for the session) to list your prompts and their turns.
    - Where no hook names that file, as on a machine with managed settings or in a Team or Enterprise organization, where Claude Code's security default keeps the classic hooks from installed plugins, it looks for the file where Claude Code keeps it: `projects/<folder>/<session id>.jsonl` under the config folder the mod is installed in, the folder named after the session's working directory. It checks whether that file exists, and for a working directory whose folder name Claude Code shortens, it lists the folder names under `projects` to find the one that matches. It reads no other file there.
    - When a transcript is too large to read in one call, it streams the file with `tail -c +N <transcript>`, which writes the file from byte N on to the mod, so the rail reads only what is new. On a Windows path where `tail` cannot start, it runs `powershell -NoProfile -NonInteractive` with a short script that copies the same file from that position. The output of either goes to the mod alone. It runs no other program, save `gh` as the last item says.
    - It writes one setting, its own `prompt-rail.mode` (the "Rail mode" row in `/config`), when you pick a layout. It sets no other setting and no environment variable.
    - In the mod's own store it keeps the layout last on and the transcript paths of the most recent sessions, so a resumed session can find its rail again, and whether you closed the vertical pane in a session, so it stays closed there until you open it again.
    - In the same store it counts the jumps you make with the rail, up to 10 (not a jump Claude Code refuses, as in a view that lets no plugin scroll the transcript, such as the desktop app), and notes the session that reached 10 and whether it has shown you the star survey. The count never leaves your machine.
    - Once you have made 10 jumps, a jump in a later session shows a one-line survey in the band above the prompt, once: "Enjoying prompt-rail? Star it on GitHub?", with `1: Star it with gh` and `0: No thanks`. A first `1` only asks to confirm, "Star oikon48/prompt-rail with your gh login?", with `1: Yes, star it` and `0: Cancel`, so a `1` typed to start a prompt stars nothing. The survey goes away 30 seconds after it is drawn, or as soon as you send a prompt, and once drawn it is never shown again, whatever you answer or if you answer nothing. Only the confirming `1` runs `gh api --hostname github.com --method PUT user/starred/oikon48/prompt-rail --silent`, which stars the repository with your own GitHub CLI login. The mod never reads your token. Where `gh` is missing or not logged in, it stars nothing and shows the repository's address instead.
    
    Its hooks watch and do not change what passes through them:
    
    - `command.run` answers only its own commands (`/prompt-rail`, `/prompt-rail-next`, `/prompt-rail-prev`, `/prompt-rail-toggle`) and passes every other command on unchanged.
    - `classic.SessionStart` and `classic.Stop` read the transcript path from the event to refresh the rail, and pass the event on unchanged; the rail adds no context or instructions. The "Classic hooks" row in `/config` can turn their registration off.
    - `session.end` notes that a `/clear` or a resume has started another conversation, so the rail starts its list over, and passes the event on unchanged.
    - `prompt.submit` and `session.receive` note that a prompt was sent, and pass it on unchanged.
    - `turn.start`, `turn.complete`, and `ui.render` on transcript rows note which prompt is on screen and which turn is running, read the transcript again as a turn starts and ends, and draw those rows as Claude Code does. `ui.render`, `ui.focus`, and `ui.press` on the rail's own pane and band draw the rail and the star survey and take their clicks and keys. `ui.close` notes that you closed the rail's own pane, and lets it close. In the below layout, `ui.render` on the hint line under the prompt draws Claude Code's own line unchanged and adds the rail's row under it.
    
    ## Limitations
    
    - The Claude desktop app draws the horizontal rail, 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.
    - Near the end of the transcript, `next` cannot scroll further.
    
    ## Source and license
    
    Source, issues, and the full README with screenshots: https://github.com/oikon48/prompt-rail
    
    [MIT](https://github.com/oikon48/prompt-rail/blob/main/LICENSE)
    

    Más en Mods

    • Estilo profesor

      Claude explica cada decisión mientras trabaja, ideal para aprender.

    • Estilo conciso

      Respuestas cortas: solo el resultado y los siguientes pasos.

    • Statusline de costo

      Muestra el costo acumulado de la sesión en la barra de estado.

    • admin-capability-lockdown

      Control para organizaciones: quita el acceso a red y procesos a los plugins que corren debajo.

    • policy-ceiling

      Convierte los límites gestionados de la organización en topes sobre la configuración de cada persona.

    • 2048

      2048 sobre el prompt de Claude Code mientras Claude trabaja.

    Ver todo en Mods (426) →

    Tu colección definitiva de prompts de IA. Inspírate, explora ejemplos y crea con IA.

    Hubs principales

    • Prompts
    • Imágenes
    • Videos
    • Generar Videos
    • Plantillas
    • Animaciones
    • Precios
    • Conoce
    • Afiliado

    Explorar por tipo

    • Kits de componentes
    • Etiquetas de imagen
    • Etiquetas de video
    • Webs

    Temas populares

    • Música
    • Portafolio
    • Gaming
    • Viajes
    • Nano Banana Pro

    Legal

    • Términos de uso
    • Política de privacidad
    • Política de cookies
    • Política de licencias
    • Política de reembolsos
    • Términos del programa de afiliados
    • Términos de Crowdfunding

    Magzin LLC, 800 Third Avenue Associates, New York, NY, 10022, United States

    © 2026 Prompt Studio by Magzin. Todos los derechos reservados.