<< All versions
Skill v1.0.1
currentAutomated scan95/100aicoo-team/aicoo-skills/snapshots
+3 new
──Details
PublishedAugust 12, 2026 at 11:15 AM
Content Hashsha256:a8f5bb4ad3f1e37f...
Git SHAd8d15dce1522
Bump Typepatch
──Files
Files (1 file, 2.4 KB)
SKILL.md2.4 KBactive
SKILL.md · 87 lines · 2.4 KB
version: "1.0.1" name: snapshots description: "Use 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'."
Snapshots — Note Versioning
Save, list, and restore note versions using Aicoo OS endpoints.
Prerequisites
AICOO_API_KEYmust be set- Base URL:
https://www.aicoo.io/api/v1
API Endpoints
GET /api/v1/os/snapshots/{noteId}POST /api/v1/os/snapshots/{noteId}POST /api/v1/os/snapshots/{noteId}/restore
Save a Snapshot
bash
curl -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 .
List Snapshots
bash
curl -s "https://www.aicoo.io/api/v1/os/snapshots/42?limit=10" \-H "Authorization: Bearer $AICOO_API_KEY" | jq .
Restore a Snapshot
bash
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.
Snapshot-Before-Edit Pattern
bash
# 1) backupcurl -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) editcurl -s -X PATCH "$PULSE_BASE/os/notes/42" \-H "Authorization: Bearer $AICOO_API_KEY" \-H "Content-Type: application/json" \-d '{"content":"# Updated content..."}' | jq .
Scheduled Backup Pattern
bash
# list notes in a folderNOTES=$(curl -s "$PULSE_BASE/os/notes?folderId=5&limit=200" \-H "Authorization: Bearer $AICOO_API_KEY" | jq -r '.notes[].id')# backup eachfor id in $NOTES; docurl -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 .successdone
Guest Access Guidance
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