> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # loadSkillByName > Look up a skill class in the global registry by name and load it. [ref-addskill]: /docs/server-sdks/reference/typescript/agents/skill-manager/add-skill [ref-registry]: /docs/server-sdks/reference/typescript/agents/skill-registry Look up a registered skill class by name in the global [`SkillRegistry`][ref-registry], construct an instance, and add it via [`addSkill`][ref-addskill]. Returns `[false, message]` if the name is not registered, the instantiation fails, or `addSkill` throws. ## **Parameters** **`skillName`** `string` — required Registered skill name (read from the target class's `SKILL_NAME`). --- **`config`** `SkillConfig` Optional configuration forwarded to the skill constructor. --- ## **Returns** `Promise<[boolean, string]>` — `[true, '']` on success, `[false, errorMessage]` otherwise. ## **Example** ```typescript {1} const [ok, err] = await agent.skillManager.loadSkillByName('datetime'); if (!ok) throw new Error(err); ``` > Look up a skill class in the global registry by name and load it.