Skip to main content

AgentSkill

@a16njs/models


@a16njs/models / AgentSkill

Interface: AgentSkill

Defined in: types.ts:47

A skill that is activated by description matching. Examples: Cursor rules with description but no globs

Extends

Properties

id

id: string

Defined in: types.ts:24

Unique identifier for this item

Inherited from

AgentCustomization.id


sourcePath

sourcePath: string

Defined in: types.ts:28

Original file path where this was discovered

Inherited from

AgentCustomization.sourcePath


content

content: string

Defined in: types.ts:30

The actual prompt/rule content

Inherited from

AgentCustomization.content


metadata

metadata: Record<string, unknown>

Defined in: types.ts:32

Tool-specific extras that don't fit the standard model

Inherited from

AgentCustomization.metadata


type

type: AgentSkill

Defined in: types.ts:48

The type of customization

Overrides

AgentCustomization.type


description

description: string

Defined in: types.ts:50

What triggers this skill