← 返回 Skills 市场
lishix520

Apple Notes

作者 Li shixiong · GitHub ↗ · v0.1.0 · MIT-0
darwin ✓ 安全检测通过
93
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install apple-notes-native
功能描述
Use this skill when the task involves reading, searching, creating, editing, organizing, or moving Apple Notes on macOS. This includes finding notes, creatin...
使用说明 (SKILL.md)

Apple Notes Skill

Use this skill for Apple Notes tasks on macOS.

Typical triggers:

  • Read an existing Apple Note
  • Search notes by title or content
  • Create a note
  • Append or update a note
  • Create a folder
  • Move a note into a folder
  • Organize uncategorized notes
  • Save project progress into Apple Notes
  • Save processed content into a specific note

Do not use this skill for summarizing or translating itself. Do that work first, then use this skill to operate on Apple Notes.

Classification is allowed when it directly supports organization. If the task is to sort uncategorized notes, the agent may infer a practical destination folder and then move the note there. Keep the classification simple and action-oriented. Do not turn this skill into a general taxonomy design exercise.

Preferred Method

Use the already validated Apple Notes access method first. Do not waste time retrying multiple unrelated approaches.

Default rule:

  • Prefer osascript with Apple Notes automation
  • Reuse the known working command pattern for the current machine
  • Only switch approach if the preferred method clearly fails

Working Style

When operating on Apple Notes:

  • Search before creating when there is any chance the note already exists
  • Prefer append/update over replacing the whole note
  • Keep formatting clean and readable
  • Be conservative with move and delete
  • If the target note is ambiguous, stop and clarify instead of guessing

Practical Workflows

Organize Uncategorized Notes

  • Search or list candidate notes first
  • Infer a reasonable folder based on title and content
  • Create the folder if it does not exist
  • Preview the source note and destination folder before moving in bulk
  • If classification confidence is low, stop and ask instead of guessing

For large messy folders, do not try to solve everything in one pass.

Preferred sequence:

  • First pass: move only high-confidence matches
  • Second pass: create a few practical flat folders for recurring themes
  • Final pass: move the leftovers into a deliberate catch-all folder instead of leaving them unorganized forever

For Apple Notes specifically, flat folder names are safer than fake hierarchical names.

Prefer:

  • 系统结构
  • 觉察与能量
  • 行动与方法
  • 对话摘录
  • 思辨片段

Avoid creating pseudo-nested names unless you know the current Notes setup supports them well.

Update Project Progress

  • Search for the existing project note first
  • If found, append a dated update section
  • If not found, create a project note in the best matching folder
  • Preserve existing history; do not replace the whole note

Save Processed Content Into Notes

  • Finish the upstream work first, such as extraction, translation, or summary
  • Search for the target note or decide whether a new one is needed
  • Write the final content in a clean Apple Notes friendly structure

Core Actions

Read Notes

Use when the user wants existing content, project history, or note contents.

Default behavior:

  • Find the note first by title or nearby keywords
  • If multiple results match, narrow before reading
  • Read the target note only after identifying it confidently

Search Notes

Use search when:

  • The exact note name is unknown
  • The user refers to a topic, not a title
  • You need to locate candidate notes before moving or updating

Return the best matching notes first, then act on the chosen note.

Create Note

Create a new note only when:

  • Search shows no existing target note
  • The user explicitly wants a new note

Before creating:

  • Choose the correct folder if known
  • Use a clear title
  • Write content in clean structure, not a text block dump

Edit Or Append

Prefer append/update when a note already exists.

Default rule:

  • Append new sections rather than rewriting old content
  • Preserve existing structure unless the user asks for cleanup
  • Avoid destroying manually written content

Create Folder

Create folders when:

  • The user is organizing notes
  • A project needs a stable home
  • A clear category does not already exist

Use simple, stable names. Do not create many near-duplicate folders.

Move Note

Move a note only after confirming the destination is correct.

Default rule:

  • Search and identify the note
  • Confirm the destination folder is the intended one
  • For bulk moves, preview the mapping before executing

Delete Note

Delete is high risk.

Default rule:

  • Do not delete unless the user clearly asks
  • If the target is ambiguous, clarify first
  • Prefer caution over speed

Formatting Rules

Never write dense wall-of-text notes if the content is more than a few lines.

Use clean spacing:

  • A clear title
  • Short intro if needed
  • Blank lines between paragraphs
  • Bullets for lists
  • Headings for sections

Recommended patterns:

Project Update

Use:

# Project Name

## Update - YYYY-MM-DD

### Status

Short status summary.

### Done

- Item

### In Progress

- Item

### Next

- Item

### Risks / Blockers

- Item

Article Notes

Use:

# Article Title

## Source

- Link:
- Date:

## Summary

Short summary.

## Key Points

- Point

## Notes

- Note

Verified osascript Patterns

Use shell-wrapped osascript blocks when there is any risk the agent may accidentally paste AppleScript directly into zsh.

List all folders

osascript -e 'tell application "Notes" to get name of every folder'

Read a note body

osascript -e 'tell application "Notes" to get body of note "Apple Notes Skill Reference" of first folder'

Search notes in a folder by title

osascript -e 'tell application "Notes" to get name of every note of folder "输出/学习笔记" whose name contains "Apple Notes"'

Create a new note with multi-line shell input

osascript \x3C\x3C'EOF'
tell application "Notes"
    activate
    tell folder "Claude 协作"
        make new note with properties {name:"Apple Notes Skill", body:"\x3Ch1>Apple Notes Skill\x3C/h1>\x3Cbr>\x3Cdiv>Structured content goes here.\x3C/div>"}
    end tell
end tell
EOF

Append content carefully

Default pattern:

  • Read the existing body first
  • Preserve structure
  • Append a new section instead of overwriting the entire note unless explicitly requested

Error Handling

When a Notes action fails:

  • Check whether Automation permission is blocked
  • Check whether the folder exists
  • Check whether the note title is ambiguous
  • Retry the same validated method before inventing a new one

If a destination folder does not exist:

  • Create it first
  • Then create or move the note

If multiple notes share the same title:

  • Narrow by folder or related keywords before editing or moving

Limitations

Keep these in mind:

  • Apple Notes access depends on macOS Automation permission
  • Rich text body may be returned as HTML-like content
  • Reading may expose HTML tags such as \x3Cdiv> or \x3Cbr>
  • Writing should use Apple Notes friendly structure and line breaks
  • Apple Notes organization is simpler and flatter than full document systems

When reading note bodies:

  • Be aware that the raw body may include HTML-ish markup
  • Normalize the content mentally before interpreting structure

When writing note bodies:

  • Use headings, paragraphs, and explicit spacing
  • Do not dump one giant block of text

Coordination With Other Skills

This skill handles Apple Notes operations.

Upstream work can be done by other skills or by the agent itself:

  • article reading
  • paper reading
  • summary
  • translation
  • extraction

Do that work first, then use this skill to save or update the final result in Apple Notes.

安全使用建议
This skill will run osascript commands on your Mac to read and modify Apple Notes, so installing it gives the agent the ability to view and change local notes. Only install if you trust the skill source and the agent's actions. Recommended precautions: (1) back up important notes before allowing bulk moves/deletes, (2) review the SKILL.md or the linked GitHub repo to confirm the exact commands used, (3) restrict use to trusted prompts (ask for explicit confirmation before destructive actions), and (4) only enable on a macOS machine where you expect Notes automation. If you want higher assurance, ask the publisher for the concrete AppleScript snippets the agent will run and inspect them before use.
功能分析
Type: OpenClaw Skill Name: apple-notes-native Version: 0.1.0 The apple-notes-native skill provides a comprehensive set of instructions and AppleScript (osascript) templates for managing Apple Notes on macOS. It covers standard operations such as reading, searching, creating, and organizing notes and folders. The use of osascript is appropriate for the stated purpose, and the documentation in SKILL.md provides clear guidance on formatting and error handling without any evidence of malicious intent, data exfiltration, or harmful prompt injection.
能力评估
Purpose & Capability
The name/description match the declared requirement (osascript) and the SKILL.md describes only Notes-related actions (search, read, create, append, move, folder management). No unrelated binaries, env vars, or config paths are requested.
Instruction Scope
The SKILL.md contains detailed AppleScript/osascript command patterns and conservative operational rules (search-before-create, confirm before delete/move). It does not instruct the agent to read arbitrary files, network endpoints, or environment variables beyond the Notes interaction. The guidance is prescriptive but stays within the Notes domain.
Install Mechanism
This is an instruction-only skill with no install spec and no code files — lowest-risk install posture. It assumes osascript is available (macOS built-in), which is appropriate for the stated purpose.
Credentials
The skill requires no environment variables, credentials, or config paths. That is proportionate given it operates locally via osascript against the Notes app.
Persistence & Privilege
always:false and user-invocable:true (default) — the skill is not force-enabled. It allows autonomous invocation (platform default) but does not request permanent elevated privileges or modify other skills' configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install apple-notes-native
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /apple-notes-native 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial native Apple Notes release for macOS agents
元数据
Slug apple-notes-native
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Apple Notes 是什么?

Use this skill when the task involves reading, searching, creating, editing, organizing, or moving Apple Notes on macOS. This includes finding notes, creatin... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 93 次。

如何安装 Apple Notes?

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

Apple Notes 是免费的吗?

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

Apple Notes 支持哪些平台?

Apple Notes 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin)。

谁开发了 Apple Notes?

由 Li shixiong(@lishix520)开发并维护,当前版本 v0.1.0。

💬 留言讨论