brewtools:agent-toggle

Installation
SKILL.md

Agent Toggle

Disable/enable individual agents via the native permissions.deny mechanism in settings.json. A Agent(<name>) deny entry removes the subagent from the model context. State survives plugin updates — no SessionStart reapply hook needed. See also: /brewtools:skill-toggle for skills.

Robustness Rules

Rule Applies
Every Bash call ends with && echo "OK ..." || echo "FAILED ..." ALL
Never use Write/Edit on any settings.json — use Bash + Node helper ALL
This skill mutates agents only (permissions.deny) — never skills ALL
Agent(name) matches the BARE name — strip any plugin: prefix the user passes ALL
Atomic writes via lockfile + temp + rename (handled by helper) P2
Installs
5
GitHub Stars
28
First Seen
May 3, 2026
brewtools:agent-toggle — kochetkov-ma/claude-brewcode