record_error
Capture user corrections to create persistent guidelines in CLAUDE.md, preventing repeated errors in future interactions.
Instructions
Record a correction from the user and save it as a learned rule in CLAUDE.md. Call this whenever the user corrects you.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error_description | Yes | What was wrong | |
| correction | Yes | What is correct | |
| rule | Yes | Derived guideline, e.g. "ALWAYS use X instead of Y" | |
| project_dir | No | Current working directory (to find project CLAUDE.md) |