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.
npx agentmods add skills/krmj22/macos-mcp/macosnpx skills add krmj22/macos-mcp --skill macosgit clone --depth 1 https://github.com/krmj22/macos-mcpWrote 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.
[](https://agentmods.dev/skills/krmj22/macos-mcp/macos)<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>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.
| Model | Per session | Once 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 |
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.
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.
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.
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.
- 5d ago First seen · 134 lines · 0 tokens per session scan A 11c896a1e9cb
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.
Other skills, from other repositories
orbit-notion
Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…
Cortex
Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…
pinchtab-mcp
Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
peekaboo
Capture and automate macOS UI with the Peekaboo CLI.
mochi-remind
Handle due reminders — notify the user with natural language and mark them done.