mode-gate

mode-gate is a Claude Code mod by MarcusJellinghaus that a Claude Code mod with switchable permission profiles: a baseline you set up and named profiles you switch on and off. Bash that no active rule allows asks. For other tools the mod adds.

Updated 2026-11-30

What is mode-gate?

mode-gate is a Claude Code mod by MarcusJellinghaus that a Claude Code mod with switchable permission profiles: a baseline you set up and named profiles you switch on and off. Bash that no active rule allows asks. For other tools the mod adds. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
AuthorMarcusJellinghaus
RepositoryMarcusJellinghaus/claude-mode-gate
Popularityno public popularity data yet
CategorySecurity
SecurityLow risk (88/100)
Rank#7,213 of 9,397 Claude Code mods; #754 in Security
LicenseMIT
Last commit2026-11-30
Hooks3 events
Seesonly the events it hooks
Draws onnothing

Is mode-gate safe to install?

mode-gate scores 88/100 on the MCPMods security check: Low risk. Things to review: reads environment variables. It passed 7 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 no processesPass
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.env.getreads env vars
$.fs.existsreads files
$.fs.readreads files
$.session.root
$.settings.readreads settings
$.state.get
$.state.set

How do I install mode-gate?

  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/MarcusJellinghaus/claude-mode-gate
    claude plugin validate ./claude-mode-gate/plugin
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add MarcusJellinghaus/claude-mode-gate && claude plugin install mode-gate@claude-mode-gate

Or ask Claude to set it up

Paste this into Claude Code and it installs mode-gate for you:

Install the "mode-gate" Claude Code mod from https://github.com/MarcusJellinghaus/claude-mode-gate/tree/main/plugin. Run claude plugin validate on it first and show me what it can access before you enable it.