Expand description
Skills manager extension.
This module provides:
- Loading skills from a directory tree of
SKILL.mdfiles intoSubAgentinstances. - Reading loaded skill files via the
SkillManagertool.
Each SKILL.md follows the Agent Skills specification:
YAML frontmatter (--- delimiters) with name, description, and optional
license, compatibility, metadata, allowed-tools fields. The Markdown body
becomes the agent’s instructions.
Skill names use kebab-case on disk (e.g. my-skill); they are normalised to
snake_case (my_skill) when loaded as SubAgent instances.
Structs§
- Skill
- A fully-parsed skill: frontmatter + body + derived fields.
- Skill
Args - Arguments for reading a skill via the
SkillManagertool. - Skill
Content Output - Content returned by the
SkillManagertool. - Skill
Frontmatter - YAML frontmatter of a
SKILL.mdfile, following the Agent Skills spec. - Skill
Manager - Manages skills loaded from
SKILL.mdfiles on disk.
Functions§
- find_
skill_ files - Recursively find all
SKILL.mdfiles underdir. - format_
skill_ md - Format a
Skillback into SKILL.md content. - load_
skills_ from_ dir - Load all skills from a directory tree.
- normalise_
skill_ agent_ name - Normalise a kebab-case skill name to snake_case for the
SubAgentregistry. - parse_
skill_ md - Parse a
SKILL.mdfile content into aSkill. - validate_
skill_ name - Validate a skill name per the Agent Skills specification.