pub struct SkillFrontmatter {Show 16 fields
pub name: Option<String>,
pub description: Option<String>,
pub argument_hint: Option<String>,
pub disable_model_invocation: bool,
pub user_invocable: bool,
pub allowed_tools: Option<Vec<String>>,
pub model: Option<String>,
pub context: Option<SkillContext>,
pub agent: Option<String>,
pub hooks: Option<SkillHooks>,
pub version: Option<String>,
pub author: Option<String>,
pub price: Option<PriceModel>,
pub requires_approval: bool,
pub tags: Vec<String>,
pub min_thulp_version: Option<String>,
}Expand description
YAML frontmatter configuration for a skill file.
All fields are optional - skills can be defined with just content and no frontmatter at all.
Fields§
§name: Option<String>Display name for the skill (defaults to directory name).
description: Option<String>What the skill does and when to use it.
argument_hint: Option<String>Hint shown during autocomplete for expected arguments.
disable_model_invocation: boolPrevent agent from automatically invoking this skill.
user_invocable: boolWhether users can invoke this skill directly (default: true).
allowed_tools: Option<Vec<String>>Tools the skill is allowed to use. If None, all tools are allowed.
model: Option<String>Model to use when this skill is active.
context: Option<SkillContext>Execution context: “fork” for subagent, “inline” for current context.
agent: Option<String>Which subagent type to use when context is “fork”.
hooks: Option<SkillHooks>Hooks scoped to this skill’s lifecycle.
version: Option<String>Skill version (semver).
Author identifier.
price: Option<PriceModel>Pricing model for marketplace.
requires_approval: boolWhether this skill requires user approval before execution.
Tags for categorization.
min_thulp_version: Option<String>Minimum Thulp version required.
Trait Implementations§
Source§impl Clone for SkillFrontmatter
impl Clone for SkillFrontmatter
Source§fn clone(&self) -> SkillFrontmatter
fn clone(&self) -> SkillFrontmatter
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more