Documentation
¶
Overview ¶
Package skills holds the agent skill files tuios ships, embedded so the copy a binary prints is the copy that was built into it.
A skill fetched from anywhere else can describe commands the running build does not have. Embedding removes that failure mode: `tuios --skill` and skills/tuios/SKILL.md are the same bytes by construction.
The skill is split so an agent loads only what it needs. SKILL.md is the core every agent in a pane reads. Each other file in skills/tuios is a topic, printed by `tuios --skill <topic>`, and the core's last section lists them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var TUIOS string
TUIOS is the core skill that teaches an agent to drive tuios from inside a pane. It is what `tuios --skill` prints.
Functions ¶
func All ¶
func All() string
All returns the core and then every topic, each separated by a blank line. It is the whole skill, for a reader that wants it in one go.
func Lookup ¶
Lookup returns the text `tuios --skill <name>` prints. The empty name and "core" are the core, "all" is the core followed by every topic, and any other name is a topic. An unknown name is an error that lists the topics.
func TopicNames ¶
func TopicNames() []string
TopicNames returns the names Topics carries, in the same order.