turn/start.capabilities.
Methods
| Method | Params | Result | Purpose |
|---|---|---|---|
skills/list | SkillListParams | SkillListResponse | List installed skills and optional health/policy state. |
skills/upload/start | SkillsUploadStartParams | SkillsUploadStartResponse | Start an archive upload session. |
skills/upload/finish | SkillsUploadFinishParams | SkillsUploadFinishResponse | Finalize an upload session. |
skills/upload/abort | SkillsUploadAbortParams | SkillsUploadAbortResponse | Abort an upload session. |
skills/install | SkillsInstallParams | SkillsInstallResponse | Install a skill from a finished upload. |
skills/update | SkillsUpdateParams | SkillsUpdateResponse | Replace an installed skill from a finished upload. |
skills/uninstall | SkillsUninstallParams | SkillsUninstallResponse | Remove an installed skill. |
skills/health | SkillsHealthParams | SkillsHealthResponse | Inspect validation, dependency, trust, and audit state. |
skills/policy/list | SkillsPolicyListParams | SkillsPolicyListResponse | List workspace policy overrides. |
skills/policy/set | SkillsPolicySetParams | SkillsPolicySetResponse | Enable/disable a skill or implicit invocation. |
Listing Skills
snapshot_version as an invalidation aid. When the gateway sends skills/changed, refresh the list and replace the local catalog.
Policy Model
Skills have two separate policy switches:| Field | Meaning |
|---|---|
enabled | Whether the skill can be used at all. Disabled skills stay installed but are not exposed to agents. |
allow_implicit_invocation | Whether the gateway may include the skill as an automatically available capability. When false, the skill can still be selected explicitly by the user or client flow. |
turn/start.capabilities flow instead of flipping implicit invocation automatically.
Upload Flow
Skill installation starts with a compressed archive upload. The supported archive format is currentlytar_gz.
Binary Chunk Frame
A skill upload chunk frame has this layout:| Bytes | Content |
|---|---|
0..4 | Magic bytes: PSU1 |
4..8 | Big-endian u32 header length. |
next header_len | UTF-8 JSON SkillsUploadChunkHeader. |
| remaining bytes | Raw archive chunk bytes. |
next_offset for resumable upload UI and retry from the acknowledged offset after reconnect.
Finishing Or Aborting Upload
skills/upload/abort with workspace_id and upload_id.
Installing A Skill
Installation consumes a finished upload. The only lifecycle source currently accepted by the public protocol isuploaded_archive.
skills/update for replacing an existing skill. It accepts slug, source_kind, source, and optional expected_previous_fingerprint for optimistic concurrency.
After install, use skills/policy/set only when changing policy. The default explicit-only state is enough for composer selection.
Setting Policy
allow_implicit_invocation without enabled.
Health
skills/health is for detailed diagnostics. Pass an empty skills array to inspect all skills, or pass exact { slug, source_kind } targets.
Notifications
| Event | Meaning |
|---|---|
skills/changed | Installed skills or policy changed; refresh skills/list. |
skills/upload/chunk_ack | Upload chunk was accepted; continue from next_offset. |