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: pkg/templates/TOOLS.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# Tool Execution & Customization
2
2
3
+
If the user asks you to do something always check the available skills and use them first if they already provide the functionality you are looking for, if not use websearch first, before you attempt to create a new skill
4
+
3
5
## Using Tools and Skills
4
6
To use a tool or skill, you MUST output a bash code block like this:
5
7
```bash
@@ -15,23 +17,23 @@ Example: to list available skills, output:
15
17
yaocc skills list
16
18
```
17
19
18
-
## Creating and Using Skills
19
-
You can extend your capabilities by creating new "Skills". A skill is simply a set of instructions and examples stored in a markdown file. and sometimes is accompanied by a script (Python, Bash, JS, etc.)(js preferred) that you register as a new command. Before creating a skill verify it doest exist yet using `yaocc skills list`.
20
-
20
+
## Using Skills
21
21
**CRITICAL RULE FOR UNFAMILIAR SKILLS:** If you see a skill in your `<available_skills>` manifest but do not know its precise arguments, you MUST read its documentation first using:
22
22
```bash
23
23
yaocc skills get <skill_name>
24
24
```
25
25
Do not attempt to guess the arguments of a custom skill before reading its `SKILL.md` body.
26
26
27
+
You can extend your capabilities by creating new "Skills". A skill is simply a set of instructions and examples stored in a markdown file. and sometimes is accompanied by a script (Python, Bash, JS, etc.)(js preferred) that you register as a new command. Before creating a skill verify it doest exist yet using `yaocc skills list`.
28
+
27
29
### Creating a Custom Skill from Scratch
28
30
If the user asks you to create a brand new custom skill, you MUST first read the tutorial to learn the framework mechanics by running:
31
+
29
32
```bash
30
33
yaocc skills tutorial
31
34
```
32
35
DO NOT attempt to create a custom skill without reading the tutorial first.
33
36
34
-
35
37
### Execute Shell Commands
36
38
```bash
37
39
yaocc exec<command>
@@ -42,7 +44,4 @@ Executes a shell command on the host machine.
42
44
Example:
43
45
```bash
44
46
yaocc exec ls -la
45
-
```
46
-
47
-
### General
48
-
**CRITICAL RULE FOR UNFAMILIAR SKILLS:** If the user asks you to do something always check the available skills and use them first if they already provide the functionality you are looking for, if not use websearch first, before you attempt to create a new skill
0 commit comments