Chuyển đến nội dung chính
Trang chủAI

Miễn phí Khóa học

Introduction to Subagents

Trung cấpTrình độ kỹ năng
Đã cập nhật tháng 06, 2026
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.
Bắt Đầu Khóa Học Miễn Phí

Bao Gồm Miễn Phí

ClaudeArtificial Intelligence
2 gio
4 video
12 Bài tập
800 XP
Giấy chứng nhận Thành tích

Tạo Tài Khoản Miễn Phí

Tiếp tục với GoogleHiển thị thêm tùy chọn

hoặc


Bằng cách tiếp tục, bạn chấp nhận Điều khoản sử dụng, Chính sách bảo mật và việc dữ liệu của bạn được lưu trữ tại Hoa Kỳ.

Được người học tại hàng ngàn công ty yêu thích

Group

Đào tạo một đội ngũ?

Dùng thử cho Doanh nghiệp

Mô tả khóa học

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.

Điều kiện tiên quyết

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.
Bắt Đầu Chương
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.
Bắt Đầu Chương
Introduction to Subagents
Hoàn
Thành

Nhận Giấy Chứng Nhận Hoàn Thành

Thêm chứng chỉ này vào hồ sơ LinkedIn, CV hoặc sơ yếu lý lịch của ban
Chia sẻ trên mạng xã hội và trong đánh giá hiệu suất của ban
Đăng ký ngay

Tham gia cùng hơn 19 triệu học viên và bắt đầu Introduction to Subagents ngay hôm nay!

Tạo Tài Khoản Miễn Phí

Tiếp tục với GoogleHiển thị thêm tùy chọn

hoặc


Bằng cách tiếp tục, bạn chấp nhận Điều khoản sử dụng, Chính sách bảo mật và việc dữ liệu của bạn được lưu trữ tại Hoa Kỳ.

Phát triển kỹ năng dữ liệu với DataCamp cho thiết bị di động

Tiến bộ mọi lúc mọi nơi với các khóa học cho thiết bị di động và thử thách lập trình 5 phút hằng ngày.