技能解释:技能如何与提示、项目、MCP 和子代理进行比较

Since introducing Skills, there's been interest in understanding how the various components of Claude's agentic ecosystem work together. 

自从引入技能以来,人们对理解Claude的代理生态系统中各个组件如何协同工作产生了兴趣。 

Whether you're building sophisticated workflows in Claude Code, creating enterprise solutions with the API, or maximizing your productivity on Claude.ai, knowing which tool to reach for—and when—can transform how you work with Claude.

无论您是在 Claude Code 中构建复杂的工作流程,还是使用 API 创建企业解决方案,或是在 Claude.ai 上最大化您的生产力,知道何时使用哪个工具都可以改变您与 Claude 的工作方式。

This guide breaks down each building block, explains when to use what, and shows you how to combine them for powerful agentic workflows.

本指南分解了每个构建模块,解释了何时使用什么,并向您展示如何将它们结合起来以实现强大的代理工作流程。

Understanding your agentic building blocks

理解你的代理构建模块

What are Skills?

什么是技能?

Skills are folders containing instructions, scripts, and resources that Claude discovers and loads dynamically when relevant to a task. Think of them as specialized training manuals that give Claude expertise in specific domains—from working with Excel spreadsheets to following your organization's brand guidelines.

技能是包含指令、脚本和资源的文件夹,Claude在与任务相关时会动态发现和加载它们。可以将它们视为专门的培训手册,使Claude在特定领域具备专业知识——从处理Excel电子表格到遵循您组织的品牌指南。

How Skills work: When Claude encounters a task, it scans available Skills to find relevant matches. Skills use progressive disclosure: metadata loads first (~100 tokens), providing just enough information for Claude to know when a Skill is relevant. Full instructions load when needed (<5k tokens), and bundled files or scripts load only as required.

技能如何工作: 当Claude遇到任务时,它会扫描可用的技能以找到相关匹配项。技能使用渐进式披露:元数据首先加载(~100个令牌),提供足够的信息让Claude知道何时技能是相关的。完整指令在需要时加载(<5k个令牌),捆绑的文件或脚本仅在需要时加载。

When to use Skills: Choose Skills when you need Claude to perform specialized tasks consistently and efficiently. They're ideal for:

何时使用技能: 当您需要Claude持续高效地执行专业任务时,请选择技能。它们非常适合:

  • Organizational workflows: Brand guidelines, compliance procedures, document templates
  • 组织工作流程:品牌指南、合规程序、文档模板
  • Domain expertise: Excel formulas, PDF manipulation, data analysis
  • 领域专长: Excel 公...
开通本站会员,查看完整译文。

ホーム - Wiki
Copyright © 2011-2025 iteam. Current version is 2.148.0. UTC+08:00, 2025-11-16 03:44
浙ICP备14020137号-1 $お客様$