Logo Notes Automation Workflows

Notes Automation Workflows

Cộng đồng
AtlasOmnia
notes-automation-workflows

notes-automation-workflows — Automate bulk Apple Notes workflows: discovery, filtering, and scripted enrichment for links/photos.

Tổng quan

Nhà phát hànhAtlasOmnia
Kho mãdonna-starter
Tên kỹ năngnotes-automation-workflows
Sao
131
Bản fork
9
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được AtlasOmnia công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Notes Automation Workflows trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/AtlasOmnia/donna-starter/tree/main/skills/notes-automation-workflows
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AtlasOmnia/donna-starter.git /tmp/donna-starter
mkdir -p .claude/skills
cp -r /tmp/donna-starter/skills/notes-automation-workflows .claude/skills/notes-automation-workflows
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Notes Automation Workflows trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Notes Automation Workflows ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Notes Automation Workflows với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Notes Automation Workflows

Use this skill for scripted, repeatable Apple Notes operations that go beyond single-note edits.

When to use

  • "Review my notes from last N days" or periodic cleanup/triage tasks.
  • Adding structured summaries to notes that contain links.
  • Adding summaries for image/photo notes.
  • Updating notes programmatically without manual, one-by-one edits.
  • Creating a translated or otherwise transformed copy of a rich-text note while preserving its structure.

When not to use

  • Single small edits: use the memo/Notes interactive flow directly.
  • Sensitive credential text cleanup: use explicit user confirmation before summarizing.
  • Non-Apple notes sources (Obsidian, Notion, etc.)

Prerequisites

  • macOS Notes.app
  • osascript available
  • User has granted Automation access to Notes.app in System Settings → Privacy & Security → Automation
  • Apple Notes has the target notes in a reachable account (usually iCloud)

memo CLI reliability

The memo CLI tool frequently breaks after Homebrew/Python updates due to a stale interpreter path. Diagnose with /opt/homebrew/bin/memo 2>&1 — typical error: bad interpreter: No such file or directory. Fix via brew uninstall memo && brew install antoniorodr/memo/memo. When broken, fall through entirely to AppleScript (see search section below).

Searching notes reliably

Title-only AppleScript query is the fastest, most reliable search method. Use before any other approach:

bash
# Search by title only — instant even with thousands of notes
osascript -e 'tell application "Notes" to get name of every note whose name contains "keyword"'

# Retrieve title + body of a single matched note (use sparingly)
osascript -e 'tell application "Notes" to set target to first note whose name contains "keyword"' \
 -e '{name:name of target, body:(body of target)}'

Critical timing constraint: Body access (body of n) iterated across every note in a large account times out at 30s. Title-only search has no this problem. Restrict full-body iteration to single-note retrieval or folder-scoped queries.

Core strategy

For anything beyond one note, use AppleScript first-pass enumeration + AppleScript updates. Avoid relying on memo index-based addressing for scripts.

For a single note that must be created and shown on screen, follow the quick-create procedure. It covers the memo bad-interpreter fallback, account/folder discovery, HTML-body creation, show/activate, and folder-scoped read-back verification.

Reliable read/write path

Use AppleScript with body (not plain text) and id:

applescript
tell application "Notes"
 set target to first note whose id is "<note-id>"
 set noteBody to (body of target) as string
 set noteAttachments to count of attachments of target
end tell

Prefer updating by id for correctness and stability.

14-day sweep pattern

When a user asks for the last X days, start with a filtered enumeration in AppleScript so every candidate is in-bounds before heavy processing.

applescript
tell application "Notes"
 set cutoff to (current date) - (14 * days)
 set out to ""
 repeat with a in accounts
 set nset to (notes of a whose (modification date >= cutoff))
 repeat with n in nset
 set out to out & (id of n as string) & "\u001f" & (name of n as string) & "\u001f" & (count of attachments of n as string) & "\u001f" & ((body of n) as string) & "\n"
 end repeat
 end repeat
 return out
end tell

This keeps pagination/sort order issues out of the script and gives a stable candidate list.

Classification rules used in enrichment workflows

After loading candidates, classify each note before writing:

  1. Link note
  • URL regex appears in title or body (http:// or https://).
  1. Photo/attachment note
  • attachments > 0
  • stripped text body is minimal/noisy (len(text) <= ~40) or only boilerplate.
  1. Regular text note
  • No actionable link
  • Non-empty readable text and no dedicated attachment-only signals

For link notes, summarize source content and prepend the note body with a single summary block. For photo-only notes, prepend a concise photo summary block (or a clear placeholder if the image is inaccessible).

Idempotent updates

Never duplicate summary blocks. Before writing, check if body already contains your summary marker, e.g.:

applescript
if (body of target) does not contain "<b>Summary:</b>" then
 set body of target to ("<div><b>Summary:</b> ...</div><div><br></div>") & (body of target)
end if

Content formatting requirements

  • Keep all appended summaries as HTML and prepend via body.
  • Wrap each inserted piece in <div> and separate entries with <div><br></div>.
  • Keep summaries short and task-scoped (2–5 sentences max).

Link-source handling

web_extract coverage varies by site. If a source is unsupported:

  • record that as a blocker in the summary
  • summarize from cached context only when allowed
  • keep a clear label so the next pass can retry when source access improves

Validation checklist

After writes, verify:

  • expected notes in scope were touched
  • link notes now include one summary block each
  • photo/attachment-only notes are marked in a consistent format
  • non-link/non-photo notes were not unexpectedly rewritten

Câu hỏi thường gặp

Kỹ năng AI Notes Automation Workflows làm được gì?

notes-automation-workflows — Automate bulk Apple Notes workflows: discovery, filtering, and scripted enrichment for links/photos.

Vì sao nên dùng Notes Automation Workflows trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Notes Automation Workflows là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Notes Automation Workflows trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/AtlasOmnia/donna-starter/tree/main/skills/notes-automation-workflows. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Notes Automation Workflows?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Notes Automation Workflows với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Notes Automation Workflows với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Notes Automation Workflows có miễn phí không?

Có. Kỹ năng này được AtlasOmnia phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇