跳至内容
首页AI

免费 课程

Introduction to Subagents

中级技能水平
更新时间 2026年6月
Learn how to use and create sub-agents in Claude Code to manage context, delegate tasks, and build workflows that keep your conversation clean and focused.
开始免费课程

免费包含

ClaudeArtificial Intelligence
2小时
4 视频
12 道练习
800 XP
成就证明

创建您的免费帐户

继续使用 Google显示更多选项


继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。

深受数千家公司学习者的喜爱

Group

需要团队培训?

企业版试用

课程描述

Introduction to Subagents in Claude Code

Subagents are specialized assistants that Claude Code can delegate tasks to, each running in its own isolated context window. In this course, you'll learn how subagents work, how to create your own, and when to use them to keep your main conversation clean and focused. No programming experience is required — just basic comfort with a command line. Start learning how to break complex work into focused pieces and get more out of longer Claude Code sessions.

Create and Configure Custom Subagents

Claude Code ships with built-in subagents for exploration and planning, but the real power comes from building your own. You'll walk through the /agents command to create a custom subagent from scratch, configuring its description, system prompt, tool access, and model. You'll learn how each field in the config file influences when Claude delegates to the subagent and what instructions it receives.

Design Subagents That Stay Focused and Finish on Time

A poorly configured subagent will wander, run too long, or produce output the main agent can't use. You'll learn four design patterns that fix this: writing descriptions that shape input prompts, defining structured output formats as natural stopping conditions, surfacing obstacles so the main thread doesn't rediscover them, and restricting tool access to match each subagent's role.

Know When to Delegate and When to Stay on the Main Thread

Not every task benefits from a subagent. You'll learn which patterns work — research, code reviews, and tasks needing custom system prompts — and which ones don't, like expert-persona prompts, sequential pipelines, and test runners that hide the output you need.

By the time you complete this course, you'll be able to create, configure, and deploy subagents that keep your context window clean, produce structured and actionable output, and make your Claude Code workflow significantly more effective.

先决条件

Claude Code 101
1

Introduction to Subagents

Discover how subagents keep your main context clean by working in isolated windows, meet Claude Code's built-in Explore and Plan agents, and spin up your first custom subagent using the /agents command.
开始章节
2

Designing and Using Effective Subagents

Apply four design patterns to build subagents that stay focused and finish on time, then learn which tasks are worth delegating: research, code reviews, and custom prompts; and which ones aren't.
开始章节
Introduction to Subagents
课程完成

获得成就证明

将此证书添加到您的 LinkedIn 档案、简历或履历中
在社交媒体和绩效评估中分享
立即注册

加入超过19百万学习者,今天就开始Introduction to Subagents!

创建您的免费帐户

继续使用 Google显示更多选项


继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。

通过 DataCamp for Mobile 提升您的数据技能

随时随地通过我们的移动课程和每日 5 分钟编程挑战提升技能。