macos

macos is a skill for Claude Code, Codex from krmj22/macos-mcp. It costs 0 tokens per session (1,699 once invoked), scanned A, original, MIT.

A set of instructions for reading and changing native macOS apps from the shell, including Reminders, Calendar, Notes, Mail, Messages, and Contacts. It explains which system interface to use for each app.

In plain words
What is it for?
Use it when creating or completing reminders, checking calendars, writing notes, reading or sending messages, working with mail, or looking up contacts. It supports both reading and selected changes through macOS interfaces.
Why use it?
It provides a defined way to interact with macOS apps when normal command-line access is limited or unreliable. It also includes checks for a required calendar-and-reminders helper.

Skill for Claude CodeCodex

Part of the macos-mcp plugin — 1 skill shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/krmj22/macos-mcp/macos
Any agent
npx skills add krmj22/macos-mcp --skill macos
Clone the repo
git clone --depth 1 https://github.com/krmj22/macos-mcp

Made for: Claude Code, Codex.

Or install macos-mcp, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for macos

README.md
[![agentmods](https://agentmods.dev/badge/skills/krmj22/macos-mcp/macos.svg)](https://agentmods.dev/skills/krmj22/macos-mcp/macos)
Your own site
<a href="https://agentmods.dev/skills/krmj22/macos-mcp/macos"><img src="https://agentmods.dev/badge/skills/krmj22/macos-mcp/macos.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,699 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01699
Opus 5 $0.00000 $0.00849
Sonnet 5 $0.00000 $0.00340
Haiku 4.5 $0.00000 $0.00170

Measured 5d ago against content hash 11c896a1e9cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

macos scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/macos/SKILL.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

macOS app control

Drives the native macOS apps through three bridges:

Bridge Apps Why this one
EventKitCLI (Swift binary) Reminders, Calendar EventKit is the only API with full read/write on both
JXA via osascript Notes, Contacts, Mail writes, Messages send Apple Events is the only thing that triggers a write
sqlite3 direct reads Mail, Messages JXA Messages reads return nothing on Sonoma and later; JXA Mail reads time out at 60s on a real inbox

Same primitives the mcp-macos MCP server uses. This skill calls them directly, so no tool schemas sit in context until something triggers the skill.

Setup check

Run once per session if anything fails:

ls -lL ~/.local/bin/EventKitCLI   # -L follows the symlink

⚠️ Check the link TARGET, not just its presence. A dangling symlink passes command -v and then fails at exit 127. Verify with ls -lL or readlink. If the target is gone, re-vendor the binary:

cd "$(mktemp -d)" && npm i mcp-macos --no-save \
  && mkdir -p ~/.local/lib/mcp-macos/bin \
  && cp node_modules/mcp-macos/bin/EventKitCLI ~/.local/lib/mcp-macos/bin/EventKitCLI \
  && ln -sf ~/.local/lib/mcp-macos/bin/EventKitCLI ~/.local/bin/EventKitCLI

Do not point the link at an npm cache path (~/.npm/_npx/...). npm prunes it.

Permissions

Bridge System Settings Failure looks like
EventKitCLI Reminders Privacy & Security → Reminders (full access) {"status":"error"} with a permission message
EventKitCLI Calendar Privacy & Security → Calendars (full access) same
JXA Notes / Contacts / Mail / Messages Privacy & Security → Automation → the app osascript hangs, or "Not authorized to send Apple events"
sqlite3 Mail / Messages Privacy & Security → Full Disk Access on your terminal unable to open database file

Full Disk Access is granted to the terminal binary, not to sqlite3. Version manager users need the real node binary, not the shim.

Read the full file on GitHub · 134 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 134 lines · 0 tokens per session scan A 11c896a1e9cb

Subscribe to this mod's changes

macos is a skill published in the GitHub repository krmj22/macos-mcp (5 stars, last pushed 15d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,699 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.