What is session-rail?
session-rail is a Claude Code mod by MahadSalim that a side pane with the session's environment, context use, outputs, connectors and dev servers. It is listed under Context & memory and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | MahadSalim |
| Repository | MahadSalim/claude-mods |
| Popularity | no public popularity data yet |
| Category | Context & memory |
| Security | High risk (56/100) |
| Rank | #7,192 of 9,397 Claude Code mods; #641 in Context & memory |
| Last commit | 2026-11-04 |
| Hooks | 5 events |
| Sees | every tool call |
| Draws on | Pane |
Is session-rail safe to install?
session-rail scores 56/100 on the MCPMods security check: High risk. Things to review: sends data over the network; starts processes outside the sandbox; reads environment variables. It passed 3 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| Sends data over the network | Review |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.sleep | |
$.command.register | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.read | reads files |
$.http.fetch | network requests |
$.process.run | runs processes |
$.session.compact | drives Claude |
$.session.cwd | |
$.session.model | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.tool.list | |
$.ui.close | draws interface |
$.ui.log | draws interface |
$.ui.open | draws interface |
$.ui.panes | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install session-rail?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/MahadSalim/claude-mods claude plugin validate ./claude-mods/session-rail
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/MahadSalim/claude-mods && claude --plugin-dir ./claude-mods/session-rail
Or ask Claude to set it up
Paste this into Claude Code and it installs session-rail for you:
Install the "session-rail" Claude Code mod from https://github.com/MahadSalim/claude-mods/tree/main/session-rail. Run claude plugin validate on it first and show me what it can access before you enable it.
More from MahadSalim/claude-mods
This repository has 8 Claude Code mods on MCPMods.
- browser-pane: A text-mode browser pane with tabs, history and a launcher for the dev servers in .claude/launch.json. (Review before installing)
- changes-pane: A Changes pane: the repository's changed files and their diffs, with stage, unstage and discard (Low risk)
- files-pane: A Files pane: project tree, filename and content search, and a file viewer with open tabs (Low risk)
- live-voice-mode: Voice mode, tap to talk or hands-free: local Whisper transcribes you, Kokoro reads replies. (Review before installing)
- prompt-strip: Strips, rewrites and reorders what Claude Code loads into every session: system prompt sections, first-message context, (High risk)
- settings-manager: Turn skills, system prompt sections, reminders, subagents, commands, tools, plugins, hooks and settings on or off from o (High risk)
- usage-log: Logs plan readings, context fill, engine cost, turn outcomes, tool timing, permission asks, commands and settings hook r (High risk)