1. Skill descriptions matter… like, a lot
Skills can be quite long and involve multiple custom scripts, reference material, and all sorts of other paraphernalia, as needed. If you have a lot of them, that’s a lot for your LLM to store in memory. This can be a lot of tokens! So, the LLM doesn’t do this. Instead, it keeps the name and description of the Skill on hand and checks that against your prompts. This is known as “progressive disclosure”. This means that the name and description of your Skill are probably the most important parts of it! You need to keep both:- concise: this is going to be held in memory every time, so make it short!
- comprehensive: if the LLM can do the task without using your Skill, it will, so avoid ambiguity.
- complementary to the LLM: don’t waste sentences describing things the LLM will know about anyway, like what a “PDF” is.
2. You can develop a Skill after installation
Provided you have the rights and access, there is nothing to stop you iterating on an installed Skill. Perhaps you want to add some reference material, or perhaps you have some speciality context that needs to be added to your workflow when certain factors arise. You can even ask an LLM to edit the Skill in its installed directory if you want. Of course, you should be aware of the licence your Skill came with if you got it from somewhere else before modifying it, but otherwise the flexibility available is unmatched.3. You can build tests into your Skill
It is fairly common for AI advocates to compare Skills and prompting to programming because they are both acts of writing instructions in such a way that a computer can understand them and perform operations. Prompts and Skills are nicely analogous to scripts and functions. However, there is another aspect of programming that you may not be aware is available within Skills: tests! For example, we could take the Skill from earlier and add tests to it, which should be done in the form of anevals.json file within the Skill directory.
acronym_expansion.md
evals.json
This is Part 2 of a 2-part series on AI Skills. If you haven’t read Part 1 you can find it below.