AgentSkill Object
TheAgentSkill object supports two modes: referenced (server-stored) and inline (sent per-request).
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
Toolsets define what capabilities are available to the agent when executing a skill:Skill File Spec
Python SDK Helpers
The Python SDK provides two convenience functions for working with local skill directories:
Both functions require the directory to contain a
SKILL.md file. Skill name and description are read from the YAML frontmatter automatically.