Skip to content
BENIBIX Learn

Agent Permission Rule

AI⌨️ Claude CodeConfiguration

Also known as Agent(Explore), Agent(name)

A rule that turns one helper agent on or off.

Think of it like

It is like you tell the boss which helpers they may call in.

Example

Emma wants Claude to search the code itself, not hand it to a helper. She denies Agent(Explore).

Why it matters

Each subagent spends tokens and works out of sight. A rule chooses which ones may run.

Definition

An Agent permission rule matches the subagents Claude may start. It is written as Agent and the name, such as Agent(Explore). Most of the time it is a deny rule, to turn one off. The flag that blocks tools takes the same form.

Example code

json
{
  "permissions": {
    "deny": ["Agent(Explore)"]
  }
}
Turn off the Explore subagent.

Common mistake

Writing the subagent's label from the screen. Use its real name, as in its file.

Key takeaways

  1. 1
    Agent and a name. Agent(Explore).
  2. 2
    Mostly deny. Turn one off.
  3. 3
    Same as the flag. --disallowedTools.