SpyBara
Go Premium

Documentation 2025-12-27 06:02 UTC to 2026-01-03 18:02 UTC

3 files changed +4 −3. View all changes and history on the product overview
2026
Sat 31 03:42 Fri 30 18:07 Thu 29 21:03 Wed 28 15:06 Tue 27 21:01 Mon 26 21:03 Sun 25 03:34 Sat 24 03:29 Fri 23 21:01 Thu 22 21:03 Wed 21 21:05 Tue 20 21:03 Mon 19 21:01 Fri 16 21:01 Wed 14 06:02 Mon 12 21:02 Sun 11 18:02 Sat 10 21:01 Fri 9 21:01 Thu 8 21:02 Wed 7 21:01 Tue 6 21:01 Sat 3 18:02

hooks.md +1 −1

Details

456 session_id: string456 session_id: string

457 transcript_path: string // Path to conversation JSON457 transcript_path: string // Path to conversation JSON

458 cwd: string // The current working directory when the hook is invoked458 cwd: string // The current working directory when the hook is invoked

459 permission_mode: string // Current permission mode: "default", "plan", "acceptEdits", or "bypassPermissions"459 permission_mode: string // Current permission mode: "default", "plan", "acceptEdits", "dontAsk", or "bypassPermissions"

460 460 

461 // Event-specific fields461 // Event-specific fields

462 hook_event_name: string462 hook_event_name: string

iam.md +2 −1

Details

69Claude Code supports several permission modes that can be set as the `defaultMode` in [settings files](/en/settings#settings-files):69Claude Code supports several permission modes that can be set as the `defaultMode` in [settings files](/en/settings#settings-files):

70 70 

71| Mode | Description |71| Mode | Description |

72| :------------------ | :--------------------------------------------------------------------------- |72| :------------------ | :------------------------------------------------------------------------------------------------------------------------ |

73| `default` | Standard behavior - prompts for permission on first use of each tool |73| `default` | Standard behavior - prompts for permission on first use of each tool |

74| `acceptEdits` | Automatically accepts file edit permissions for the session |74| `acceptEdits` | Automatically accepts file edit permissions for the session |

75| `plan` | Plan Mode - Claude can analyze but not modify files or execute commands |75| `plan` | Plan Mode - Claude can analyze but not modify files or execute commands |

76| `dontAsk` | Auto-denies tools unless pre-approved via `/permissions` or [`permissions.allow`](/en/settings#permission-settings) rules |

76| `bypassPermissions` | Skips all permission prompts (requires safe environment - see warning below) |77| `bypassPermissions` | Skips all permission prompts (requires safe environment - see warning below) |

77 78 

78#### Working directories79#### Working directories

sub-agents.md +1 −1

Details

153| `description` | Yes | Natural language description of the subagent's purpose |153| `description` | Yes | Natural language description of the subagent's purpose |

154| `tools` | No | Comma-separated list of specific tools. If omitted, inherits all tools from the main thread |154| `tools` | No | Comma-separated list of specific tools. If omitted, inherits all tools from the main thread |

155| `model` | No | Model to use for this subagent. Can be a model alias (`sonnet`, `opus`, `haiku`) or `'inherit'` to use the main conversation's model. If omitted, defaults to the [configured subagent model](/en/model-config) |155| `model` | No | Model to use for this subagent. Can be a model alias (`sonnet`, `opus`, `haiku`) or `'inherit'` to use the main conversation's model. If omitted, defaults to the [configured subagent model](/en/model-config) |

156| `permissionMode` | No | Permission mode for the subagent. Valid values: `default`, `acceptEdits`, `bypassPermissions`, `plan`, `ignore`. Controls how the subagent handles permission requests |156| `permissionMode` | No | Permission mode for the subagent. Valid values: `default`, `acceptEdits`, `dontAsk`, `bypassPermissions`, `plan`, `ignore`. Controls how the subagent handles permission requests |

157| `skills` | No | Comma-separated list of skill names to auto-load when the subagent starts. Subagents do not inherit Skills from the parent conversation. If omitted, no Skills are preloaded. |157| `skills` | No | Comma-separated list of skill names to auto-load when the subagent starts. Subagents do not inherit Skills from the parent conversation. If omitted, no Skills are preloaded. |

158 158 

159### Model selection159### Model selection