Table of Contents

Method Clear

Namespace
LMKit.Agents.Skills
Assembly
LM-Kit.NET.dll

Clear()

Removes all skills from the registry.

public void Clear()

Examples

Clearing all skills from the registry:

var registry = new SkillRegistry();
registry.LoadFromDirectory("./skills");
Console.WriteLine($"Before clear: {registry.Count} skills");

registry.Clear();
Console.WriteLine($"After clear: {registry.Count} skills"); // 0 skills