|
1 | 1 | --- |
2 | 2 | description: Capture insights, decisions, or learnings to Basic Memory |
3 | 3 | argument-hint: [title] [optional: folder] |
4 | | -allowed-tools: mcp__basic-memory__write_note, mcp__basic-memory__search_notes |
| 4 | +allowed-tools: mcp__basic-memory__write_note, mcp__basic-memory__search_notes, WebFetch |
5 | 5 | --- |
6 | 6 |
|
7 | 7 | # Remember |
@@ -35,9 +35,20 @@ Create a structured note capturing the key insights from our conversation. |
35 | 35 | - `[learning]` - Lessons learned |
36 | 36 | - Relations to link related concepts with `[[WikiLinks]]` |
37 | 37 |
|
38 | | -3. **Save using** `mcp__basic-memory__write_note`: |
| 38 | +3. **Validate the note** (optional, graceful degradation): |
| 39 | + - Try to POST the content to `http://localhost:8000/validate` using WebFetch |
| 40 | + - If the hooks API is available: |
| 41 | + - Use the returned `content` (which may have auto-fixes applied) |
| 42 | + - Note any `warnings` to mention to the user |
| 43 | + - If the API is unavailable (connection refused, timeout): |
| 44 | + - Continue with the original content - validation is optional |
| 45 | + - This step enhances quality but never blocks saving |
| 46 | + |
| 47 | +4. **Save using** `mcp__basic-memory__write_note`: |
39 | 48 | - folder: "$2" or "notes" |
40 | 49 | - Include relevant tags |
41 | 50 | - Project: use "main" unless user specifies otherwise |
42 | 51 |
|
43 | | -4. **Confirm** what was captured and where it was saved. |
| 52 | +5. **Confirm** what was captured and where it was saved. |
| 53 | + - If validation ran, mention any warnings that were found |
| 54 | + - If validation was skipped, that's fine - don't mention it |
0 commit comments