mod-prompts is a Claude Code workflow mod by v-amorim.
Draws a Prompts sidebar of every prompt in the session with its full text; a button jumps the transcript back to it, and a Chain tab lists handed-off sessions.
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
2.0.0
License
MIT
Repo stars
5
Last change
2026-10-30
What it can reach
Draws in the session
Runs a command when you press
Needs Claude Code 2.1.287 or newer; the author tested on Windows Terminal and macOS iTerm2. /plugin install asks where to install the mod: keep Install for you (user scope), press Enter, press Esc to leave the plugin screen, then run /reload-plugins. Auto-update is off for unofficial marketplaces; turn it on under /plugin, Marketplaces, claude-mods. The README warns that mods are not sandboxed and run with your permissions. Opens from the Prompts pill. The Chain tab lists the sessions mod-wrap-up handed this work across; Open resumes an earlier one in a new Windows Terminal window, and on other systems the tab shows the claude --resume command to run instead. The command hooks need a POSIX shell, Git Bash on Windows; without one they write nothing and the mod falls back to what it can find on its own.
The marketplace, claude-mods, holds 13 mods in the Moonlight look, and other repositories use that name too, so add v-amorim/moonlight-claude-mods. Finding an earlier prompt and the sessions of a handed-off piece of work is why this page files it under workflow. prompt-rail 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. session-switcher draws a Sessions button above the prompt that opens a sidebar of this project's sessions, worktrees included, and resumes the one you pick. This one opens a sidebar from the Prompts pill with each prompt you sent, its full text in a card, and a button that jumps the transcript back to it. Off a chain, the Chain tab shows this session's name and three names Haiku proposes from its prompts, and a click renames the session.
Demo
Screenshot of the author's GitHub page.
What it hooks into
ui.toastA Claude Code event
session.startWhen a session starts
session.endWhen a session ends
turn.completeWhen a turn ends
ui.renderDraws into the sessionUserMessageAbovePromptPane
command.runWhen you run its slash command/mod-prompts
ui.closeWhen its pane closes
state.setA Claude Code event
ui.messageAdds a message to the session
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.