Notes Automation Workflowsのロゴ

Notes Automation Workflows

コミュニティ
AtlasOmnia
notes-automation-workflows

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

概要

公開者AtlasOmnia
リポジトリdonna-starter
スキル名notes-automation-workflows
スター
131
フォーク
9
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    AtlasOmniaがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Notes Automation Workflows」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/AtlasOmnia/donna-starter/tree/main/skills/notes-automation-workflows
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでNotes Automation Workflowsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にNotes Automation Workflowsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Notes Automation Workflowsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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

よくある質問

AIスキル「Notes Automation Workflows」では何ができますか?

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

TypingMindでNotes Automation Workflowsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Notes Automation Workflowsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにNotes Automation Workflowsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/AtlasOmnia/donna-starter/tree/main/skills/notes-automation-workflowsを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Notes Automation Workflowsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Notes Automation Workflowsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもNotes Automation Workflowsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Notes Automation Workflows」は無料ですか?

はい。AtlasOmniaがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇