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.
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/macRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/31Carlton7/realm /tmp/realm && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/realm/skills/mac ~/.gemini/antigravity-cli/skills/macAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Ask-user-question lets an AI assistant ask the user questions through a modal in the UI. It suits tasks that need clarification, preferences, or approval before the assistant proceeds.
Beads is a Dolt-backed issue tracker that gives AI assistants persistent task memory. It tracks dependencies and notes across sessions and conversation compaction. It is for developers and agents managing multi-session work.
Manages the user's Google Tasks from an AI assistant. It reads task lists and tasks, adds, edits, completes and organizes them, and clears finished items from view. Built for people who keep their to-dos in Google Tasks.
Rebuilds your recent working context before you start or resume work. It reads your chat history and the shared record, then returns a short current-state brief for developers.
Build Agent turns a task a business owner repeats by hand into a named, reusable skill. It can be triggered by name or put on a schedule, and it adds approval checkpoints at consequential steps.
Lark-approval is a Feishu (Lark) skill for querying, handling and starting native approval workflows. It is for users who need to work through approval todos, review submitted approvals, or search and submit approval requests.
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.
