load_skill
Loads the full instructions for a named skill, including a listing of its available resource files (references, assets, and sections).
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name |
string |
yes | The name of the skill to load (e.g., "notebook", "websearch") |
Returns
The full skill body, followed by a --- Resources --- section listing
each available resource (e.g. references/guide.md, sections/purpose.md).
For structured skills, the body is auto-composed from all section files at the time the skill was last written. Returns an error message if the skill is not found.
Example
import { LoadSkillTool } from '@johannes.latzel/llm-chat-skill';
const [result] = await tool.execute({ name: 'my_skill' });
// result.status === ResultStatus.Success
// result.result === "Full instructions...\n\n--- Resources ---\n\nreferences/guide.md\nsections/purpose.md"
See also
- Tools: all skill tools
- Registry:
SkillRegistryand configuration - Quick start: create and load the first skill