Table of Contents

Enum SkillResourceType

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

Specifies the type of resource contained within an Agent Skill directory.

Resources are categorized by their purpose to help agents determine how to use them.

public enum SkillResourceType

Fields

Reference = 0

Markdown documentation or reference material that agents can read when needed. Typically found in the references/ directory.

Script = 1

Executable code (Python, Bash, JavaScript, etc.) that agents can run. Typically found in the scripts/ directory.

Asset = 2

Static assets such as templates, images, or data files. Typically found in the assets/ directory.

Example = 3

Example files demonstrating skill usage or expected outputs.

Other = 4

Any other file type not covered by the above categories.

Examples

Filtering resources by type:

var skill = AgentSkill.Load("./skills/api-designer");

// Get only script resources
var scripts = skill.GetResources(SkillResourceType.Script);

// Get only reference documentation
var refs = skill.GetResources(SkillResourceType.Reference);