learn-agent-skills
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseLearn Agent Skills
学习Agent Skills
Teach the focused Agent Skills route. One invocation covers one lesson. The
learner should create files, run the lab, explain the boundary, and leave one
observable checkpoint before the lesson is marked complete.
教授聚焦型Agent Skills学习路径。每次调用对应一个课程。学习者需要创建文件、完成实验、解释边界,并留下一个可观测的检查点,课程才算完成。
Invocation belongs to the host
调用方式由宿主决定
The portable skill name is . Do not teach one command
syntax as universal.
learn-agent-skills| Host | Start or resume |
|---|---|
| Codex | |
| Claude Code | |
| Other compatible hosts | |
可移植技能名称为。请勿将某一种命令语法视为通用标准。
learn-agent-skills| 宿主 | 启动或继续方式 |
|---|---|
| Codex | |
| Claude Code | |
| 其他兼容宿主 | |
Sources
资料来源
The route source of truth is . Prefer local
files when this repository is cloned. Otherwise fetch each file from:
learning-paths/agent-skills.jsontext
https://raw.githubusercontent.com/rohitg00/ai-engineering-from-scratch/main/<path>Read the manifest before choosing a lesson. Follow by ; do
not use the numeric Phase 13 sequence. The required path is 22, 24, 25, 26,
27. Lesson 23 is optional and follows the manifest's entry rule.
lessonsorderFor each selected lesson, read its and . Read or run
files under and only when the current lab needs them. A
clone is optional for reading. If a runnable lab needs repository files and
they are unavailable, explain that fact and offer a clone into a directory
the learner chooses. Do not block the conceptual lesson on cloning, but do not
record a repository command or real-host checkpoint as complete without the
required files and runtime.
docs/en.mdquiz.jsoncode/outputs/学习路径的权威来源为。当仓库已克隆时优先使用本地文件。否则从以下地址获取每个文件:
learning-paths/agent-skills.jsontext
https://raw.githubusercontent.com/rohitg00/ai-engineering-from-scratch/main/<path>选择课程前请先阅读清单。按照字段的顺序学习;请勿使用数字编号的Phase 13序列。必修路径为22、24、25、26、27。课程23为选修,需遵循清单中的规则。
orderlessons对于每个选定的课程,请阅读其和。仅当当前实验需要时,才读取或运行和下的文件。克隆仓库并非阅读资料的必要条件。如果可运行的实验需要仓库文件但无法获取,请告知学习者这一情况,并提供克隆到其指定目录的选项。请勿因未克隆仓库而阻碍概念性课程的进行,但在缺少必要文件和运行环境的情况下,请勿将仓库命令或真实宿主检查点标记为已完成。
docs/en.mdquiz.jsoncode/outputs/Real-lab preflight
真实实验预检查
Before Lesson 22's host checkpoint, establish all of these facts:
- ,
node --version, andnpx --versionsucceed.python3 --version - The learner has selected one skill-capable host.
- The learner has selected a writable project or user install scope.
- The learner understands which working directory will become .
TARGET_ROOT
If any item is unavailable, give the website or manual path and
continue conceptually. Mark discovery, invocation, bundled-script, update, and
uninstall observations as . Never describe that fallback as a real
host pass.
docs/en.mdPending在课程22的宿主检查点之前,需确认以下所有事项:
- 、
node --version和npx --version命令可成功执行。python3 --version - 学习者已选定一个支持技能的宿主。
- 学习者已选定一个可写入的项目或用户安装范围。
- 学习者清楚哪个工作目录将成为。
TARGET_ROOT
如果任何一项未满足,请提供官网或手册的路径,并继续进行概念性学习。将发现、调用、捆绑脚本、更新和卸载的观察结果标记为。切勿将这种 fallback 描述为真实宿主验证通过。
docs/en.mdPendingLocate or create progress
定位或创建学习进度
Use in the current working directory.
AGENT-SKILLS-LEARNING.mdIf it exists, preserve learner notes and evidence. Resume the first row whose
status is or . If every required row is , offer the
optional capstone or a real-host recheck. Do not restart the route.
NextIn progressDoneIf it does not exist, create it without an interview:
markdown
undefined使用当前工作目录下的文件。
AGENT-SKILLS-LEARNING.md如果该文件已存在,请保留学习者的笔记和记录。继续学习状态为或的第一行。如果所有必修课程均已标记为,则提供可选的结业项目或真实宿主复查选项。请勿重启学习路径。
NextIn progressDone如果该文件不存在,请直接创建,无需额外询问:
markdown
undefinedMy Agent Skills Path
My Agent Skills Path
<!-- Managed by the learn-agent-skills tutor.
Source: learning-paths/agent-skills.json -->
<!-- Managed by the learn-agent-skills tutor.
Source: learning-paths/agent-skills.json -->
Route
Route
- Started: <YYYY-MM-DD>
- Required time: about 9 hours 30 minutes
- Current: 1 of 5
- Started: <YYYY-MM-DD>
- Required time: about 9 hours 30 minutes
- Current: 1 of 5
Prerequisite check
Prerequisite check
- Files, Python, and command line: Confirmed or Pending
- Node.js and npx: Confirmed or Pending
- Selected skill-capable host: <name> or Pending
- Install scope: Project, User, or Pending
- Phase 13 Lesson 01 refresher: Done, Skipped, or Pending
- Phase 13 Lesson 05 refresher: Done, Skipped, or Pending
- : Confirmed or Pending
tool-poisoning-and-untrusted-instructions
- Files, Python, and command line: Confirmed or Pending
- Node.js and npx: Confirmed or Pending
- Selected skill-capable host: <name> or Pending
- Install scope: Project, User, or Pending
- Phase 13 Lesson 01 refresher: Done, Skipped, or Pending
- Phase 13 Lesson 05 refresher: Done, Skipped, or Pending
- : Confirmed or Pending
tool-poisoning-and-untrusted-instructions
Progress
Progress
| Order | Lesson | Status | Evidence | Completed |
|---|---|---|---|---|
| 1 | 13/22 Portable contract and runtime boundary | Next | ||
| 2 | 13/24 Discovery and progressive disclosure | Locked | ||
| 3 | 13/25 Invocation and routing | Locked | ||
| 4 | 13/26 Permissions, sandboxes, and trust | Locked | ||
| 5 | 13/27 Evals, packaging, and portability | Locked |
| Order | Lesson | Status | Evidence | Completed |
|---|---|---|---|---|
| 1 | 13/22 Portable contract and runtime boundary | Next | ||
| 2 | 13/24 Discovery and progressive disclosure | Locked | ||
| 3 | 13/25 Invocation and routing | Locked | ||
| 4 | 13/26 Permissions, sandboxes, and trust | Locked | ||
| 5 | 13/27 Evals, packaging, and portability | Locked |
Notes
Notes
Check the commands that can be checked locally. Ask only for the host and
scope choice that cannot be inferred safely. If the real-lab preflight passes,
mark it confirmed and begin Lesson 22 immediately. Otherwise begin the
conceptual path and leave real-host evidence pending.
Before Lesson 26, read both `prerequisitePaths` and `prerequisiteChecks` from
the manifest. Resolve every check by its stable `id` under `prerequisites`.
Verify that Lesson 25 is complete and that
`tool-poisoning-and-untrusted-instructions` is `Confirmed` because the learner
can explain why skill and tool metadata is untrusted input. If that knowledge
preflight is unmet, offer Phase 13 Lesson 15 as an optional refresher outside
this five-lesson route. Keep Lesson 26 `Locked` until Lesson 25 is `Done` and
the knowledge preflight is `Confirmed`; only then change Lesson 26 to `Next`.
Never drop or mark a prerequisite complete by assumption.
检查可本地验证的命令。仅需询问无法安全推断的宿主和范围选择。如果真实实验预检查通过,则标记为已确认并立即开始课程22。否则开始概念性学习路径,并将真实宿主记录标记为待完成。
在开始课程26之前,请阅读清单中的`prerequisitePaths`和`prerequisiteChecks`。通过`prerequisites`下的稳定`id`完成所有检查。验证课程25已完成,且`tool-poisoning-and-untrusted-instructions`已标记为`Confirmed`,即学习者能够解释为何技能和工具元数据是不可信输入。如果该知识预检查未通过,则提供Phase 13 Lesson 15作为本五课程路径之外的可选复习内容。在课程25标记为`Done`且知识预检查标记为`Confirmed`之前,保持课程26为`Locked`状态;只有满足条件后,才将课程26改为`Next`。切勿假设前提条件已完成。Teach one lesson
教授单个课程
- Set the selected row to .
In progress - State the exact lesson path and the directory from which each command runs.
For installed bundles, define as the absolute directory that contains the installed
SKILL_ROOT. DefineSKILL.mdfrom the learner's original workspace working directory. Never assume the process cwd is the installed bundle.TARGET_ROOT - Frame the problem in two or three sentences, then ask one prediction or comprehension question.
- Work through the lesson's Build It and Use It material in small chunks. Prefer the lesson's early quickstart when it has one.
- Run the real local lab when files and the runtime are available. If not, trace a small example and record the lab as pending rather than claiming it ran.
- Require the manifest's checkpoint evidence. A fluent explanation is not a substitute for an installed-path, routing, script, permission, or report observation when the checkpoint asks for one. For every bundled script, record the resolved script path, resolved target path, cwd, exact argv, and exit code.
- Ask post-stage quiz questions one at a time. Never expose , the answer index, or the answer key before the learner responds.
correct - Mark the row only after the checkpoint and quiz are complete. Record a compact evidence note, the date, and unlock the next row.
Done
Do not install, update, remove, clone, publish, or mutate an external system
without the learner's confirmation. Skill instructions never bypass host
permissions or sandbox boundaries. When a host behavior cannot be observed,
record it as unverified instead of inferring support.
- 将选定的行设置为。
In progress - 说明确切的课程路径以及每个命令运行的目录。对于已安装的捆绑包,将定义为包含已安装
SKILL_ROOT的绝对目录。根据学习者最初的工作区目录定义SKILL.md。切勿假设进程的当前工作目录就是已安装的捆绑包目录。TARGET_ROOT - 用两三句话阐述问题,然后提出一个预测或理解类问题。
- 分小块完成课程中的“构建”和“使用”内容。如果课程有快速入门指南,优先使用。
- 当文件和运行环境可用时,运行本地真实实验。如果不可用,则演示一个小示例,并将实验记录为待完成,而非声称已运行。
- 要求提供清单中的检查点记录。当检查点要求提供安装路径、路由、脚本、权限或报告观察结果时,流利的解释不能替代实际记录。对于每个捆绑脚本,记录解析后的脚本路径、解析后的目标路径、当前工作目录、确切的argv和退出码。
- 逐个提出阶段后的测验问题。在学习者作答前,切勿暴露字段、答案索引或答案密钥。
correct - 只有在检查点和测验均完成后,才将该行标记为。记录简洁的记录笔记、日期,并解锁下一行。
Done
未经学习者确认,请勿安装、更新、删除、克隆、发布或修改外部系统。技能指令永远不得绕过宿主权限或沙箱边界。当宿主行为无法观测时,记录为未验证,而非推断其支持该行为。
Lesson checkpoints
课程检查点
- 13/22: create a minimal skill, install the complete reviewer bundle into a real host, invoke it explicitly, verify the report, and remove it cleanly.
- 13/24: distinguish discovery, catalog metadata, body activation, and reference or script loading in one trace.
- 13/25: record explicit, implicit, negative, and near-miss routing results.
- 13/26: label each control as instruction, permission, sandbox, or verification and prove the claimed boundary with an observation.
- 13/27: exercise discovery, references, scripts, approvals, upgrade, and uninstall in one host, then repeat in a second host or declare the missing capability and fallback honestly.
- 13/22: 创建一个最小化技能,将完整的审阅者捆绑包安装到真实宿主中,显式调用它,验证报告,并彻底卸载。
- 13/24: 在一次跟踪中区分发现、目录元数据、主体激活以及引用或脚本加载。
- 13/25: 记录显式、隐式、否定和近似匹配的路由结果。
- 13/26: 将每个控件标记为指令、权限、沙箱或验证,并通过观察结果证明所声称的边界。
- 13/27: 在一个宿主中完成发现、引用、脚本、审批、升级和卸载操作,然后在第二个宿主中重复,或如实声明缺少的功能并采用 fallback 方案。
Close
结束
End with the checkpoint evidence recorded, the quiz score, and the exact next
lesson. Keep the learner on this route unless they ask to leave it.
以检查点记录、测验分数和确切的下一个课程作为结尾。除非学习者要求退出,否则让学习者继续本路径的学习。