ACP v2 (Preview) TypeScript SDK — UNSTABLE - v2.12.1
    Preparing search index...

    Type Alias SkillExperimental

    UNSTABLE

    This capability is not part of the spec yet, and may be removed or changed at any point.

    An Agent Skill the user can invoke.

    The type discriminator value is skill.

    The Client invokes a skill with a skill content block that names it. The /name syntax applies only to command entries. An Agent that sends skill entries MUST advertise the session.prompt.skill capability.

    Agents MUST only send skill entries when the Client advertised the session.commands.skill Client capability. Agents SHOULD advertise only skills the user can invoke.

    type Skill = {
        name: string;
        description: string;
        path?: AbsolutePath | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    name: string

    Plain-text skill name. The Client uses it to refer to the skill in a skill content block.

    MUST NOT contain whitespace and MUST be unique within the command list, across commands and skills. It need not match the name in the skill's frontmatter.

    description: string

    Human-readable description of what the skill does, shown to users. May contain Markdown.

    path?: AbsolutePath | null

    The absolute path of the file that defines the skill, normally its SKILL.md, on the machine the Agent runs on.

    Omitted and null are equivalent and mean the skill has no such file, as with a skill that is built into the Agent or served by an MCP server.

    _meta?: { [key: string]: unknown } | null

    The _meta property is reserved by ACP to allow Clients and Agents to attach additional metadata to their interactions. Omitted and null are equivalent and mean no metadata. Implementations MUST NOT assign meaning to keys they do not recognize.

    See protocol docs: Extensibility