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>