diff --git a/en/self-host/use-dify/build/new-agent/build.mdx b/en/self-host/use-dify/build/new-agent/build.mdx index c136b224f..d892c14f0 100644 --- a/en/self-host/use-dify/build/new-agent/build.mdx +++ b/en/self-host/use-dify/build/new-agent/build.mdx @@ -14,7 +14,7 @@ For production, replace [`DIFY_AGENT_SERVER_SECRET_KEY`](/en/self-host/deploy/co From **Agents**, click **Create** > **Create from Blank** and give the agent a name; optionally add a role such as *Research Assistant* and a description. Then you shape everything else in **Configure**. -To create an agent from a DSL file someone shared, choose **Import DSL file** instead. Skills and files aren't included in DSL files. +To create an agent from a shared DSL file, choose **Import DSL file**. [Library skills](/en/self-host/use-dify/build/skills) reattach automatically when your workspace has skills with the same names; embedded skills and files aren't included, so add them after importing. Creating and managing agents requires the Editor role or above. @@ -73,7 +73,7 @@ Click **Add** and choose which kind of skill to add: You can also have the agent create embedded skills for you in [Build mode](#build-by-chatting). -To make a Dify tool or file part of the agent's own capabilities, add it to the agent directly, not inside a skill package. +To make a Dify tool or file part of the agent's own capabilities, add it to the agent directly rather than inside a skill package. ### Files @@ -191,10 +191,9 @@ Community Edition uses file-access controls to limit access to agent and session If your deployment requires strong isolation or strict security or compliance controls, use separately hardened infrastructure or contact Dify to assess an appropriate Cloud or Enterprise option. For Dify Enterprise, [contact sales](https://share-na2.hsforms.com/14-09ff5HS92Sh4m3f4yrcw40s9fk) to learn more. - You can also invite the agent into a workflow's [Agent node](/en/self-host/use-dify/nodes/agent#new-agent) to handle a step. -To share the agent across workspaces, export it as a DSL file. The exported file doesn't include skills and files. +To share the agent across workspaces, export it as a DSL file. Library skills reattach by name when the target workspace has them; embedded skills and files aren't included, so share them alongside. ### Run Limits diff --git a/en/self-host/use-dify/build/skills.mdx b/en/self-host/use-dify/build/skills.mdx index 3df5b7102..25ca71ab5 100644 --- a/en/self-host/use-dify/build/skills.mdx +++ b/en/self-host/use-dify/build/skills.mdx @@ -6,6 +6,8 @@ description: Package a task and its supporting files into a reusable skill, then A *skill* is a self-contained package you build once and reuse. It includes a `SKILL.md` that holds the instructions for one task and tells the agent when to use it, plus any reference materials and scripts the task needs. For the full format, see [Agent Skills](https://agentskills.io/home). +Create, import, and manage your library skills on the **Skills** page. + You can keep up to 500 skills in the library and share them workspace-wide. When you publish an update to a skill, every agent that uses it picks up the latest version. Use a skill in: @@ -13,8 +15,6 @@ Use a skill in: - a [New Agent](/en/self-host/use-dify/build/new-agent/build#skills) app - a [New Agent node](/en/self-host/use-dify/nodes/agent) in a [Workflow app](/en/self-host/use-dify/build/workflow-chatflow) -Create, import, and manage your library skills on the **Skills** page. - Creating and managing skills requires the Editor role or above. @@ -45,9 +45,9 @@ It accepts the following file types: | Type | Examples | |:-----|:---------| | PDF | `.pdf` | -| Word | `.doc`, `.docx` | -| Excel | `.xls`, `.xlsx` | -| PowerPoint | `.ppt`, `.pptx` | +| Word | `.docx` | +| Excel | `.xlsx` | +| PowerPoint | `.pptx` | | RTF | `.rtf` | | Image | `.png`, `.jpg`, `.jpeg`, `.gif`, `.webp`, `.svg` | | Text and data | `.txt`, `.md`, `.csv`, `.json`, `.yaml` | diff --git a/ja/self-host/use-dify/build/new-agent/build.mdx b/ja/self-host/use-dify/build/new-agent/build.mdx index 056b62ae0..7f8ace2eb 100644 --- a/ja/self-host/use-dify/build/new-agent/build.mdx +++ b/ja/self-host/use-dify/build/new-agent/build.mdx @@ -16,7 +16,7 @@ description: Agent を作成し、手動設定またはチャットでの対話 **Agents** ページで **作成** > **最初から作成** をクリックし、Agent に名前を付けます。必要に応じて、「リサーチアシスタント」のようなロールや説明も入力します。残りはすべて **設定** で形づくります。 -共有された DSL ファイルから Agent を作成する場合は、代わりに **DSL ファイルをインポート** を選択します。DSL ファイルにスキルとファイルは含まれません。 +共有された DSL ファイルから Agent を作成するには、**DSL ファイルをインポート** を選択します。ワークスペースの [スキルライブラリ](/ja/self-host/use-dify/build/skills) に同名のスキルがあれば、自動的に再関連付けされます。埋め込みスキルとファイルは含まれないため、インポート後に追加してください。 Agent の作成と管理には、エディター以上のロールが必要です。 @@ -191,7 +191,7 @@ Community Edition では、同一の Agent を複数のエンドユーザーに ワークフローの [Agent ノード](/ja/self-host/use-dify/nodes/agent#新しい-agent) に Agent を招いて、1 ステップを任せることもできます。 -Agent をワークスペース間で共有するには、DSL ファイルとしてエクスポートします。エクスポートされるファイルにスキルとファイルは含まれません。 +Agent をワークスペース間で共有するには、DSL ファイルとしてエクスポートします。同名のスキルがあるワークスペースでは、スキルライブラリのスキルが自動的に再関連付けされます。埋め込みスキルとファイルは含まれないため、一緒に共有してください。 ### 実行の制限 diff --git a/ja/self-host/use-dify/build/skills.mdx b/ja/self-host/use-dify/build/skills.mdx index 8ca9dcdea..54b25e62f 100644 --- a/ja/self-host/use-dify/build/skills.mdx +++ b/ja/self-host/use-dify/build/skills.mdx @@ -8,6 +8,8 @@ description: 1 つのタスクと関連ファイルを再利用可能なスキ スキルは一度作成すれば繰り返し使える、自己完結型のパッケージです。`SKILL.md` には、1 つのタスクの手順と Agent がそのスキルを使うタイミングを記述します。タスクに必要な参考資料やスクリプトも含められます。完全な形式は [Agent Skills](https://agentskills.io/home) を参照してください。 +**Skills** ページで、スキルライブラリのスキルを作成、インポート、管理します。 + スキルライブラリには最大 500 個のスキルを保存し、ワークスペース全体で共有できます。スキルの更新を公開すると、そのスキルを利用するすべての Agent に最新バージョンが反映されます。 スキルは次の場所で利用できます: @@ -15,8 +17,6 @@ description: 1 つのタスクと関連ファイルを再利用可能なスキ - [新しい Agent アプリ](/ja/self-host/use-dify/build/new-agent/build#スキル) - [Workflow アプリ](/ja/self-host/use-dify/build/workflow-chatflow) 内の [新しい Agent ノード](/ja/self-host/use-dify/nodes/agent) -**Skills** ページで、スキルライブラリのスキルを作成、インポート、管理します。 - スキルの作成と管理には、エディター以上のロールが必要です。 @@ -47,9 +47,9 @@ Skill Builder とチャットすると、スキルの下書きを作成できま | 種類 | 例 | |:-----|:---| | PDF | `.pdf` | -| Word | `.doc`、`.docx` | -| Excel | `.xls`、`.xlsx` | -| PowerPoint | `.ppt`、`.pptx` | +| Word | `.docx` | +| Excel | `.xlsx` | +| PowerPoint | `.pptx` | | RTF | `.rtf` | | 画像 | `.png`、`.jpg`、`.jpeg`、`.gif`、`.webp`、`.svg` | | テキストとデータ | `.txt`、`.md`、`.csv`、`.json`、`.yaml` | diff --git a/zh/self-host/use-dify/build/new-agent/build.mdx b/zh/self-host/use-dify/build/new-agent/build.mdx index 5e930dd67..83fc42863 100644 --- a/zh/self-host/use-dify/build/new-agent/build.mdx +++ b/zh/self-host/use-dify/build/new-agent/build.mdx @@ -16,7 +16,7 @@ description: 创建 Agent 并塑造它的能力,可逐项手动配置,也可 在 **Agents** 页面点击 **创建** > **创建空白应用**,为 Agent 取名,也可选填角色(如「研究助理」)和描述。其余一切都在 **配置** 中完成。 -若要用他人分享的 DSL 文件创建 Agent,改选 **导入 DSL 文件** 即可。DSL 文件不包含 Skill 和文件。 +若要通过共享的 DSL 文件创建 Agent,选择 **导入 DSL 文件**。工作空间的 [Skill 库](/zh/self-host/use-dify/build/skills) 中若有同名 Skill,会自动重新关联;内嵌 Skill 和文件不随 DSL 传递,导入后需自行添加。 创建和管理 Agent 需要「编辑」及以上角色。 @@ -191,7 +191,7 @@ Agent 工作时会直接修改面板中的配置,所有更改都会列在 **Bu 你也可将 Agent 请进工作流的 [Agent 节点](/zh/self-host/use-dify/nodes/agent#新-agent),负责其中一步。 -若要把 Agent 分享到其他工作空间,可将它导出为 DSL 文件。导出的文件不包含 Skill 和文件。 +若要把 Agent 分享到其他工作空间,可将它导出为 DSL 文件。对方工作空间有同名 Skill 时,Skill 库中的 Skill 会自动重新关联;内嵌 Skill 和文件不包含在内,需一同分享。 ### 运行限制 diff --git a/zh/self-host/use-dify/build/skills.mdx b/zh/self-host/use-dify/build/skills.mdx index 54aaa33b9..e8284f74e 100644 --- a/zh/self-host/use-dify/build/skills.mdx +++ b/zh/self-host/use-dify/build/skills.mdx @@ -8,6 +8,8 @@ description: 将单项任务及其配套文件打包为可复用的 Skill,并 Skill 是一次构建、重复使用的独立内容包。其中的 `SKILL.md` 包含一项任务的执行说明,并告诉 Agent 何时使用;还可加入该任务所需的参考资料和脚本。完整格式参见 [Agent Skills](https://agentskills.io/home)。 +在 **Skills** 页面创建、导入和管理 Skill 库中的 Skill。 + Skill 库最多可保存 500 个 Skill,并在整个工作空间内共享。发布 Skill 更新后,所有使用它的 Agent 都会采用最新版本。 Skill 可用于: @@ -15,8 +17,6 @@ Skill 可用于: - [新 Agent 应用](/zh/self-host/use-dify/build/new-agent/build#skill) - [Workflow 应用](/zh/self-host/use-dify/build/workflow-chatflow) 中的 [新 Agent 节点](/zh/self-host/use-dify/nodes/agent) -在 **Skills** 页面创建、导入和管理 Skill 库中的 Skill。 - 创建和管理 Skill 需要编辑及以上角色。 @@ -47,9 +47,9 @@ Skill 可用于: | 类型 | 示例 | |:-----|:-----| | PDF | `.pdf` | -| Word | `.doc`、`.docx` | -| Excel | `.xls`、`.xlsx` | -| PowerPoint | `.ppt`、`.pptx` | +| Word | `.docx` | +| Excel | `.xlsx` | +| PowerPoint | `.pptx` | | RTF | `.rtf` | | 图片 | `.png`、`.jpg`、`.jpeg`、`.gif`、`.webp`、`.svg` | | 文本和数据 | `.txt`、`.md`、`.csv`、`.json`、`.yaml` |