AgentSkill 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.
Abstract base class for all agent skills.
public abstract class AgentSkill
type AgentSkill = class
Public MustInherit Class AgentSkill
- Inheritance
-
AgentSkill
- Derived
Remarks
A skill represents a domain-specific capability with instructions, resources, and scripts. Concrete implementations include AgentFileSkill (filesystem-backed) and AgentInlineSkill (code-defined).
Skill metadata follows the Agent Skills specification.
Constructors
| Name | Description |
|---|---|
| AgentSkill() | |
Properties
| Name | Description |
|---|---|
| Frontmatter |
Gets the frontmatter metadata for this skill. |
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. |