Install
openclaw skills install aicoo-snapshotsUse this skill when the user wants to save a version of a note, create a backup before editing, list previous versions, restore a note to an earlier state, or manage note history. Triggers on: 'save version', 'snapshot', 'backup note', 'restore', 'rollback', 'version history', 'undo changes', 'previous version'.
openclaw skills install aicoo-snapshotsSave, list, and restore note versions using Aicoo OS endpoints.
AICOO_API_KEY must be sethttps://www.aicoo.io/api/v1GET /api/v1/os/snapshots/{noteId}POST /api/v1/os/snapshots/{noteId}POST /api/v1/os/snapshots/{noteId}/restorecurl -s -X POST "https://www.aicoo.io/api/v1/os/snapshots/42" \
-H "Authorization: Bearer $AICOO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"label":"Before Q2 update"}' | jq .
curl -s "https://www.aicoo.io/api/v1/os/snapshots/42?limit=10" \
-H "Authorization: Bearer $AICOO_API_KEY" | jq .
curl -s -X POST "https://www.aicoo.io/api/v1/os/snapshots/42/restore" \
-H "Authorization: Bearer $AICOO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"versionId":7}' | jq .
Restore auto-backs up current state first.
# 1) backup
curl -s -X POST "$PULSE_BASE/os/snapshots/42" \
-H "Authorization: Bearer $AICOO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"label":"Pre-edit backup"}' | jq .
# 2) edit
curl -s -X PATCH "$PULSE_BASE/os/notes/42" \
-H "Authorization: Bearer $AICOO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"content":"# Updated content..."}' | jq .
# list notes in a folder
NOTES=$(curl -s "$PULSE_BASE/os/notes?folderId=5&limit=200" \
-H "Authorization: Bearer $AICOO_API_KEY" | jq -r '.notes[].id')
# backup each
for id in $NOTES; do
curl -s -X POST "$PULSE_BASE/os/snapshots/$id" \
-H "Authorization: Bearer $AICOO_API_KEY" \
-H "Content-Type: application/json" \
-d "{\"label\":\"Pre-sync $(date +%Y-%m-%d)\"}" | jq .success
done
Guest write scope still depends on notesAccess on the share link:
read: can view/search noteswrite: can create notesedit: can edit notes and use snapshots