🤖
Notesctl
Manage Apple Notes via deterministic local scripts (create, append, list, search, export, and edit). Use when a user asks OpenClaw to add a note, list notes, search notes, or manage note folders.
安全通过
技能说明
name: notesctl description: Manage Apple Notes via deterministic local scripts (create, append, list, search, export, and edit). Use when a user asks OpenClaw to add a note, list notes, search notes, or manage note folders. metadata: { "openclaw": { "emoji": "📝", "os": ["darwin"], "requires": { "bins": ["memo", "python3", "osascript"] } } }
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).
如何使用「Notesctl」?
- 打开小龙虾AI(Web 或 iOS App)
- 点击上方「立即使用」按钮,或在对话框中输入任务描述
- 小龙虾AI 会自动匹配并调用「Notesctl」技能完成任务
- 结果即时呈现,支持继续对话优化