返回 Skill 列表
extension
分类: 效率与办公无需 API Key

Notesctl

通过确定性本地脚本管理 Apple Notes(创建、追加、列表、搜索、导出和编辑)。当用户要求 OpenClaw 添加、列出或搜索备忘录,或管理备忘录文件夹时使用。

person作者: clinchcchubclawhub

notesctl (Apple Notes, low-token)

Goal

Minimize token usage and avoid fragile quoting by routing Apple Notes operations through bundled scripts.

Quick start

Create a new note (deterministic title/body)

  • JSON stdin (recommended):
echo '{"title":"Title","body":"Line 1\nLine 2","folder":"Notes"}' | {baseDir}/scripts/notes_post.sh
  • Direct args:
{baseDir}/scripts/notes_new.sh "Title" $'Body line 1\nBody line 2' "Notes"

List/search/export

{baseDir}/scripts/notes_list.sh "Notes"
{baseDir}/scripts/notes_search.sh "query" "Notes"
{baseDir}/scripts/notes_export.sh "query" "Notes" "/tmp"  # interactive select then export

Output conventions

  • Keep receipts short: Wrote to Notes: <title>.

Notes on editing

Editing existing notes is inherently more fragile:

  • Prefer append workflows or create a new note with a reference.
  • If the user explicitly wants interactive editing, use memo notes -e (manual selection + editor).