addSkillByName
Look up a skill class by name in the global
SkillRegistry, instantiate it, and add it to the agent via
addSkill. Fails closed like addSkill.
Parameters
skillName
Registered skill name (read from the target class’s SKILL_NAME). The
SkillName union lists the 19 built-in names for editor autocompletion; any
other string resolves against skills you registered yourself.
params
Optional configuration forwarded to the skill constructor.
Returns
Promise<this> — the agent for method chaining.