Expand description
Skill system: file-based capability extension.
Skills are markdown files in specific directories that can be loaded on-demand to extend the agent’s capabilities.
Structs§
- Skill
- A discovered skill with metadata.
- Skill
Param - A parameter declared in a skill’s frontmatter.
- Skill
Ref - A reference document within a skill’s
refs/directory. - Skill
Script - An executable script within a skill’s
scripts/directory. - Skill
Section - A named section within a skill’s body, delimited by
## Section Name.
Enums§
- Skill
Mode - Injection mode for a skill.
Functions§
- discover_
skills - Discover skills in the given search paths.
- parse_
skill_ meta - Parse YAML frontmatter (if present) from skill content.
- skill_
index - Render a compact “available skills” block for the system prompt.
- skills_
for_ injection - Select skills whose mode is
Always, plus anyTriggerskills whose triggers match the given goal text.