diff --git a/packages/core/src/skill/instructions.ts b/packages/core/src/skill/instructions.ts index 2cac66a4454..241e8f80150 100644 --- a/packages/core/src/skill/instructions.ts +++ b/packages/core/src/skill/instructions.ts @@ -26,6 +26,7 @@ const render = (skills: ReadonlyArray) => [ "Skills provide specialized instructions and workflows for specific tasks.", "Use the skill tool to load a skill when a task matches its description.", + "The user may also invoke a skill directly. When that happens, its instructions appear in the conversation as a block, the same shape the skill tool returns. A skill that is already present this way does not need to be invoked again.", ...(skills.length === 0 ? ["No skills are currently available."] : ["", ...entries(skills), ""]), diff --git a/packages/core/test/skill/instructions.test.ts b/packages/core/test/skill/instructions.test.ts index 64f263ae645..d13fc771fff 100644 --- a/packages/core/test/skill/instructions.test.ts +++ b/packages/core/test/skill/instructions.test.ts @@ -59,6 +59,7 @@ describe("SkillInstructions", () => { [ "Skills provide specialized instructions and workflows for specific tasks.", "Use the skill tool to load a skill when a task matches its description.", + "The user may also invoke a skill directly. When that happens, its instructions appear in the conversation as a block, the same shape the skill tool returns. A skill that is already present this way does not need to be invoked again.", "", " ", " effect",