You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/05-tool-guides/agent-teams.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,20 +21,16 @@ This makes "agents talking to each other" explicit and structured instead of ad
21
21
22
22
## Claude Code Agent Teams
23
23
24
-
Claude Code supports team definitions in:
24
+
Agent teams are an experimental Claude Code feature. Enable them by setting `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` in the environment where Claude Code runs.
25
25
26
-
-`.claude/agents/team/**/*.md`
26
+
Use natural-language delegation in chat to involve teammates for specialized work.
27
27
28
-
The tooling includes:
28
+
Important clarification:
29
29
30
-
-`/agents` to manage agents
31
-
-`/agents-team`to create and manage agent teams
30
+
-there is no separate `.claude/agents/team/` team-manifest path
31
+
-there is no `/agents-team`command
32
32
33
-
Team packs can define:
34
-
35
-
- a main architecture/orchestrator agent
36
-
- specialist teammate agents
37
-
- collaboration patterns between teammates
33
+
Use settings and prompts to shape collaboration behavior, and pair teams with custom agents when you need reusable specialist roles.
Copy file name to clipboardExpand all lines: docs/05-tool-guides/hooks.md
+10-14Lines changed: 10 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,25 +29,21 @@ Use hooks for:
29
29
30
30
Claude Code has first-class lifecycle hooks. In practice, this is the most complete built-in hook system across current coding-agent tools.
31
31
32
-
### Supported lifecycle events
32
+
### Lifecycle Coverage (High Level)
33
33
34
-
-`PreToolUse` — before tool execution
35
-
-`PostToolUse` — after tool execution
36
-
-`Notification` — when Claude emits notifications
37
-
-`UserPromptSubmit` — when the user submits a prompt
38
-
-`Stop` — when Claude finishes responding
39
-
-`SubagentStop` — when a subagent finishes
40
-
-`PreCompact` — before context compaction
34
+
Claude hooks can run at key lifecycle points, including:
41
35
42
-
### Hook handler types
36
+
- session boundaries
37
+
- prompt submission
38
+
- before/after tool calls
39
+
- permission and failure handling
40
+
- sub-agent or teammate lifecycle events
43
41
44
-
Claude supports multiple hook handler types:
42
+
For the exact and current event names, use the official hooks reference in the References section below.
45
43
46
-
-**Command hooks** — run shell commands/scripts
47
-
-**Prompt hooks** — inject natural-language guidance at hook time
48
-
-**Agent hooks** — invoke a subagent to evaluate or gate behavior
44
+
### Hook handler types
49
45
50
-
This makes hooks useful for both deterministic checks (scripts)and policy judgment flows (prompt/agent).
46
+
Claude hooks run command handlers (shell commands/scripts). Handlers can emit stderr/stdout and structured JSON to control blocking and messaging behavior.
0 commit comments