Skip to content

完整技能定义:正文按需读取,不缓存

Extends ​

Properties ​

allowedTools ​

allowedTools: string[]

规范里的 allowed-tools,仅供模型参考


compatibility? ​

optional compatibility?: string


content ​

content: string


description ​

description: string

Inherited from ​

SkillSummary.description


dir ​

dir: string

技能根目录绝对路径

Inherited from ​

SkillSummary.dir


invoke ​

invoke: SkillInvocationPolicy

Inherited from ​

SkillSummary.invoke


license? ​

optional license?: string


metadata? ​

optional metadata?: Record<string, string>


name ​

name: string

Inherited from ​

SkillSummary.name


path ​

path: string

SKILL.md 绝对路径

Inherited from ​

SkillSummary.path


resources ​

resources: string[]

相对技能根的附加文件

Inherited from ​

SkillSummary.resources


rootId ​

rootId: string

所属根的 id

Inherited from ​

SkillSummary.rootId

Released under the MIT License with love.