pub struct Skill {
pub argument_hint: Option<String>,
pub command_name: Option<String>,
pub description: String,
pub enabled: bool,
pub name: String,
pub path: Option<String>,
pub plugin_name: Option<String>,
pub source: SkillSource,
pub user_invocable: bool,
}Expand description
Skill metadata available to a session, with name, description, source, enabled/invocable state, path, plugin, and argument hint.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§argument_hint: Option<String>Optional freeform hint describing the skill’s expected arguments, from the argument-hint frontmatter field
command_name: Option<String>Canonical slash command name used to invoke the skill, without the leading ‘/’
description: StringDescription of what the skill does
enabled: boolWhether the skill is currently enabled
name: StringUnique identifier for the skill
path: Option<String>Absolute path to the skill file
plugin_name: Option<String>Name of the plugin that provides the skill, when source is ‘plugin’
source: SkillSourceSource location type (e.g., project, personal-copilot, plugin, builtin)
user_invocable: boolWhether the skill can be invoked by the user as a slash command