360 Secure SkillHub
360 安全技能中心

Notectl

该 Skill 提供 notectl 命令行工具的使用说明,利用 AppleScript 管理 macOS 上的 Apple Notes。支持列出文件夹及笔记数量、按文件夹列出笔记、按标题查看笔记、创建新笔记(可指定文件夹与正文)、按标题或内容搜索笔记,以及向已有笔记追加文本;同时列出了本机可用文件夹。

分类:知识
rainbat
rainbat
热度 55.78
最近更新 2026-05-11 15:50:48

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add rainbat/notectl
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
notectl
description
Manage Apple Notes via AppleScript CLI

notectl - Apple Notes CLI

Manage Apple Notes from the command line using AppleScript.

Commands

Command Description
notectl folders List all folders with note counts
notectl list [folder] List notes in a folder (default: Notes)
notectl show <title> Show note content by title
notectl add <title> Create a new note
notectl search <query> Search notes by title or content
notectl append <title> Append text to an existing note

Examples

# List all folders
notectl folders

# List notes in default folder
notectl list

# List notes in specific folder
notectl list "rainbat-projects"
notectl list Papi

# Show a note
notectl show "Meeting Notes"

# Create a note
notectl add "New Idea"
notectl add "Project Plan" --folder research --body "Initial thoughts..."

# Search all notes
notectl search "clawdbot"
notectl search "API"

# Append to a note (daily log style)
notectl append "Daily Log" --text "- Completed feature X"

Options for add

Option Description Default
-f, --folder <name> Folder to create note in Notes
-b, --body <text> Note body content empty

Options for append

Option Description
-t, --text <text> Text to append to the note

Available Folders

Folders on this system:

  • Notes (default)
  • research
  • rainbat-projects
  • Papi
  • renova-roll
  • Journal
  • CheatSheets
  • pet-projects