From a5c422e82fb1ce491cff8d761a44710d3203d9cc Mon Sep 17 00:00:00 2001 From: Alex Alecu Date: Tue, 14 Apr 2026 19:34:13 +0300 Subject: [PATCH] fix(vscode): hide remove button for built-in skills --- .../src/components/settings/AgentBehaviourTab.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/kilo-vscode/webview-ui/src/components/settings/AgentBehaviourTab.tsx b/packages/kilo-vscode/webview-ui/src/components/settings/AgentBehaviourTab.tsx index ed5583a9e3c..a583c71f0fc 100644 --- a/packages/kilo-vscode/webview-ui/src/components/settings/AgentBehaviourTab.tsx +++ b/packages/kilo-vscode/webview-ui/src/components/settings/AgentBehaviourTab.tsx @@ -835,10 +835,12 @@ const AgentBehaviourTab: Component = () => { }} >
{skill.description}
-
{skill.location}
+ {skill.location !== "builtin" &&
{skill.location}
} - confirmRemoveSkill(skill)} /> + {skill.location !== "builtin" && ( + confirmRemoveSkill(skill)} /> + )} )}