What is relay?
relay is a Claude Code mod by hal-9 that role buttons above the prompt: check or adversarially review the working tree with Codex, hand a task over to Codex, or verify with a second Claude model. A pane streams the run and turns. It is listed under Agents & automation and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | hal-9 |
| Repository | hal-9/claude-kit |
| Popularity | no public popularity data yet |
| Category | Agents & automation |
| Security | Review before installing (68/100) |
| Rank | #6,180 of 9,397 Claude Code mods; #510 in Agents & automation |
| License | MIT |
| Last commit | 2026-11-30 |
| Hooks | 4 events |
| Sees | only the events it hooks |
| Draws on | AbovePrompt, Pane |
Is relay safe to install?
relay scores 68/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables. It passed 4 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 no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| 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 |
|---|---|
$.agent.spawn | drives Claude |
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.read | reads files |
$.process.run | runs processes |
$.prompt.fill | writes the prompt box |
$.prompt.submit | drives Claude |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.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/hal-9/claude-kit claude plugin validate ./claude-kit/mods/relay
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add hal-9/claude-kit && claude plugin install relay@hal-9
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/hal-9/claude-kit/tree/main/mods/relay. Run claude plugin validate on it first and show me what it can access before you enable it.
More from hal-9/claude-kit
This repository has 4 Claude Code mods on MCPMods.
- baton: Context budget guard and handoff relay: measures real context use per model request, stops subagents that run too long o (Low risk)
- cache-meter: Band above the prompt: prompt-cache countdown, cache hit rate, context fill and a Compact button, plus a keepwarm row fr (Low risk)
- mod-switch: A mods button in the prompt footer opens a popover of every installed mod with switches that enable or disable them at u (Review before installing)