What is relay?
relay is a Claude Code mod by hearsawho25 that context and prompt-cache meter above the prompt, one-click handoffs to a fresh session, and cache warming with a cold-cache guard. It is listed under Security and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | hearsawho25 |
| Repository | hearsawho25/roberts-mods |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | High risk (44/100) |
| Rank | #6,237 of 9,397 Claude Code mods; #674 in Security |
| License | MIT |
| Last commit | 2026-10-16 |
| Hooks | 10 events |
| Sees | classic hooks, compaction, every prompt |
| Draws on | Pane, AbovePrompt |
Is relay safe to install?
relay scores 44/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 2 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 |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.command.run | drives Claude |
$.env.get | reads env vars |
$.fs.read | reads files |
$.fs.write | writes files |
$.model.fork | drives Claude |
$.process.run | runs processes |
$.prompt.fill | writes the prompt box |
$.prompt.read | |
$.prompt.submit | drives Claude |
$.session.id | |
$.session.model | |
$.session.root | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.keys | keeps its own state |
$.store.set | keeps its own state |
$.ui.close | draws interface |
$.ui.copy | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install 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/hearsawho25/roberts-mods claude plugin validate ./roberts-mods/relay
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add hearsawho25/roberts-mods && claude plugin install relay@roberts-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs relay for you:
Install the "relay" Claude Code mod from https://github.com/hearsawho25/roberts-mods/tree/main/relay. Run claude plugin validate on it first and show me what it can access before you enable it.
More from hearsawho25/roberts-mods
This repository has at least 9 Claude Code mods on MCPMods.
- clean-view: Hides tool calls, diffs and command output and shows one plain-English checklist above the prompt. (Low risk)
- copy-blocks: A one-click Copy button under every code block in Claude's replies, plus /copyblock, so you get clean text without the b (Low risk)
- daily-challenge: One small Claude Code exercise a day, with your streak and a year of 365 challenges that never repeat. (Low risk)
- git-ship: Repo status row above the prompt and a /ship pane whose buttons fill ready-to-run git and gh commands — you press Enter. (High risk)
- mod-doctor: Checks that every enabled mod's hooks module actually loaded, and shows why one didn't. Quiet unless something is broken (Low risk)
- prompt-upgrade: Turns a rough prompt into a great one in a pane: up to three quick questions, a rewrite, and a side-by-side review befor (Low risk)
- roberts-toolbox: Robert's Toolbox: one button that opens your mods and the commands that change Claude Code. (Review before installing)
- work-report: A pane that counts the tasks Claude finished for you and estimates the hours and dollars they saved. (Low risk)