I made an extension for Raycast which uses Raycast AI to summarize, compare, and analyze the content of selected files in macOS. In additional to plain text files, the extension supports numerous file types by utilizing Apple's frameworks for MacOS. You can have AI summarize text contained in PDFs or images, discuss the content hidden in QR codes, count how many animals or people are in an image, give feedback on spoken audio, and more. Metadata and EXIF data can be used to provide additional context.
The extension comes with a variety of default commands supporting many use cases, ranging from creating notes to conducting a pattern and trend analysis. You can also create custom File AI commands to provide your own prompts.
Raycast is a launcher for macOS that has a lot of useful extensions. You can find more about it here: https://www.raycast.com