Skip to content

Commit 30dc45d

Browse files
Update Claude Code docs - 2025-11-18 | Updated: docs__en__hooks.md,docs__en__sub-agents.md
1 parent 2375ed5 commit 30dc45d

3 files changed

Lines changed: 21 additions & 15 deletions

File tree

docs/docs__en__hooks.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,8 @@ The exact schema for `tool_input` depends on the tool.
474474
"tool_input": {
475475
"file_path": "/path/to/file.txt",
476476
"content": "file content"
477-
}
477+
},
478+
"tool_use_id": "toolu_01ABC123..."
478479
}
479480
```
480481

@@ -497,7 +498,8 @@ The exact schema for `tool_input` and `tool_response` depends on the tool.
497498
"tool_response": {
498499
"filePath": "/path/to/file.txt",
499500
"success": true
500-
}
501+
},
502+
"tool_use_id": "toolu_01ABC123..."
501503
}
502504
```
503505

docs/docs__en__sub-agents.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ name: your-sub-agent-name
133133
description: Description of when this subagent should be invoked
134134
tools: tool1, tool2, tool3 # Optional - inherits all tools if omitted
135135
model: sonnet # Optional - specify model alias or 'inherit'
136+
permissionMode: default # Optional - permission mode for the subagent
137+
skills: skill1, skill2 # Optional - skills to auto-load
136138
---
137139

138140
Your subagent's system prompt goes here. This can be multiple paragraphs
@@ -145,12 +147,14 @@ the subagent should follow.
145147

146148
#### Configuration fields
147149

148-
| Field | Required | Description |
149-
| :------------ | :------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
150-
| `name` | Yes | Unique identifier using lowercase letters and hyphens |
151-
| `description` | Yes | Natural language description of the subagent's purpose |
152-
| `tools` | No | Comma-separated list of specific tools. If omitted, inherits all tools from the main thread |
153-
| `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) |
150+
| Field | Required | Description |
151+
| :--------------- | :------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
152+
| `name` | Yes | Unique identifier using lowercase letters and hyphens |
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 |
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 |
157+
| `skills` | No | Comma-separated list of skill names to auto-load when the subagent starts. Skills are loaded into the subagent's context automatically |
154158

155159
### Model selection
156160

docs/docs_manifest.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@
8181
"docs__en__hooks.md": {
8282
"original_url": "https://docs.claude.com/docs/en/hooks",
8383
"original_md_url": "https://docs.claude.com/docs/en/hooks.md",
84-
"hash": "8774132201b317e72874b96bbcdf1e444555e19872ba40f04d95dbfce6898821",
85-
"last_updated": "2025-11-17T03:28:39.144765"
84+
"hash": "3cb05512039e4e2f3bc4e5329ec54ba9dd99c6d71f0fcb3db1cc1b95be0c4081",
85+
"last_updated": "2025-11-18T03:25:44.844571"
8686
},
8787
"docs__en__hooks-guide.md": {
8888
"original_url": "https://docs.claude.com/docs/en/hooks-guide",
@@ -231,8 +231,8 @@
231231
"docs__en__sub-agents.md": {
232232
"original_url": "https://docs.claude.com/docs/en/sub-agents",
233233
"original_md_url": "https://docs.claude.com/docs/en/sub-agents.md",
234-
"hash": "d93bdfeaa72122dcc29667a99919d5afe563dac1d8b2569eda66abbdc37ea292",
235-
"last_updated": "2025-11-16T17:38:38.936113"
234+
"hash": "b6880df8c7d7343019ea3b37e9bf0d25079c9fe41cee3ff1d1bbc90edfe43fd3",
235+
"last_updated": "2025-11-18T03:26:04.436910"
236236
},
237237
"docs__en__terminal-config.md": {
238238
"original_url": "https://docs.claude.com/docs/en/terminal-config",
@@ -1605,8 +1605,8 @@
16051605
}
16061606
},
16071607
"fetch_metadata": {
1608-
"last_fetch_completed": "2025-11-18T00:26:38.679066",
1609-
"fetch_duration_seconds": 152.721565,
1608+
"last_fetch_completed": "2025-11-18T03:28:03.307426",
1609+
"fetch_duration_seconds": 148.181987,
16101610
"total_pages_discovered": 270,
16111611
"pages_fetched_successfully": 267,
16121612
"pages_failed": 4,
@@ -1621,7 +1621,7 @@
16211621
"total_files": 267,
16221622
"fetch_tool_version": "3.0"
16231623
},
1624-
"last_updated": "2025-11-18T00:26:38.679086",
1624+
"last_updated": "2025-11-18T03:28:03.307452",
16251625
"base_url": "https://raw.githubusercontent.com/costiash/claude-code-docs/main/docs/",
16261626
"github_repository": "costiash/claude-code-docs",
16271627
"github_ref": "main",

0 commit comments

Comments
 (0)