+ )
+}
diff --git a/web/src/i18n/locales/en.json b/web/src/i18n/locales/en.json
index f22f7cf9..00e43abf 100644
--- a/web/src/i18n/locales/en.json
+++ b/web/src/i18n/locales/en.json
@@ -1013,6 +1013,11 @@
"button": "Share",
"copied": "Copied",
"defaultDescription": "A useful skill"
+ },
+ "installForAgent": {
+ "button": "Install for Agent",
+ "copied": "Agent prompt copied",
+ "prompt": "Please follow the [SkillHub skill installation guide]({{guideUrl}}) to install and use {{skill}}."
}
},
"skillCompare": {
diff --git a/web/src/i18n/locales/ru.json b/web/src/i18n/locales/ru.json
index 216a3791..5b25e789 100644
--- a/web/src/i18n/locales/ru.json
+++ b/web/src/i18n/locales/ru.json
@@ -1078,6 +1078,11 @@
"button": "Поделиться",
"copied": "Скопировано",
"defaultDescription": "Полезный скилл"
+ },
+ "installForAgent": {
+ "button": "Установить для агента",
+ "copied": "Инструкция скопирована",
+ "prompt": "Следуйте [инструкции SkillHub по установке скиллов]({{guideUrl}}), чтобы установить и использовать {{skill}}."
}
},
"skillCompare": {
diff --git a/web/src/i18n/locales/zh.json b/web/src/i18n/locales/zh.json
index f858ce9a..f916762c 100644
--- a/web/src/i18n/locales/zh.json
+++ b/web/src/i18n/locales/zh.json
@@ -1013,6 +1013,11 @@
"button": "分享",
"copied": "已复制",
"defaultDescription": "实用技能"
+ },
+ "installForAgent": {
+ "button": "为 Agent 安装",
+ "copied": "安装指令已复制",
+ "prompt": "请根据 [SkillHub 技能安装指南]({{guideUrl}}),安装并使用 {{skill}}。"
}
},
"skillCompare": {
diff --git a/web/src/pages/skill-detail.tsx b/web/src/pages/skill-detail.tsx
index b17cbf86..179f54fc 100644
--- a/web/src/pages/skill-detail.tsx
+++ b/web/src/pages/skill-detail.tsx
@@ -11,6 +11,7 @@ import type { FileTreeNode } from '@/features/skill/file-tree-builder'
import type { SkillFile } from '@/api/types'
import { InstallCommand } from '@/features/skill/install-command'
import { ShareButton } from '@/features/skill/share-button'
+import { InstallForAgentButton } from '@/features/skill/install-for-agent-button'
import { SkillLabelPanel } from '@/features/skill/skill-label-panel'
import { ComplianceSnapshotPanel } from '@/features/skill/compliance-snapshot-panel'
import {
@@ -1253,6 +1254,12 @@ export function SkillDetailPage() {
description={skill.summary}
/>
+