SkillInlineContent interface

內嵌內容,幫助定義一個簡單技能,但不需要上傳檔案。 遵循 agentskills.io SKILL.md 規範。

屬性

allowed_tools

技能可使用的預先核准工具清單。 實驗性。

compatibility

技能的環境需求或相容性說明。

description

一個人類易讀的技能說明,說明該技能的作用以及何時使用。

instructions

技能指示以 Markdown 格式呈現。 這是 SKILL.md 檔案的正文內容。

license

授權名稱或綁定授權檔案的引用。

metadata

附加屬性的任意鍵值元資料。

屬性詳細資料

allowed_tools

技能可使用的預先核准工具清單。 實驗性。

allowed_tools?: string[]

屬性值

string[]

compatibility

技能的環境需求或相容性說明。

compatibility?: string

屬性值

string

description

一個人類易讀的技能說明,說明該技能的作用以及何時使用。

description: string

屬性值

string

instructions

技能指示以 Markdown 格式呈現。 這是 SKILL.md 檔案的正文內容。

instructions: string

屬性值

string

license

授權名稱或綁定授權檔案的引用。

license?: string

屬性值

string

metadata

附加屬性的任意鍵值元資料。

metadata?: Record<string, string>

屬性值

Record<string, string>