SimpleAgentSkill
@a16njs/models / SimpleAgentSkill
Interface: SimpleAgentSkill
Defined in: types.ts:61
A simple skill that is activated by description matching. Examples: Cursor rules with description but no globs, simple SKILL.md files
For full AgentSkills.io standard skills with resources and files, use AgentSkillIO instead.
Extends
Properties
id
id:
string
Defined in: types.ts:31
Unique identifier for this item
Inherited from
version
version:
string
Defined in: types.ts:35
IR version (required, e.g., 'v1beta1')
Inherited from
sourcePath?
optionalsourcePath:string
Defined in: types.ts:37
Original file path where this was discovered (optional, omitted in IR format)
Inherited from
relativeDir?
optionalrelativeDir:string
Defined in: types.ts:39
Relative directory path for preserving directory structure (optional)
Inherited from
AgentCustomization.relativeDir
content
content:
string
Defined in: types.ts:41
The actual prompt/rule content
Inherited from
metadata
metadata:
Record<string,unknown>
Defined in: types.ts:43
Tool-specific extras that don't fit the standard model (transient, not serialized in IR)
Inherited from
type
type:
SimpleAgentSkill
Defined in: types.ts:62
The type of customization
Overrides
name
name:
string
Defined in: types.ts:64
Invocation name — the directory name (or rule filename) used for slash-command invocation (e.g., "banana" for /banana). Required for skills to invoke properly.
description
description:
string
Defined in: types.ts:66
What triggers this skill