Versions in this module Expand all Collapse all v1 v1.13.0 Apr 18, 2026 Changes in this version + const MaxSkillEntrySize + const MaxSkillLayerSize + func DeriveSkillName(frontmatterName string, prompt artifact.Prompt, modelRef *registry.Reference) string + func DetectInstalledAgents() ([]string, error) + func GetGlobalSkillsDir(agentName string) (string, error) + func GetProjectSkillsDir(agentName, projectDir string) (string, error) + func IsValidAgentName(name string) bool + func ValidAgentNames() []string + type AgentConfig struct + DisplayName string + GlobalDetectDirs func() []string + GlobalSkillsDir func() string + Name string + SkillsDir string + func GetAgentConfig(name string) (AgentConfig, error) + type AgentInstallResult struct + Agent string + Err error + Path string + Skipped bool + type InstallResult struct + Agents []AgentInstallResult + Prompt artifact.Prompt + SkillName string + func InstallSkill(entries []TarEntry, skillName string, prompt artifact.Prompt, ...) InstallResult + func (r InstallResult) Errors() []AgentInstallResult + func (r InstallResult) HasErrors() bool + type SkillFrontmatter struct + Description string + License string + Name string + func ParseSkillFrontmatter(data []byte) *SkillFrontmatter + type SkillInstallOptions struct + Agents []string + IgnoreExisting bool + ModelRef *registry.Reference + Overwrite bool + ProjectDir string + type TarEntry struct + Content []byte + Header *tar.Header + func ReadSkillLayer(tr *tar.Reader) (entries []TarEntry, isSkill bool, frontmatterName string, err error)