From d8075a57755d3574a45ac306baf7c263d2e4e442 Mon Sep 17 00:00:00 2001 From: Bohan Jiang <52446949+Bohan-J@users.noreply.github.com> Date: Tue, 26 May 2026 14:58:12 +0800 Subject: [PATCH] fix(agents): tighten skills-tab intro and drop redundant import hint (#3265) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three small UI cleanups on the agent Skills tab: - The blue "Importing creates a workspace copy that your team can edit and reuse" callout was visual clutter — drop it (and the Info icon import that it relied on). - The intro paragraph conflated two things: the workspace-skills concept (applies to every runtime) and the Allow-locally-installed-skills toggle (only honoured by Claude Code and Codex; verified — none of copilot/cursor/gemini/opencode/openclaw/hermes/pi/kimi/kiro read agent.SkillsLocal). Rewrite the intro to only describe the main concept; the toggle's own local_hint_on/off strings still carry the Claude/Codex caveat where it belongs. - The trimmed intro now fits one line, so flip the header row from items-start to items-center so the text sits on the same baseline as the "Add skill" button instead of clinging to its top edge. --- packages/views/agents/components/tabs/skills-tab.tsx | 11 ++--------- packages/views/locales/en/agents.json | 3 +-- packages/views/locales/zh-Hans/agents.json | 3 +-- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/packages/views/agents/components/tabs/skills-tab.tsx b/packages/views/agents/components/tabs/skills-tab.tsx index 285ba73a4a..94119dc429 100644 --- a/packages/views/agents/components/tabs/skills-tab.tsx +++ b/packages/views/agents/components/tabs/skills-tab.tsx @@ -1,7 +1,7 @@ "use client"; import { useState } from "react"; -import { FileText, Info, Plus, Trash2 } from "lucide-react"; +import { FileText, Plus, Trash2 } from "lucide-react"; import { useQuery, useQueryClient } from "@tanstack/react-query"; import { toast } from "sonner"; import type { Agent, AgentSkillsLocal } from "@multica/core/types"; @@ -76,7 +76,7 @@ export function SkillsTab({ return (
-
+

{t(($) => $.tab_body.skills.intro)}

@@ -92,13 +92,6 @@ export function SkillsTab({
-
- -

- {t(($) => $.tab_body.skills.import_hint)} -

-
-