ctx-relay

ctx-relay is a Claude Code mod by mangow314 that hands off before the context fills up. Past the handoff line it counts down 60 s, writes a handoff file with a fork, runs /clear and resumes in the new conversation; a new conversation.

Updated 2026-11-11

What is ctx-relay?

ctx-relay is a Claude Code mod by mangow314 that hands off before the context fills up. Past the handoff line it counts down 60 s, writes a handoff file with a fork, runs /clear and resumes in the new conversation; a new conversation. It is listed under Context & memory and has 1 GitHub stars.

TypeClaude code mod
Authormangow314
Repositorymangow314/mango-mods
Popularity1 GitHub stars
CategoryContext & memory
SecurityHigh risk (56/100)
Rank#3,890 of 9,397 Claude Code mods; #357 in Context & memory
LicenseMIT
Last commit2026-11-11
Hooks10 events
Seesclassic hooks, compaction, every prompt, the handoff skill
Draws onAbovePrompt

Is ctx-relay safe to install?

ctx-relay scores 56/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; 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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Doesn't read environment variablesPass
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.agent.list
$.clock.after
$.clock.every
$.clock.now
$.clock.sleep
$.command.register
$.command.rundrives Claude
$.fs.existsreads files
$.fs.listreads files
$.fs.readreads files
$.fs.writewrites files
$.model.forkdrives Claude
$.process.runruns processes
$.prompt.submitdrives Claude
$.session.cwd
$.session.id
$.session.messagesreads the transcript
$.session.usage
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install ctx-relay?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/mangow314/mango-mods
    claude plugin validate ./mango-mods/ctx-relay
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add mangow314/mango-mods && claude plugin install ctx-relay@mango-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs ctx-relay for you:

Install the "ctx-relay" Claude Code mod from https://github.com/mangow314/mango-mods/tree/master/ctx-relay. Run claude plugin validate on it first and show me what it can access before you enable it.

More from mangow314/mango-mods

This repository has 2 Claude Code mods on MCPMods.

  • sitrep: Under each long reply, a box built from the reply's own lines (haiku only picks line numbers): status, outcome, what you (Review before installing)