Property Instructions
Instructions
Gets the Markdown instructions from the body of the SKILL.md file.
These instructions are loaded on first access and cached for subsequent calls. The full instruction content is what the agent receives when the skill is activated.
public string Instructions { get; }
Property Value
Examples
Injecting skill instructions into an agent prompt:
var skill = AgentSkill.Load("./skills/code-review");
string instructions = skill.Instructions;
string prompt = $"Follow these instructions:\n{instructions}\n\nReview this code: ...";