Attach a skill to an agent
attach_skillAttach a skill to an agent so the agent can use it. Give skill as catalog: for a skill from Valet's curated catalog, org: or a bare name for a skill the organization published, and add @v to pin a version; without a pin the agent follows the latest. An org skill must already exist (publish_skill creates one). The agent is rebuilt so the change takes effect. A skill that is already attached answers that nothing changed, without a rebuild; one whose name another attached skill holds is refused with nothing changed. Skills attach to agents only. Requires connecting a Valet account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. The agent's name. | |
| skill | Yes | Required. catalog:<name> for a catalog skill, org:<name> or a bare name for an organization skill, optionally followed by @v<N> to pin a version. | |
| org_name | No | The Valet organization the agent belongs to. Omit to use the organization the account joined first. |