ctx-relay

by Mango · ★ 1 · updated 15 days ago

BandsCommandsPromptwarnings

0

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 lists unclaimed handoff files, press 1 to resume.

install ctx-relay

Install

/plugin marketplace add mangow314/mango-mods
/plugin install ctx-relay@mango-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.endsession.startturn.completeclassic.Stopprompt.submitturn.startsession.compactskill.promptcommand.runui.render
API calls
$.agent.list$.clock.after$.clock.every$.clock.now$.clock.sleep$.command.register$.command.run$.fs.exists$.fs.list$.fs.read$.fs.write$.model.fork$.process.run$.prompt.submit$.session.cwd$.session.id$.session.messages$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.invalidate$.ui.log$.ui.resolve$.ui.toast
Draws
AbovePrompt
Can see
classic hooksevery promptcompactionthe handoff skill
Reach
level 2 of 3 runs processeswrites filesdrives Claudereads filesreads the transcriptreads mod statepersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/mangow314/mango-mods
Path in repo
ctx-relay
Source commit
69f9c26 the exact code the scan read
Author
Mango @mangow314
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from mangow314/mango-mods

sitrep

mangow314/mango-mods

Under each long reply, a box built from the reply's own lines (haiku only picks line numbers): status, outcome, what you have to do, collapsible sections, and questions you answer from the keyboard (fills the prompt, never sends). Older boxes fold to one line.

★ 1PanesBandsReskins

Other mods in Bands, close to this one by stars.