AgentSkill Object
Common fields:
Referenced skill fields (when
type = "skill_reference"):
Inline Skill Fields
Whentype = "inline", the following fields are used instead of skill_name/skill_id:
InlineSkillSource object:
Referenced vs Inline
Identifier Resolution
The platform resolves skill references in this order:- If
skill_idis provided, use it directly - If
skill_nameis provided, look up by name - If
skill_versionis"latest"(default), resolve to the most recent revision - If
skill_versionis a specific string (e.g.,"20260219-abc123"), resolve to that exact version
Available Toolsets
Skill File Spec
Python SDK Helpers
Both functions require the directory to contain a
SKILL.md file. Skill name and description are read from the YAML frontmatter automatically.