Skip to content

Commit a3191e1

Browse files
committed
updated TOOLS.md
1 parent dd1e19e commit a3191e1

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

pkg/templates/TOOLS.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Tool Execution & Customization
22

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+
35
## Using Tools and Skills
46
To use a tool or skill, you MUST output a bash code block like this:
57
```bash
@@ -15,23 +17,23 @@ Example: to list available skills, output:
1517
yaocc skills list
1618
```
1719

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
2121
**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:
2222
```bash
2323
yaocc skills get <skill_name>
2424
```
2525
Do not attempt to guess the arguments of a custom skill before reading its `SKILL.md` body.
2626

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+
2729
### Creating a Custom Skill from Scratch
2830
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+
2932
```bash
3033
yaocc skills tutorial
3134
```
3235
DO NOT attempt to create a custom skill without reading the tutorial first.
3336

34-
3537
### Execute Shell Commands
3638
```bash
3739
yaocc exec <command>
@@ -42,7 +44,4 @@ Executes a shell command on the host machine.
4244
Example:
4345
```bash
4446
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
47+
```

0 commit comments

Comments
 (0)