From 6df421fad99486d54fc1383805d63c12933176eb Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Tue, 6 Jan 2026 18:02:59 +0530 Subject: [PATCH] remove system message skill --- core/llm/skills.ts | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 core/llm/skills.ts diff --git a/core/llm/skills.ts b/core/llm/skills.ts deleted file mode 100644 index fdb6a27cc..000000000 --- a/core/llm/skills.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { Skill } from ".."; - -export function getSystemMessageWithSkills( - systemMessage: string, - skills: Skill[], -) { - const lines = [ - "You have access to skills listed in ``. When a task matches a skill's description, read its SKILL.md file to get detailed instructions.", - "", - "", - ]; - for (const skill of skills) { - lines.push(" "); - lines.push(` ${skill.name}`); - lines.push(` ${skill.description}`); - lines.push(" "); - } - lines.push(""); - - console.log("debug1 with skills", lines.join("\n")); - - return systemMessage + "\n\n" + lines.join("\n"); -}