ctx-relay

ctx-relay is a Claude Code mod by mangow314 that a band above the prompt with context size, per-turn cost and the prompt-cache countdown. Past the handoff line it counts down 60 s, writes a handoff file with a fork, runs /clear and.

Updated 2026-10-17

What is ctx-relay?

ctx-relay is a Claude Code mod by mangow314 that a band above the prompt with context size, per-turn cost and the prompt-cache countdown. Past the handoff line it counts down 60 s, writes a handoff file with a fork, runs /clear and. It is listed under Cost & usage and has 1 GitHub stars.

TypeClaude code mod
Authormangow314
Repositorymangow314/mango-mods
Popularity1 GitHub stars
CategoryCost & usage
SecurityHigh risk (48/100)
Rank#1,958 of 5,272 Claude Code mods; #342 in Cost & usage
LicenseMIT
Last commit2026-10-17
Hooks10 events
Seesclassic hooks, compaction, every prompt, the handoff skill
Draws onPane, AbovePrompt

Is ctx-relay safe to install?

ctx-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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
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
$.env.getreads env vars
$.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
$.settings.readreads settings
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.closedraws interface
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.panesdraws interface
$.ui.resolvedraws interface
$.ui.scrolldraws 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 3 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)
  • xv-band: A row above the prompt with live status of xvendor (xv) cross-vendor jobs: one line per running job or job finished in t (Review before installing)