Publish an organization skill
publish_skillCreate or replace an organization skill from files: a SKILL.md and any supporting files, each as a path and its text content. The skill's name and description come from the SKILL.md frontmatter. Publishing under a well-known name, such as governance, security, or design-system, replaces what Valet would otherwise supply for every agent in the organization from the next read on, so do it when the user has asked to change how the organization works, and show them the content first. Publishing under a new name adds a skill the default governance process finds through list_skills when its description applies.
Destructive because it replaces the previous version's content for every reader. Repeating a call with identical content mints no new version and reports deduped. Requires connecting a Valet account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Required. The skill's files as [{path, content}], text only, paths relative to the skill root. Must include SKILL.md, the complete definition with name and description frontmatter. | |
| org_name | No | The Valet organization to publish into. Omit to use the organization the account joined first. |