Claude Code Skills & skills.sh - Crash Course

Claude Code Skills & skills.sh - Crash Course

Claude Code Skills 与 skills.sh 快速入门

Alejandro AO6 位订阅者

33 分钟阅读AI

【开发者进阶】Claude Code Skills 崩溃课程:解锁 skills.sh 的自动化权限 想要让 AI 真正替你操控系统?学会编写 .sh 技能包是关键。本视频通过多个实战案例,教你如何将复杂的本地流程(如自动化部署、文件批处理)封装成 AI 一键调用的技能,跨越从“对话 AI”到“让 AI 办事”的技术鸿沟。 🎙️ 主讲人介绍 自动化工程专家:专注于 Shell 脚本与 LLM 指令集的深度整合,擅长将琐碎的开发任务流程化,是高效工作流系统的资深架构师。 核心议题:Skill 编写标准规范、skills.sh 结构拆解、安全授权逻辑、自定义自动化工具包构建与维护。 关键词:Claude Code、skills.sh、自动化实操、提效教程、AI 编程

章节 1:AI Agent 技能概论与开放标准

📝 本节摘要:

本节作为开篇,首先确立了视频的核心目标:通过一站式教程掌握 AI Agent(智能体)技能及其相关工具。主讲人介绍了“技能(Skills)”的起源——由 Anthropic 在 2025 年 10 月提出的概念,本质上是包含程序性知识的 Markdown 文件。随后,内容涵盖了技能的结构特征(YAML 头部配置),以及行业如何迅速接纳这一开放标准(Open Standard),并引出了 Vercel 最新推出的命令行工具 skills.sh,用于更便捷地管理和安装这些技能。

[原文] Speaker: Good morning, everyone. How's it going? Welcome back to the channel. Today, we're going to be covering skills for AI agents.

[译文] Speaker: 大家早上好。近来如何?欢迎回到这个频道。今天,我们将涵盖关于 AI Agent(智能体)技能的内容。

[原文] Speaker: And the idea is that this is the only video that you're going to need in order to understand everything related to skills. Okay.

[译文] Speaker: 我们的想法是,这将是你需要观看的唯一一个视频,以便理解与技能相关的一切。好的。

[原文] Speaker: So what we're going to be covering is what are agent skills and skills.sh, which is the new CLI by Vercel to manage and install skills.

[译文] Speaker: 所以我们要涵盖的内容是:什么是 Agent Skills(智能体技能),以及 skills.sh——这是 Vercel 推出的一个新的命令行工具(CLI),用于管理和安装技能。

[原文] Speaker: We're going to see a demo of some of the greatest skills that are out there so far. We're going to show you how to create your own skills.

[译文] Speaker: 我们将看到目前市面上一些最棒的技能的演示。我们将展示如何创建你自己的技能。

[原文] Speaker: We're going to show you how to share your skills. And we're going to show you some best practices when building your skills.

[译文] Speaker: 我们将展示如何分享你的技能。并且我们将向你展示在构建技能时的一些最佳实践。

[原文] Speaker: And if we have time, we're also going to cover a little bit about marketplaces and plugins diantropic, which is another more sophisticated way to share your skills.

[译文] Speaker: 如果还有时间,我们还会稍微介绍一下市场(Marketplaces)和 Anthropic 的插件,这是另一种更复杂的技能分享方式。

[原文] Speaker: And just as a sneak peek of what we're going to be doing, I'm going to show you how you can turn a website that looks like this into a website that looks much less like AI slop built by Claude using a skill. So let's get right into it.

[译文] Speaker: 作为我们将要做的事情的一个预告,我会向你展示如何利用 Claude 使用某项技能,将一个看起来像这样的网站,变成一个看起来不那么像“AI 垃圾内容(AI slop)”的网站。那么让我们直接开始吧。

[原文] Speaker: Okay, so first of all, what are skills? Now, skills actually started back in October of 2025 when Anthropic introduced CloudCode agent skills.

[译文] Speaker: 好的,首先,什么是技能?实际上,技能始于 2025 年 10 月,当时 Anthropic 推出了 Claude Code(原文作 CloudCode)智能体技能。

[原文] Speaker: And this was a new way to share procedural knowledge for agents. And it's a very straightforward and very simple thing.

[译文] Speaker:这是一种为智能体分享“程序性知识”的新方式。而且这非常直观且非常简单。

[原文] Speaker: In short, skills are essentially just markdown files with very straightforward instructions about something very specific.

[译文] Speaker: 简而言之,技能本质上就是 Markdown 文件,其中包含了关于某项特定事务的非常直观的指令。

[原文] Speaker: And in order to show you, let me just open this very quick skill right here, which is called Skill Creator. It's a skill developed by Anthropik, which teaches CloudCode or any other AI agent how to create a skill in itself.

[译文] Speaker: 为了给你们展示,让我打开这个非常快速的技能,它叫做“Skill Creator(技能创建者)”。这是一个由 Anthropic 开发的技能,它教 Claude Code 或任何其他 AI 智能体如何自行创建一个技能。

[原文] Speaker: And as you can see, it is essentially just a markdown file with very clear instructions about how this works.

[译文] Speaker: 如你所见,它本质上只是一个 Markdown 文件,包含了关于它是如何运作的非常清晰的指令。

[原文] Speaker: and up right here at the top if you see the row format of this skill you can see that it has a yaml header with a name and a description parameter now these parameters are very important because these are the only thing that the agent sees in context before actually loading the skill

[译文] Speaker: 如果你在顶部这里查看这个技能的原始格式,你会看到它有一个包含名称和描述参数的 YAML 头部。这些参数非常重要,因为在实际加载技能之前,这是智能体在上下文中唯一能看到的东西。

[原文] Speaker: and that's essentially all that skill is a very clear markdown file with very specialized instructions and that's what was introduced officially in October of last year.

[译文] Speaker: 这本质上就是技能的全部——一个包含非常专业指令的清晰 Markdown 文件,这就是去年 10 月正式推出的内容。

[原文] Speaker: Now since then in December of this year we got the open standard which was very quickly adopted by most of the AI agent builders in the world by OpenAI Codex, by Microsoft, by GitHub, by Cursor.

[译文] Speaker: 从那时起,在今年的 12 月,我们迎来了“开放标准(Open Standard)”,它很快被世界上大多数 AI 智能体构建者所采纳,包括 OpenAI Codex、Microsoft、GitHub 和 Cursor。

[原文] Speaker: Everybody was adopting skills as a way to create portable capabilities for their agents and that's when agent skills, the open standard actually came out.

[译文] Speaker: 每个人都在采用技能,以此作为一种为他们的智能体创建可移植能力的方式,而那正是 Agent Skills 开放标准真正问世的时候。

[原文] Speaker: And after that, just a few days ago, actually, Vercel introduced skills.sh, which is a CLI tool that allows you to manage and install skills very, very easily, which is the one that we're actually going to be using to share with you how this works.

[译文] Speaker: 在那之后,实际上就在几天前,Vercel 推出了 skills.sh,这是一个命令行工具(CLI),允许你非常非常轻松地管理和安装技能,这也正是我们将要用来向你们展示它是如何运作的工具。

  1. 章节 2:实战演示——前端设计技能的威力
  2. 章节 3:生态探索——Skills.sh 与 Hugging Face 资源库
  3. 章节 4:从零构建——创建自定义视频编辑技能
  4. 章节 5:技能解剖学——文件结构与生产环境部署
  5. 章节 6:最佳实践与安装策略

正在加载后续章节…