skill_save
Save how to do a job so you (and the user's other agents) do it right next time: after work that took several tries or steps, when the user corrected how you did something, or when a skill you followed turned out wrong. From an agent's own turn only new skills can be saved: changing an existing one needs the user, so tell them what should change rather than saving a near-copy. Outside a turn, to change one, read it (skill_view), then give old (an exact piece of its text) and new. To make one or rewrite it: name (what the job is, 2 to 5 words, never a date or one person's case), use_when (one line: when it applies) and body (Markdown: ## Steps as numbered steps, ## Watch out for what went wrong). No keys or passwords.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "skill_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new | No | ||
| old | No | ||
| body | No | ||
| name | Yes | ||
| use_when | No |