optimize_description
Tune an existing skill's trigger: sharpen its description so it fires at the right times.
Pack-returner: response is {skill_md, references, skill_id, max_iterations}. The agent runs the loop locally with the user to
tune the skill's description (the text that decides when the
skill fires) for trigger accuracy, then persists the winner via
save_skill(source='description_optimization') only after explicit
user approval. Only the description changes; body, outcome, tags, and
sibling files carry forward unchanged. Requires edit access on the
skill.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skill_id | Yes | The skill to act on, identified by its UUID, slug, or name. | |
| max_iterations | No | Optimization loop budget (1 to 1000). Defaults to 10 when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||