Create a website, app, agent, or skill
create_serviceCreate an empty website, app, agent, or skill in an organization, before publishing to it. This is the first step for anything new: publish_site, publish_app, publish_agent, and publish_skill change a service that exists and refuse a name that does not. Pass kind to say which you mean, and name to choose its name; omit name to have one generated, except for a skill, which needs one. A name another website, app, agent, or skill in the organization holds is refused, as is a create past the organization's limit for that kind. The result names the organization, kind, name, and URL; publish to the name next.
A skill is know-how the organization shares with every member's agent: use kind skill, then publish_skill, when the user wants to share a skill with their team, such as one they keep locally. Its repository starts from a starter SKILL.md, or, for a well-known name such as governance or design-system, from Valet's default, which the organization's skill then replaces. Nothing reaches an agent until it is published. A skill is private at its URL: only members of the organization can open it. With catalog, it instead installs that skill from Valet's curated catalog under name, as the organization's own copy published as its first version. An organization that installed it before gets that copy back, whatever its name, and nothing is installed. Requires connecting a Valet account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Required. What to create: a static website, a Procfile app, an agent, or a skill. | |
| name | No | The service's name. For a website, app, or skill it becomes the first label of its URL. Omit to have one generated; a skill needs one, 3 to 63 lowercase letters, digits, and single hyphens. | |
| catalog | No | For a skill only: the name of a catalog skill to install under name, such as premortem. Omit to create an empty skill. | |
| org_name | No | The Valet organization to create it in. Omit to use the organization the account joined first. | |
| idempotency_key | No | An opaque key of your choosing. Repeating a call with the same key returns the first call's result instead of creating a second service, which makes a retry safe. |