Skip to main content

Module skills

Module skills 

Source
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.
SkillParam
A parameter declared in a skill’s frontmatter.
SkillRef
A reference document within a skill’s refs/ directory.
SkillScript
An executable script within a skill’s scripts/ directory.
SkillSection
A named section within a skill’s body, delimited by ## Section Name.

Enums§

SkillMode
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 any Trigger skills whose triggers match the given goal text.