promote
Save a tracked mistake or solution to CLAUDE.md for permanent reference, ensuring lessons persist beyond the current session.
Instructions
Export a learning to CLAUDE.md for permanent reference
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": {
"id": "<id>"
},
"name": "promote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the mistake or solution to promote | |
| section | No | Section header to add under (default: "## Lessons Learned") | |
| target_file | No | Path to CLAUDE.md (defaults to ./CLAUDE.md) |