360 Secure SkillHub
360 安全技能中心

Notectl

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

rainbat
rainbat
热度 64.63
最近更新 2026-05-11 15:50:48
分类:知识依赖:代码执行应用场景:笔记整理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add 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