Create a skill from a document
Creates a skill from a SKILL.md document and returns it. The document’s frontmatter supplies the skill’s name and description, which are validated against the Agent Skills standard: the name must be lowercase letters, digits, and single hyphens, and a description is required because it is the only signal the model has when deciding whether to use the skill. To create one from a zipped directory instead, use managedAgentsPublishSkillBundleV2. 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
Optional replay-protection key scoped to the verified tenant, principal, operation and decoded resource path. Equivalent JSON formatting and field order use the same fingerprint. Matching retries replay the original 201 result and Location; conflicting reuse returns 409 idempotency_conflict and an active request returns 409 idempotency_in_progress. Completed receipts last approximately 24 hours and pending claims may be reclaimed after approximately 1 hour. No deduplication is guaranteed after expiry.
1 - 256^[!-~]+$Body
Response
Created