What is session-relay?
session-relay is a Claude Code mod by MichaelP17 that passes prompts from a planning session to the session that does the work and its answers back, without copy and paste. It is listed under Interface and has 2 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | MichaelP17 |
| Repository | MichaelP17/claude-mods |
| Popularity | 2 GitHub stars |
| Category | Interface |
| Security | High risk (48/100) |
| Rank | #1,351 of 5,272 Claude Code mods; #531 in Interface |
| License | MIT |
| Last commit | 2026-10-16 |
| Hooks | 9 events |
| Sees | classic hooks, every prompt |
| Draws on | AbovePrompt, Pane, SessionMode |
Is session-relay safe to install?
session-relay scores 48/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. 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 |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.command.register | |
$.command.run | drives Claude |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.write | writes files |
$.hub.set | |
$.process.run | runs processes |
$.prompt.submit | drives Claude |
$.session.id | |
$.session.messages | reads the transcript |
$.session.root | |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.close | draws interface |
$.ui.notify | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install session-relay?
- 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/MichaelP17/claude-mods claude plugin validate ./claude-mods/session-relay
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/MichaelP17/claude-mods && claude --plugin-dir ./claude-mods/session-relay
Or ask Claude to set it up
Paste this into Claude Code and it installs session-relay for you:
Install the "session-relay" Claude Code mod from https://github.com/MichaelP17/claude-mods/tree/main/session-relay. Run claude plugin validate on it first and show me what it can access before you enable it.
More from MichaelP17/claude-mods
This repository has at least 9 Claude Code mods on MCPMods.
- cache-watch: Shows how long the prompt cache stays warm and suggests compacting a large context at the right moment (Low risk)
- compact-shaper: Summarizes compactions as a handoff, and cuts re-readable tool output instead on /compact prune (Low risk)
- concurrency-guard: Caps parallel subagents and monitors; more need a stated reason and the user's approval (Low risk)
- config-snapshots: Snapshot and roll back the Claude Code configuration through claude-config (Review before installing)
- grill-panel: Answers Claude's numbered question rounds one by one in a panel, keeps confirmed answers across restarts, and sends them (Low risk)
- idea-shell: Captures ideas per folder with /idea while Claude keeps working, and hands them to Claude later (Review before installing)
- machine-guard: Puts every command that changes the machine in front of the user before it runs (Low risk)
- mod-hub: One toolbox button in the desktop footer that shows what every mod reports and opens their panes, also while Claude is w (Low risk)