Saves a user correction so future queries learn from it. Always appends a (question, corrected_sql) pair to the subject area's example library under <artifacts_dir>/<profile>/prompt_examples/<area>/. Additionally, classifies the correction and — when applicable — applies a surgical edit to the semantic model itself (relationship fix, column metadata, or new metric) via the curation engine. Every model edit is validated before write; the validator is the binding gate, and a failed validation reverts. Shows the user a model diff for approval before any model mutation.
$npx -y skills add agamiai/agami-core --skill agami-save-correctionInstalls into the current project.
Run `npx skills use "https://github.com/agamiai/agami-core" --skill "agamiai/agami-core/agami-save-correction"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/agamiai/agami-core" that are relevant to the current task. Run `npx skills add "https://github.com/agamiai/agami-core"` and select the relevant skills, then follow their instructions.