Table of Contents

Property Resources

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

Resources

Gets all resources bundled with this skill.

Resources are discovered on first access and cached. Content of individual resources is loaded on demand via GetContent(Encoding).

public IReadOnlyList<SkillResource> Resources { get; }

Property Value

IReadOnlyList<SkillResource>

Examples

Listing all resources bundled with a skill:

var skill = AgentSkill.Load("./skills/api-designer");
foreach (var resource in skill.Resources)
{
    Console.WriteLine($"{resource.Type}: {resource.RelativePath}");
}
// Output:
// Template: templates/openapi.yaml
// Reference: references/conventions.md