update_skill
Update metadata or regenerate the SKILL.md for an existing latent skill candidate; supply the latent ID and edited Markdown to preserve custom content.
Instructions
Update metadata and rewrite generated Markdown for an existing latent skill. Use for latent candidate edits; use update_canonical_skill for direct canonical content replacement. Requires initialized project memory and a latent candidate ID. Omitted metadata values retain their stored fields, but omitting raw_markdown regenerates the entire SKILL.md from metadata and can discard a customized body even when no other edit is supplied. To retain custom content, read the existing file and supply complete edited raw_markdown with compatible frontmatter. Writes use the safe pipeline and may synchronize recorded native copies while preserving divergent native content. Returns candidate, warnings, and audit/snapshot references. Repeated calls can create additional audit records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Replacement latent skill display name. Omitted keeps the existing name; a supplied name must be nonempty. | |
| triggers | No | Replacement trigger phrases. Omitted keeps existing triggers; an empty list clears them. | |
| description | No | Replacement latent workflow purpose. Omitted keeps the existing description; supplied text must be nonempty. | |
| raw_markdown | No | Complete replacement generated SKILL.md content, validated before writing. Omitted regenerates the whole file from metadata and can discard custom body content; supply edited full Markdown to retain it. | |
| latent_skill_id | Yes | Exact latent candidate ID returned by track_latent_skill, list_skills, or recommend_skills; not a canonical skill slug or file path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||