Interface SkillInstallSpec

Installation specification for a skill dependency.

interface SkillInstallSpec {
    id?: string;
    kind: SkillInstallKind;
    label?: string;
    bins?: string[];
    os?: readonly string[];
    formula?: string;
    package?: string;
    module?: string;
    url?: string;
    archive?: string;
    extract?: boolean;
    stripComponents?: number;
    targetDir?: string;
}

Properties

id?: string

Unique identifier for this install spec

Installation method

label?: string

Human-readable label

bins?: string[]

Binary names that should exist after install

os?: readonly string[]

Limit to specific OS platforms

formula?: string

Homebrew formula name

package?: string

Package name (apt package, npm package, uv tool package)

module?: string

Go module spec for go install (e.g. golang.org/x/tools/cmd/goimports@latest)

url?: string

Download URL

archive?: string

Archive filename for extraction

extract?: boolean

Whether to extract the archive

stripComponents?: number

Number of path components to strip during extraction

targetDir?: string

Target directory for extracted files