[KongchangAI]
ConceptSubagent / 子代理

Subagents

A sub-agent mechanism in Claude Code in which each sub-agent has its own independent context window and tool permissions, making it suited to isolated, task-specific work.

Core Facts

Timeline (last 90 days)

Nov 8

Skills in Claude Code are reusable instruction packages, Subagents are sub-agents with independent context windows, and Hooks are check scripts that trigger automatically on specific events (such as before or after tool calls).

Unverified50%
Nov 4

The content covered by Claude Code Quest includes basic command-line operations as well as advanced features such as Skills, Hooks, Subagents, and MCP.

Unverified50%
Nov 1

Compared with the monolithic-agent approach of cramming all tools into a single prompt, the sub-agent architecture can reduce prompt length, reduce tool misselection, increase task parallelism, and make it easier to debug and iterate each sub-agent separately.

Unverified50%
Oct 25

Skill-based encapsulation (splitting domain knowledge into sub-skills and sub-agents) is the mainstream path for AI tools to land in vertical scenarios.

Unverified50%
Oct 17

Each subagent is essentially a Markdown file whose header contains the name, description, list of available tools and model selection, with the system prompt below.

Unverified50%
Oct 17

Anthropic's multi-agent research system shows that the subagent pattern is markedly effective in tasks requiring multi-step exploration, but token consumption increases significantly, so it should be avoided for simple tasks.

Unverified50%
Oct 17

The Subagents pattern isolates complex subtasks through independent contexts; a subagent's lengthy intermediate process does not affect the main agent's decision space, and the main agent receives only refined conclusions.

Unverified50%
Oct 17

Production-grade agents typically combine five strategies: Prompt Caching, Compaction, Tool-result Clearing, Retrieval, and Subagents.

Unverified50%
Oct 17

The recommended scope of claude-code-setup covers five categories: Hooks, Subagents, Skills, MCP Servers, and Plugins.

Unverified50%
Oct 16

The context window refers to the maximum number of tokens a large model can process in a single inference, covering the sum of the input prompt and the output completion, and content exceeding the window will be truncated or cause the call to fail.

Verified70%

3 more timeline events

All Facts (13)

Verified

The context window refers to the maximum number of tokens a large model can process in a single inference, covering the sum of the input prompt and the output completion, and content exceeding the window will be truncated or cause the call to fail.

70%
Unverified

Skills in Claude Code are reusable instruction packages, Subagents are sub-agents with independent context windows, and Hooks are check scripts that trigger automatically on specific events (such as before or after tool calls).

50%
Unverified

The content covered by Claude Code Quest includes basic command-line operations as well as advanced features such as Skills, Hooks, Subagents, and MCP.

50%
Unverified

Compared with the monolithic-agent approach of cramming all tools into a single prompt, the sub-agent architecture can reduce prompt length, reduce tool misselection, increase task parallelism, and make it easier to debug and iterate each sub-agent separately.

50%
Unverified

Skill-based encapsulation (splitting domain knowledge into sub-skills and sub-agents) is the mainstream path for AI tools to land in vertical scenarios.

50%
Unverified

Each subagent is essentially a Markdown file whose header contains the name, description, list of available tools and model selection, with the system prompt below.

50%
Unverified

Anthropic's multi-agent research system shows that the subagent pattern is markedly effective in tasks requiring multi-step exploration, but token consumption increases significantly, so it should be avoided for simple tasks.

50%
Unverified

The Subagents pattern isolates complex subtasks through independent contexts; a subagent's lengthy intermediate process does not affect the main agent's decision space, and the main agent receives only refined conclusions.

50%
Unverified

Production-grade agents typically combine five strategies: Prompt Caching, Compaction, Tool-result Clearing, Retrieval, and Subagents.

50%
Unverified

The recommended scope of claude-code-setup covers five categories: Hooks, Subagents, Skills, MCP Servers, and Plugins.

50%
Unverified

Claude Code can automate an entire workflow through three capabilities: Skills, Hooks, and Sub-agents.

50%
Unverified

Subagents are a multi-agent collaboration mechanism; Claude Code can decompose complex tasks and dispatch multiple sub-agents to complete them separately before aggregating the results.

50%
Unverified

A single Agent producing and validating its own output carries the risk of self-confirmation bias, as the model tends to approve the output it just generated; a Reviewer Agent with an independent context is more likely to find problems.

50%

Source Articles