Publish a skill from a bundle upload
Creates a skill from a zipped skill directory and returns it. Send the archive as the bundle part of a multipart/form-data body. Its SKILL.md supplies the skill’s document, name, and description; its scripts/ and references/ are mounted into the sandbox for sessions that attach it. To create a document-only skill instead, use managedAgentsCreateSkill. Do not automatically retry an ambiguous transport failure: list skills first, because this operation does not replay a prior response and another submission can create another skill.
Authorizations
Headers
Body
Request body for creating a skill by uploading a zipped skill directory in the bundle part. The document, name and description come from the archive's SKILL.md.
Response
A reusable procedure an agent loads when it judges the procedure relevant. Its name is disclosed in every turn, and its description while the disclosure budget has room; the instructions enter the conversation only when the agent activates it. Updating a skill mints a new immutable SkillVersion.
A reusable procedure an agent loads when it judges the procedure relevant. Its name is disclosed in every turn, and its description while the disclosure budget has room; the instructions enter the conversation only when the agent activates it. Updating a skill mints a new immutable SkillVersion.
When to use this skill: the model routes on it, so write the condition under which the skill applies. It is disclosed to the model in every turn while the disclosure budget has room; past that budget the skills last in prompt order are listed by name only and are unlikely to be chosen.
Length in characters of the newest version's instructions, the body disclosed to the model when it activates the skill. Zero for a skill with no version yet. Instructions are truncated at 64000 bytes of UTF-8 when a session assembles them, which is fewer characters for non-ASCII text.
-9007199254740991 <= x <= 9007199254740991