skills/dalehurley/phpbot/retrieve-and-analyze-notes

retrieve-and-analyze-notes

SKILL.md

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
Weekly Installs
4
GitHub Stars
1
First Seen
14 days ago
Installed on
gemini-cli4
github-copilot4
codex4
amp4
cline4
kimi-cli4