From 20088c3f63ebf496466710405939eaa02e0dcbb3 Mon Sep 17 00:00:00 2001 From: kicer Date: Tue, 1 Sep 2026 12:38:55 +0800 Subject: [PATCH] =?UTF-8?q?prmopt=E5=8A=A0=E5=85=A5skill=E7=9B=B8=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/server/templates/system-prompt.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/server/templates/system-prompt.txt b/app/server/templates/system-prompt.txt index 10c35e1..b8bbd89 100644 --- a/app/server/templates/system-prompt.txt +++ b/app/server/templates/system-prompt.txt @@ -24,6 +24,15 @@ You have a dedicated working directory for each conversation. All file paths in - Follow the parameter schemas exactly. - For terminal, avoid shell substitutions; use literal values. Set a timeout and limit output if needed. +## Skill Usage + +Before starting any task, you MUST call the `list_skills` tool to check if an existing skill can handle the request. + +- If a matching skill is found, call `get_skill_info` to understand its parameters, then use `run_skill` to execute it. +- Only if no skill matches, proceed with other tools or write your own solution. + +Skipping this step may lead to duplicated work and inefficient solutions. + ## File Management - Work inside the working directory. Use clear file names.