返回 Skill 列表
extension
分类: 内容与媒体无需 API Key

retrieve-and-analyze-notes

从Apple Notes中通过搜索特定的笔记名称或关键词来检索和分析笔记。当用户要求阅读、检索、查找或获取AppleNotes中的笔记,或者希望对他们存储在笔记中的内容进行分析或反馈时,使用此技能。支持笔记名称的模糊匹配,并返回完整的笔记内容以供审阅或进一步处理。

person作者: jakexiaohubgithub

Retrieve and Analyze Notes

Input Parameters

| Parameter | Required | Description | Example | | --------------- | -------- | ------------------------------------------------------------------------ | ----------------- | | search_term | Yes | The note name or keyword to search for in Apple Notes | Dale's Principles | | analysis_type | No | Type of analysis requested: feedback, summary, or review | feedback |

Procedure

  1. Use AppleScript to retrieve the note:

    tell application "Notes"
        set notesList to notes whose name contains "{{SEARCH_TERM}}"
        if (count of notesList) > 0 then
            set theNote to item 1 of notesList
            return body of theNote
        else
            return "ERROR: No note found"
        end if
    end tell
    
  2. If no result, retry with shorter or alternate keywords from the original query

  3. Provide the requested analysis, feedback, or summary on the retrieved content

Notes

  • Requires Apple Notes permissions for AppleScript access
  • Search is case-insensitive and matches partial note names; if multiple notes match, the first result is returned
  • Note content is returned as plain text; rich text formatting may be simplified

Example

what do you think of the principles in my Apple Notes
retrieve my note called Meeting Notes and summarize it
read my Apple Note about goals and give me feedback
find the note named Projects and review it
get my Principles note and analyze it