Use this skill only when the user explicitly wants to do one of the following:
Prerequisite before running any script:
skill/config/config.env must exist and be configured.title for it.title.id or a uniquely identifiable title), run the update command directly.id + title list to the user, let the user choose the target, and then run the update command.Rules:
id or title), run the single-memory read command directly and return that memory's content (memory.content).id + title list to the user, let the user choose the target, and then run the single-memory read command.macOS / Linux:
bash scripts/read-memory.sh
Windows (PowerShell):
powershell -ExecutionPolicy Bypass -File scripts/read-memory.ps1
macOS / Linux:
bash scripts/save-memory.sh --title "<标题>" --content "<记忆内容>"
Windows (PowerShell):
powershell -ExecutionPolicy Bypass -File scripts/save-memory.ps1 -Title "<title>" -Content "<memory content>"
macOS / Linux:
bash scripts/save-memory.sh --id "<memoryId>" --content "<new memory content>"
or
bash scripts/save-memory.sh --id "<memoryId>" --title "<title>" --content "<new memory content>"
Windows (PowerShell):
powershell -ExecutionPolicy Bypass -File scripts/save-memory.ps1 -Id "<memoryId>" -Content "<new memory content>"
or
powershell -ExecutionPolicy Bypass -File scripts/save-memory.ps1 -Id "<memoryId>" -Title "<title>" -Content "<new memory content>"
macOS / Linux:
bash scripts/read-memory.sh --id "<memoryId>"
or
bash scripts/read-memory.sh --title "<title>"
Windows (PowerShell):
powershell -ExecutionPolicy Bypass -File scripts/read-memory.ps1 -Id "<memoryId>"
or
powershell -ExecutionPolicy Bypass -File scripts/read-memory.ps1 -Title "<title>"
{ "ok": true, "id": "...", "createdAt": "...", "updatedAt": "..." }{ "ok": true, "memories": [ { "id": "...", "title": "...", "created_at": "...", "updated_at": "..." } ] }{ "ok": true, "memory": { "id": "...", "title": "...", "content": "...", "metadata": {...}, "created_at": "...", "updated_at": "..." } } or { "ok": true, "memory": null }401 Unauthorized, it means the API Key is invalid or expired, and the user should generate a new API Key.config/config.env.共 1 个版本