oikon48

Prompt Rail — Development skill for Claude Code

Development community

A rail of your Claude Code session's prompts: hover to read, click to jump (function hooks / Mods).

How to install Prompt Rail

This entry records only its repository, not the path inside it, so there is no exact command to give. Open oikon48/prompt-rail and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Prompt Rail does

A rail of your Claude Code session's prompts: hover to read, click to jump (function hooks / Mods).

Alternatives in Development

README

prompt-rail

A rail of your prompts for Claude Code. Hover to read one, click to jump back to it.

![Claude Code plugin](https://img.shields.io/badge/Claude%20Code-plugin-D97757) ![Claude Code 2.1.280+](https://img.shields.io/badge/Claude%20Code-2.1.280%2B-555) ![Function hooks](https://img.shields.io/badge/function%20hooks-experimental-orange) ![License: MIT](https://img.shields.io/badge/license-MIT-blue)

prompt-rail demo: hovering the rail previews a prompt and its turn, clicking jumps the transcript to it

Quick start

  1. Turn on function hooks (early access, Claude Code 2.1.280+) in `~/.claude/settings.json`:

    { "env": { "CLAUDE_CODE_ENABLE_FUNCTION_HOOKS": "1" } }
  2. 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
  3. Start a new session. The rail opens on its own.

Mouse works best with `"tui": "fullscreen"`.

Two layouts

Horizontal, above the prompt (default)

The horizontal rail: a text line with the hovered prompt and its turn summary over a row of bars

Vertical, beside the transcript

The vertical rail: one row per prompt in a pane beside the transcript, the prompt being read marked with a thick tick

Commands

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 Reopen the rail in the current layout

The layout is also the "Rail mode" row in `/config`, and it is kept across sess