SkillManager
SkillManager handles loading, unloading, validation, and aggregation of skill
tools, hints, global data, and prompt sections. You rarely interact with
SkillManager directly — AgentBase delegates to it internally.
Import it when you need direct control over skill lifecycle outside an agent.
Most users should use AgentBase.addSkill(), AgentBase.removeSkill(), and
AgentBase.listSkills() instead of interacting with SkillManager directly.
Properties
size
The number of currently loaded skill instances (getter).
Methods
Add and initialize a skill instance.
Remove a skill by key or ID.
Remove all instances of a named skill.
Check if a skill is loaded.
Get a skill instance by key or ID.
List all loaded skill instances.
Aggregate tool definitions from all skills.
Aggregate prompt sections from all skills.
Aggregate speech recognition hints.
Merge global data from all skills.
Get metadata for all loaded skills.
Remove all skills.