capture_lesson
Capture structured lessons from development experiences by documenting problems and solutions, or extract insights automatically from raw text.
Instructions
Capture lessons: inline (structured fields) or batch (raw text via worker).
Inline mode (default): provide title, context, problem, solution. Batch mode: provide text to extract lessons automatically via worker.
Args: project: Project slug (directory under 10_projects/). title: Short descriptive title (inline mode). context: What you were doing (inline mode). problem: What went wrong or what decision was needed (inline mode). solution: What fixed it or what was decided (inline mode). tags: Optional tags (e.g. ["python", "testing"]). text: Raw text to extract lessons from (batch mode). min_confidence: Minimum confidence for batch extraction. Default 0.7. max_lessons: Maximum lessons to extract in batch mode. Default 5.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | ||
| title | No | ||
| context | No | ||
| problem | No | ||
| solution | No | ||
| tags | No | ||
| text | No | ||
| min_confidence | No | ||
| max_lessons | No |