Save conversation content to local Markdown files using the MCP tool append_note.
Invoke when the user wants to:
ClawHub installs this skill to ~/.openclaw/skills/note-sync/. Complete these steps once.
powershell
git clone https://github.com/your-org/go-note-sync-mcp.git
cd go-note-sync-mcp\mcp-server
go build -o note-sync-mcp.exe
MCP binary path (fixed convention):
text
$NOTE_SYNC_REPO/mcp-server/note-sync-mcp.exe
WSL example: /mnt/e/github/go-note-sync-mcp/mcp-server/note-sync-mcp.exe
~/.openclaw/openclaw.json#Replace <WSL_REPO> with your repo root in WSL (e.g. /mnt/e/github/go-note-sync-mcp).
Replace <SKILL_DIR> with your skill install path (default ~/.openclaw/skills/note-sync).
json
{
"skills": {
"entries": {
"note-sync": {
"enabled": true,
"env": {
"NOTE_SYNC_REPO": "<WSL_REPO>"
}
}
}
},
"mcp": {
"servers": {
"note-sync": {
"command": "<SKILL_DIR>/scripts/note-sync-mcp.sh",
"args": []
}
}
}
}
The bundled launcher {baseDir}/scripts/note-sync-mcp.sh runs <WSL_REPO>/mcp-server/note-sync-mcp.exe.
Alternative: point mcp.servers.note-sync.command directly to <WSL_REPO>/mcp-server/note-sync-mcp.exe.
bash
openclaw gateway restart
openclaw skills info note-sync
openclaw mcp list
Status should be Ready and tool append_note should appear.
Copy-paste template: {baseDir}/references/openclaw.json.example
ArgumentTypeRequiredDescriptiontitlestringyesNote title; used as filenamecontentstringyesNote body (Markdown supported)
Success: 已保存笔记:{title}
Example call:
json
{
"title": "感悟",
"content": "手上有钱,身体健康,才是人生的巅峰。"
}
title from user intent (or use a short category like 感悟 / 待办).append_note with title and content.<repo>/mcp-server/notes/.{baseDir}/references/setup.md{baseDir}/references/tool-reference.md{baseDir}/references/openclaw.json.example