Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

mac

Skill by 31Carlton7

Lets an AI assistant drive Calendar, Reminders, Contacts, Mail, Messages, Notes, Music and other native macOS apps through the local mac CLI. It suits users who want JSON-based control of apps on their own Mac.

  • Score 70
  • 119 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install mac

Built from the published package, never by AI.

git clone --depth 1 https://github.com/31Carlton7/realm /tmp/realm && mkdir -p ~/.claude/skills && cp -r /tmp/realm/skills/mac ~/.claude/skills/mac

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install mac in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

mac is a local Swift command-line tool, version 0.6.0, that lets an AI assistant drive fifteen native macOS apps from the shell. Calendar, Reminders and Contacts go through EventKit and Contacts, while other apps are reached through AppleScript, plus a read-only copy of the Messages database. Commands accept --json output and return stable exit codes.

The skill tells the assistant to use mac instead of AppleScript, osascript or open. Mutating commands accept only exact IDs, so the assistant lists items first and passes the ID through. It also explains macOS permission prompts and how to read mac doctor output. It is aimed at people who want their assistant to manage calendars, reminders, mail, messages, notes and documents on their own Mac.

Written from the project's SKILL.md and checked against it.

What it can do

  • calendarList, add, edit and delete calendar events and list calendars.
  • remindersList, add, complete, edit and delete reminders across reminder lists.
  • contactsFind, show, add, edit and delete contacts.
  • mailCheck unread mail, search, read, draft, send, mark read and archive messages.
  • messagesList chats, read history and send messages to an exact handle.
  • notesList, search, read, add, append, edit and delete notes.
  • musicControl playback, search the local library and manage playlists.
  • shortcutsList and run macOS Shortcuts.
  • finderRead the Finder selection, reveal or open items, and move files to the trash.
  • doctorAudit macOS permission status for each capability without prompting.

What you need

  • macOS
  • Permission grants for Calendar, Reminders, Contacts and Automation apps
  • Full Disk Access to read iMessage history

Try asking

  • List my calendar events for the next 7 days as JSON.
  • Find Sarah in my contacts and show her details.
  • Add a reminder to file taxes due Friday at 9am.

Good to know

  • Mail reads cover only the newest messages per account, 30 by default.
  • Recurring calendar events share one ID, so edits and deletes hit the whole series.
  • Edit flags cannot clear a due date once set, and titles cannot be blanked.
  • Group chats are read-only and password-protected notes read as empty.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/mac/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to mac

All alternatives →

Compare with ask-user-question, beads or google_tasks

mac: common questions

Why does mac return exit code 2?

Exit code 2 means permission was denied. The source says the grant belongs to the calling app, and a denial is sticky, so retrying will not fix it.

Does mac use AppleScript?

Calendar, Reminders and Contacts use EventKit and Contacts natively. Most other apps are driven through AppleScript.

Can mac delete files?

mac finder trash moves items to the trash, which the source calls the recoverable delete. The source says to use the shell for bulk or scripted file work.

How do I install mac?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is mac free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is mac safe to use?

It scores 70 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to mac?

Similar skills: ask-user-question, beads, google_tasks, recall.

Add to stack

Loading.