Table of Contents

Method Remove

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

Remove(string)

Removes a skill from the registry.

public bool Remove(string name)

Parameters

name string

The name of the skill to remove.

Returns

bool

true if the skill was removed; otherwise, false.

Examples

Removing a skill from the registry:

var registry = new SkillRegistry();
registry.LoadFromDirectory("./skills");

if (registry.Remove("deprecated-skill"))
{
    Console.WriteLine("Skill removed successfully");
}