AgentFileSkill Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An AgentSkill discovered from a filesystem directory backed by a SKILL.md file.
public sealed class AgentFileSkill : Microsoft.Agents.AI.AgentSkill
type AgentFileSkill = class
inherit AgentSkill
Public NotInheritable Class AgentFileSkill
Inherits AgentSkill
- Inheritance
Properties
| Name | Description |
|---|---|
| Frontmatter |
Gets the frontmatter metadata for this skill. |
| Path |
Gets the directory path where the skill was discovered. |
Methods
| Name | Description |
|---|---|
| GetContentAsync(CancellationToken) |
Gets the full skill content. |
| GetResourceAsync(String, CancellationToken) |
Gets a resource owned by this skill by name. |
| GetScriptAsync(String, CancellationToken) |
Gets a script owned by this skill by name. |