What is msgate?
msgate is a Claude Code mod by JustAzul. 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. It is listed under Agents & automation and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | JustAzul |
| Repository | JustAzul/cc-msgate |
| Popularity | no public popularity data yet |
| Category | Agents & automation |
| Security | Review before installing (68/100) |
| Rank | #6,754 of 9,397 Claude Code mods; #557 in Agents & automation |
| License | MIT |
| Last commit | 2026-10-28 |
| Hooks | 17 events |
| Sees | compaction, every tool call, mcp__msgate__jobs calls, mcp__msgate__progress calls, mcp__msgate__run calls, subagent spawns |
| Draws on | ToolUse|ToolResult, Spinner, AbovePrompt |
Is msgate safe to install?
msgate 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.list | |
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.model.complete | drives Claude |
$.process.run | runs processes |
$.process.spawn | |
$.prompt.submit | drives Claude |
$.session.id | |
$.session.messages | reads the transcript |
$.session.surfaces | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.keys | keeps its own state |
$.store.set | keeps its own state |
$.tool.register | drives Claude |
$.ui.invalidate | draws interface |
$.ui.log | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install msgate?
- 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/JustAzul/cc-msgate claude plugin validate ./cc-msgate/plugin
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/JustAzul/cc-msgate && claude --plugin-dir ./cc-msgate/plugin
Or ask Claude to set it up
Paste this into Claude Code and it installs msgate for you:
Install the "msgate" Claude Code mod from https://github.com/JustAzul/cc-msgate/tree/main/plugin. Run claude plugin validate on it first and show me what it can access before you enable it.