Class SkillContext
Represents the context of an activated skill.
This class encapsulates all relevant information about a skill activation, including the skill itself, user context, and available resources.
public sealed class SkillContext
- Inheritance
-
SkillContext
- Inherited Members
Properties
- ActivatedAt
Gets or sets the UTC timestamp when the skill was activated.
- AllowedTools
Gets or sets the pre-approved tools for this skill.
Tools listed here may be granted access without per-use approval when the skill is active.
- Instructions
Gets or sets the skill's instructions.
This is the full Markdown content from the body of the SKILL.md file.
- Resources
Gets or sets the available resources bundled with the skill.
Resources include scripts, reference documentation, and assets that can be loaded on demand.
- Skill
Gets or sets the activated skill.
- UserContext
Gets or sets the optional user-provided context for this activation.
This may contain additional information the user provided when invoking the skill, such as specific requirements or preferences.