Skills
Skills are pluggable capabilities that add tools to your agent. Import a skill class,
instantiate it with optional configuration, and pass the instance to
addSkill(). Each skill registers
one or more SWAIG functions automatically and injects prompt sections, hints, and
global data.
Skills Summary
Configuration
All skills accept configuration via a config object passed to the skill constructor.
Skills with an env_var fallback on a parameter read from process.env when the
parameter is not provided directly.
SWAIG Field Overrides
Override SWAIG function metadata for any skill by including a swaig_fields key:
Multi-Instance Skills
Skills that support multiple instances (SUPPORTS_MULTIPLE_INSTANCES = true)
can be added to the same agent more than once with different tool_name values:
Base Parameters
Every skill inherits these parameters from SkillBase:
swaig_fields
Additional SWAIG fields to merge into each tool definition provided by this skill
(e.g., fillers, secure).
skip_prompt
When true, suppress all prompt sections from this skill.
Extending SkillBase
Create custom skills by extending SkillBase and registering
them with the SkillRegistry.
Defining a Custom Skill
Registering with SkillRegistry
Using a Custom Skill
For more details on the skill base class, see SkillBase.