apple-notes
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseApple Notes Creation & Editing
Apple Notes 创建与编辑
Overview
概述
Tools to interact with Apple Notes. Notes are scoped to an automatically created folder. Notes are formatted using HTML—supported elements are listed below.
agent-notes用于与Apple Notes交互的工具。笔记会被限定在自动创建的文件夹中。笔记使用HTML格式编写——支持的元素如下所列。
agent-notesWhen to Use
适用场景
- Storing information that should persist across sessions
- Saving notes, ideas, or data the User wants to keep
- Creating task lists, reminders, or reference material
- When the User explicitly asks to save/remember something in notes
- 存储需要跨会话持久化的信息
- 保存用户想要留存的笔记、想法或数据
- 创建任务列表、提醒事项或参考资料
- 当用户明确要求在笔记中保存/记住某些内容时
How to Use
使用方法
- List existing notes to see what's available
- Read a note to get its HTML content
- Create new notes with HTML-formatted body
- Delete notes by title (to edit: read → delete → create)
- 列出现有笔记以查看可用内容
- 读取笔记以获取其HTML内容
- 创建带有HTML格式正文的新笔记
- 删除指定标题的笔记(编辑流程:读取 → 删除 → 创建)
Usage
使用示例
bash
undefinedbash
undefinedList notes
List notes
python scripts/list-notes.py
python scripts/list-notes.py
Create note (heredoc for reliable input)
Create note (heredoc for reliable input)
cat << 'EOF' | python scripts/create-note.py --title "My Note"
<div>Content here</div>
EOFcat << 'EOF' | python scripts/create-note.py --title "My Note"
<div>Content here</div>
EOFRead note
Read note
python scripts/read-note.py --title "My Note"
python scripts/read-note.py --title "My Note"
Delete note
Delete note
python scripts/delete-note.py --title "My Note"
> **Note:** The `--title` is automatically formatted as an `<h1>` header. Body content is piped via stdin using heredoc (`<< 'EOF'`) to avoid shell escaping issues.python scripts/delete-note.py --title "My Note"
> **注意:** `--title`会自动格式化为`<h1>`标题。正文内容通过标准输入使用heredoc(`<< 'EOF'`)传递,以避免shell转义问题。HTML Reference
HTML参考
| Element | HTML | Example |
|---|---|---|
| Title | | |
| Heading | | |
| Subheading | | |
| Paragraph | | |
| Bold | | |
| Italic | | |
| Underline | | |
| Strikethrough | | |
| Monospace | | |
| Line break | | |
| Bullet list | | |
| Numbered list | | |
| Table | | See below |
| 元素 | HTML | 示例 |
|---|---|---|
| 标题 | | |
| 二级标题 | | |
| 三级标题 | | |
| 段落 | | |
| 粗体 | | |
| 斜体 | | |
| 下划线 | | |
| 删除线 | | |
| 等宽字体 | | |
| 换行 | | |
| 无序列表 | | |
| 有序列表 | | |
| 表格 | | 见下方示例 |
Table Example
表格示例
html
<object><table><tbody><tr><td>A</td><td>B</td></tr><tr><td>1</td><td>2</td></tr></tbody></table></object>html
<object><table><tbody><tr><td>A</td><td>B</td></tr><tr><td>1</td><td>2</td></tr></tbody></table></object>Limitations
局限性
- Checklists - Stored internally, checkbox state not accessible (renders as regular bullet list)
- Links - Stripped on save
- Highlights - Stored internally by Apple Notes
- Images - Technically possible (base64) but impractical for LLM use
- Attachments - Cannot be added programmatically
- 复选清单 - 内部存储,但无法访问复选框状态(显示为普通无序列表)
- 链接 - 保存时会被移除
- 高亮 - 由Apple Notes内部存储
- 图片 - 技术上可行(base64编码)但对LLM使用不切实际
- 附件 - 无法通过编程方式添加