You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/google/adk/skills/prompt.py
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,21 @@
21
21
22
22
from . importmodels
23
23
24
+
DEFAULT_SKILL_SYSTEM_INSTRUCTION="""You can use specialized 'skills' to help you with complex tasks. You MUST use the skill tools to interact with these skills.
25
+
26
+
Skills are folders of instructions and resources that extend your capabilities for specialized tasks. Each skill folder contains:
27
+
- **SKILL.md** (required): The main instruction file with skill metadata and detailed markdown instructions.
28
+
- **references/** (Optional): Additional documentation or examples for skill usage.
29
+
- **assets/** (Optional): Templates, scripts or other resources used by the skill.
30
+
31
+
This is very important:
32
+
33
+
1. Use the `list_skills` tool to discover available skills.
34
+
2. If a skill seems relevant to the current user query, you MUST use the `load_skill` tool with `name="<SKILL_NAME>"` to read its full instructions before proceeding.
35
+
3. Once you have read the instructions, follow them exactly as documented before replying to the user. For example, If the instruction lists multiple steps, please make sure you complete all of them in order.
36
+
4. The `load_skill_resource` tool is for viewing files within a skill's directory (e.g., `references/*`, `assets/*`). Do NOT use other tools to access these files.
You can use specialized 'skills' to help you with complex tasks. Each skill has a name and a description listed below:
214
-
{skills_xml}
215
-
216
-
Skills are folders of instructions and resources that extend your capabilities for specialized tasks. Each skill folder contains:
217
-
- **SKILL.md** (required): The main instruction file with skill metadata and detailed markdown instructions.
218
-
- **references/** (Optional): Additional documentation or examples for skill usage.
219
-
- **assets/** (Optional): Templates, scripts or other resources used by the skill.
220
-
221
-
This is very important:
222
-
223
-
1. If a skill seems relevant to the current user query, you MUST use the `load_skill` tool with `name="<SKILL_NAME>"` to read its full instructions before proceeding.
224
-
2. Once you have read the instructions, follow them exactly as documented before replying to the user. For example, If the instruction lists multiple steps, please make sure you complete all of them in order.
225
-
3. The `load_skill_resource` tool is for viewing files within a skill's directory (e.g., `references/*`, `assets/*`). Do NOT use other tools to access these files.
0 commit comments