kernel_code_skill_save
Save a working kernel_code_run script by name so it can be rerun with kernel_code_run({ skill, vars }) instead of being rewritten; put changing values in input and list them in params.
Instructions
Save a kernel_code_run script that worked, so it can be run again by name with kernel_code_run({ skill, vars }) instead of being written again. Put the values that change between runs in input and list them in params.
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>",
"description": "<description>",
"script": "<script>"
},
"name": "kernel_code_skill_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Short slug, lowercase letters, digits, - and _ (e.g. `overdue-tasks-by-project`). Saving an existing name replaces its script. | |
| params | No | Inputs the script reads from `input`: name → what to pass. | |
| script | Yes | The kernel_code_run script, reading its inputs from `input`. | |
| description | Yes | What the script does and returns, written so a search finds it. |