Property Skills
Skills
Gets or sets the registry of skills available to the agent.
public SkillRegistry Skills { get; set; }
Property Value
Examples
Working with the skill registry:
using LMKit.Model;
using LMKit.Agents;
using LMKit.Agents.Skills;
using var model = new LM("path/to/model.gguf");
var agent = new Agent(model);
// Set a pre-configured registry
var skills = new SkillRegistry();
skills.LoadFromDirectory("./skills/customer-support");
agent.Capabilities.Skills = skills;
// Check loaded skills
if (agent.Capabilities.Skills != null)
{
Console.WriteLine($"Loaded {agent.Capabilities.Skills.Count} skills");
}
Remarks
Skills provide modular capabilities with specialized instructions and resources. They can be activated manually or automatically based on the conversation context.
Use EnsureSkills() to get the registry and create it if necessary.