delegation-guard

by Mohamed Tababi · ★ 1 · updated 10 days ago

BandsGuardsCommandsvalidates

0

Nudges the main session to hand reading, searching, research and review to subagents, and shows main-context fill and delegated tokens above the prompt.

install delegation-guard

Install

/plugin marketplace add m-tababi/delegation-guard
/plugin install delegation-guard@delegation-guard

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.startcommand.runturn.starttool.callagent.spawnturn.completesession.measureui.render
API calls
$.command.register$.state.get$.state.set$.store.get$.store.set$.ui.resolve
Draws
AbovePrompt
Can see
every tool callsubagent spawns
Reach
level 1 of 3 reads 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/m-tababi/delegation-guard
Path in repo
repository root
Source commit
d4357be the exact code the scan read
Author
Mohamed Tababi @m-tababi
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.