agent-gate

agent-gate is a Claude Code mod by alanrsoares that puts every Agent (subagent) call to the permission decider instead of running it unasked.

Updated 2026-12-01

What is agent-gate?

agent-gate is a Claude Code mod by alanrsoares that puts every Agent (subagent) call to the permission decider instead of running it unasked. It is listed under Agents & automation and has no public popularity data yet.

TypeClaude code mod
Authoralanrsoares
Repositoryalanrsoares/claude-mods
Popularityno public popularity data yet
CategoryAgents & automation
SecurityLow risk (100/100)
Rank#4,787 of 9,397 Claude Code mods; #381 in Agents & automation
LicenseMIT
Last commit2026-12-01
Hooks1 events
Seesonly the events it hooks
Draws onnothing

Is agent-gate safe to install?

agent-gate scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 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
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

How do I install agent-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/alanrsoares/claude-mods
    claude plugin validate ./claude-mods/agent-gate
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add alanrsoares/claude-mods && claude plugin install agent-gate@alan-mods

Or ask Claude to set it up

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

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

More from alanrsoares/claude-mods

This repository has 5 Claude Code mods on MCPMods.

  • bash-tidy: Drops redundant cd from Bash commands and asks before cat/grep/sed -i that Read, Grep or Edit would do. (Low risk)
  • headroom-hud: HUD band and side pane: model/effort, context gauge, session cost, headroom proxy savings, and guided /compact. (Review before installing)
  • laya-router: Rates each prompt with a local laya-serve, names a model tier, fills it in on Agent calls and can route the main loop. (Review before installing)
  • verify-gate: Asks before git commit or gh pr create while edited code has not passed a check command since its last edit. (Low risk)