save_wisdom
Save lessons, patterns, and decisions to persistent memory for future sessions. Attach wisdom to files or sections, and set scope for project or global reuse.
Instructions
Persist a lesson, pattern, caution, edge case, or decision so future sessions can benefit. Save when you discover something non-obvious: a tricky bug, an important constraint, a pattern that works well, or a decision rationale. Use file_path for file-specific wisdom (creates sidecar), section for broader project area knowledge, or scope:"global" for cross-project patterns. Keep entries concise and actionable — future you will thank present you.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Scope: "project" (default) or "global" (cross-project, saved to ~/.claude/wisdom/). | |
| content | Yes | The wisdom to save. Should be concise and actionable. | |
| section | No | Project section name (writes to .wisdom/sections/<name>.md). | |
| keywords | No | Keywords for indexing. Helps palette find this wisdom later. | |
| file_path | No | File to attach wisdom to (creates <file>.wisdom sidecar). | |
| wisdom_type | No | Type of wisdom. Default: lesson. |