pub struct SkillMeta {Show 21 fields
pub name: String,
pub version: String,
pub description: String,
pub author: Option<String>,
pub tools: Vec<String>,
pub providers: Vec<String>,
pub categories: Vec<String>,
pub keywords: Vec<String>,
pub hint: Option<String>,
pub depends_on: Vec<String>,
pub suggests: Vec<String>,
pub license: Option<String>,
pub compatibility: Option<String>,
pub extra_metadata: HashMap<String, String>,
pub allowed_tools: Option<String>,
pub has_frontmatter: bool,
pub format: SkillFormat,
pub source_url: Option<String>,
pub content_hash: Option<String>,
pub pinned_sha: Option<String>,
pub dir: PathBuf,
}Expand description
Structured metadata from skill.toml and/or YAML frontmatter.
Fields§
§name: String§version: String§description: String§tools: Vec<String>Exact tool names this skill covers (e.g., [“ca_business_sanctions_search”])
providers: Vec<String>Provider names this skill covers (e.g., [“complyadvantage”])
categories: Vec<String>Provider categories this skill covers (e.g., [“compliance”])
keywords: Vec<String>§hint: Option<String>§depends_on: Vec<String>Skills that must be transitively loaded with this one
suggests: Vec<String>Informational suggestions (not auto-loaded)
license: Option<String>SPDX license identifier (from frontmatter)
compatibility: Option<String>Compatibility notes (from frontmatter, max 500 chars)
extra_metadata: HashMap<String, String>Arbitrary metadata key-value pairs (from frontmatter metadata: block)
allowed_tools: Option<String>Space-delimited allowed tools (from frontmatter allowed-tools:)
has_frontmatter: boolWhether the skill has YAML frontmatter in SKILL.md
format: SkillFormatHow metadata was sourced
source_url: Option<String>Source URL this skill was installed from
content_hash: Option<String>SHA-256 hash of SKILL.md content at install time
pinned_sha: Option<String>Pinned git SHA (from source@SHA syntax)
dir: PathBufAbsolute path to the skill directory