msgate

by Diego (Azul) Ferreira · ★ 0 · updated 24 days ago

BandsStatus lineReskinsGuardsCommandsTools & agentswarnings

0

msgate: the engine that runs agent CLIs (Codex today) for Claude Code, hooks, scripts and other plugins, with resumable conversations, background jobs and append-only telemetry.

install msgate

Install

git clone https://github.com/JustAzul/cc-msgate
claude --plugin-dir ./cc-msgate/plugin

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
engine.createmsgate.completemsgate.backTypemsgate.versionmsgate.runmsgate.jobsmsgate.flaggedRunsmsgate.modelsagent.spawnsession.startsession.compacttool.callcommand.runturn.startturn.completeturn.stepui.render
API calls
$.agent.list$.clock.after$.clock.every$.clock.now$.command.register$.env.get$.model.complete$.process.run$.process.spawn$.prompt.submit$.session.id$.session.messages$.session.surfaces$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.tool.register$.ui.invalidate$.ui.log$.ui.resolve$.ui.status$.ui.toast
Draws
ToolUseToolResultSpinnerAbovePrompt
Can see
subagent spawnscompactionmcp__msgate__run callsmcp__msgate__jobs callsevery tool callmcp__msgate__progress calls
Reach
level 2 of 3 runs processesdrives Claudereads env varsreads 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/JustAzul/cc-msgate
Path in repo
plugin
Source commit
8daf60f the exact code the scan read
Author
Diego (Azul) Ferreira @JustAzul
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.