← 返回 Skills 市场
xisen-w

Aicoo Snapshots

作者 Awassi · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ pending
41
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install aicoo-snapshots
功能描述
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, o...
使用说明 (SKILL.md)

Snapshots — Note Versioning

Save, list, and restore note versions using Aicoo OS endpoints.

Prerequisites

  • AICOO_API_KEY must 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

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

curl -s "https://www.aicoo.io/api/v1/os/snapshots/42?limit=10" \
  -H "Authorization: Bearer $AICOO_API_KEY" | jq .

Restore a Snapshot

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

# 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 .

Scheduled Backup Pattern

# 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 Access Guidance

Guest write scope still depends on notesAccess on the share link:

  • read: can view/search notes
  • write: can create notes
  • edit: can edit notes and use snapshots
能力标签
requires-sensitive-credentials
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install aicoo-snapshots
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /aicoo-snapshots 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Aligned with OS API split
元数据
Slug aicoo-snapshots
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Aicoo Snapshots 是什么?

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, o... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 41 次。

如何安装 Aicoo Snapshots?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install aicoo-snapshots」即可一键安装,无需额外配置。

Aicoo Snapshots 是免费的吗?

是的,Aicoo Snapshots 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Aicoo Snapshots 支持哪些平台?

Aicoo Snapshots 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Aicoo Snapshots?

由 Awassi(@xisen-w)开发并维护,当前版本 v1.0.1。

💬 留言讨论