con un clic
edit-note
// Interactively edit Basic Memory notes using MCP tools - view, modify, and update notes in a conversational workflow (works with cloud and local)
// Interactively edit Basic Memory notes using MCP tools - view, modify, and update notes in a conversational workflow (works with cloud and local)
| name | edit-note |
| description | Interactively edit Basic Memory notes using MCP tools - view, modify, and update notes in a conversational workflow (works with cloud and local) |
This skill enables interactive editing of Basic Memory notes using MCP tools. It works with both Basic Memory Cloud and local installations since it operates through the MCP interface rather than direct file access.
Use this skill when:
First, retrieve the note to show the user what exists:
mcp__basic-memory__read_note(
identifier="Note Title or permalink",
project="main" # or specified project
)
Present the note content clearly, highlighting:
Ask clarifying questions if needed:
Use the appropriate edit_note operation:
Append - Add content to the end:
mcp__basic-memory__edit_note(
identifier="note-title",
operation="append",
content="\n\n## New Section\n\nNew content here...",
project="main"
)
Prepend - Add content to the beginning:
mcp__basic-memory__edit_note(
identifier="note-title",
operation="prepend",
content="# Updated Header\n\n",
project="main"
)
Find and Replace - Replace specific text:
mcp__basic-memory__edit_note(
identifier="note-title",
operation="find_replace",
find_text="old text to find",
content="new replacement text",
project="main"
)
Replace Section - Replace an entire section by heading:
mcp__basic-memory__edit_note(
identifier="note-title",
operation="replace_section",
section="## Section Heading",
content="## Section Heading\n\nCompletely new section content...",
project="main"
)
After editing, fetch and display the updated note:
mcp__basic-memory__read_note(
identifier="note-title",
project="main"
)
Highlight what changed so the user can verify.
| Operation | Use Case | Required Parameters |
|---|---|---|
append | Add to end | content |
prepend | Add to beginning | content |
find_replace | Change specific text | find_text, content |
replace_section | Rewrite a section | section, content |
mcp__basic-memory__edit_note(
identifier="note-title",
operation="find_replace",
find_text="## Observations",
content="## Observations\n\n- [new-category] New observation here #tag",
project="main"
)
Or append to observations section:
mcp__basic-memory__edit_note(
identifier="note-title",
operation="append",
content="\n- [insight] Additional insight discovered #tag",
project="main"
)
mcp__basic-memory__edit_note(
identifier="note-title",
operation="find_replace",
find_text="## Relations",
content="## Relations\n\n- relates-to [[New Related Note]]",
project="main"
)
mcp__basic-memory__edit_note(
identifier="note-title",
operation="find_replace",
find_text="- [decision] Old decision text",
content="- [decision] Updated decision with new context #updated",
project="main"
)
mcp__basic-memory__edit_note(
identifier="note-title",
operation="replace_section",
section="## Context",
content="## Context\n\nCompletely rewritten context explaining the new situation...",
project="main"
)
For complex edits, work iteratively:
This keeps the user informed and allows course correction.
[category] prefix format- relation-type [[Target]] formatUser: "Edit my note about the async client pattern - add an observation about testing"
Claude:
User: "That the context manager pattern makes mocking easier in tests"
Claude:
edit_note with append to add:
- [testing] Context manager pattern simplifies mocking in unit tests #testabilitySchema lifecycle management for Basic Memory: discover unschemaed notes, infer schemas, create and edit schema definitions, validate notes, and detect drift. Use when working with structured note types (Task, Person, Meeting, etc.) to maintain consistency across the knowledge graph.
Task management via Basic Memory schemas: create, track, and resume structured tasks that survive context compaction. Uses BM's schema system for uniform notes queryable through the knowledge graph.
Resume previous work by building context from Basic Memory knowledge graph using memory URLs and recent activity
Capture the meaningful context of a Claude Code thread into a single coherent Basic Memory note. On subsequent invocations within the same thread (identified by the JSONL session UUID) the same note is rewritten, not appended.
Help organize, link, and maintain the Basic Memory knowledge graph - find orphan notes, suggest relations, identify duplicates, and improve overall knowledge structure
Decide where a new note belongs in a Basic Memory project — which folder, matching project conventions read from a unified config file (basic-memory.md). Triggered automatically by a PreToolUse hook matching any MCP basic-memory write_note tool.