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 instructions/fradser/mcp-server-apple-events/agents-mdgit clone --depth 1 https://github.com/FradSer/mcp-server-apple-eventsWrote 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/instructions/fradser/mcp-server-apple-events/agents-md)<a href="https://agentmods.dev/instructions/fradser/mcp-server-apple-events/agents-md"><img src="https://agentmods.dev/badge/instructions/fradser/mcp-server-apple-events/agents-md.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.1 | $0.00839 | $0.00839 |
| Opus 5 | $0.00419 | $0.00419 |
| Sonnet 5 | $0.00168 | $0.00168 |
| Haiku 4.5 | $0.00084 | $0.00084 |
Grade A, and why
mcp-server-apple-events AGENTS.md 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 6d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- apple-calendar-mcp AGENTS.md — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 36 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repository Guidelines
Project Structure & Module Organization
Source lives in src/, segmented into clean architecture rings so dependencies flow inward. Transport adapters sit in src/server/, the vendored Swift CLI binary (bin/event) is built from the vendor/event git submodule, and automation workflows stay under src/tools/. Shared helpers live in src/utils/ (including eventCli.ts — the wrapper around bin/event), while src/validation/ enforces Zod contracts on every reminder payload. Tests co-locate as *.test.ts beside subjects to keep TDD feedback immediate, and generated binaries rebuild instead of touching dist/.
Build, Test, and Development Commands
Run pnpm install to sync the locked dependency graph (and to build the vendored event CLI via the postinstall hook). Use pnpm dev for watch-mode TypeScript development without recompiling the Swift binary. Execute pnpm test to run the Jest suite through ts-jest and the __mocks__/eventCli.ts mock. Run pnpm exec biome check before commits to enforce formatting, linting, and import ordering, and rebuild the native helper with pnpm build:event whenever the vendor/event submodule pin moves.
Coding Style & Naming Conventions
Biome enforces two-space indentation, single quotes, and sorted imports across .ts files. Choose camelCase for variables and functions, PascalCase for classes, and reuse screaming snake constants from src/utils/constants.ts when system identifiers need emphasis. Prefer composition, dependency injection, and repository abstractions to keep outer layers independent of inner logic, and comment only to justify architectural trade-offs or business rules.
Testing Guidelines
Follow strict RED-GREEN-REFACTOR cycles by writing a failing Jest spec beside each new unit. Use the fixtures under src/__mocks__/ to stabilize reminder schema behavior and initialize shared state through src/test-setup.ts. Narrow prompt template changes by targeting pnpm test -- src/server/prompts.test.ts. Name specs <module>.test.ts for discoverability and prioritize schema and error-path coverage before happy paths.
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.
- 6d ago First seen · 36 lines · 839 tokens per session scan A 428a9bda8a84
mcp-server-apple-events AGENTS.md is an instructions file published in the GitHub repository FradSer/mcp-server-apple-events (199 stars, last pushed 10d ago), licensed MIT. It adds 839 tokens to every session, about $0.0042 per session on Opus 5. 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-30.
Other instructions, from other repositories
apple-calendar-mcp CLAUDE.md
Claude Code instructions for redpop/apple-calendar-mcp, covering claude.md, commands, the architecture constraint that explains everything, invariants that are easy to break and dependencies worth knowing.
Plonk AGENTS.md
AGENTS.md instructions for ostapondo/Plonk, covering agent rules, layout, adding a module, build & verify and code style.
che-ical-mcp CLAUDE.md
Claude Code instructions for PsychQuant/che-ical-mcp, covering spectra instructions, use /spectra: skills when, workflow, parked changes and mcp 功能驗證的表面選擇(.claude/rules/mcp-binary-version-testing.md).
rem CLAUDE.md
Instructions for BRO3886/rem, covering rem - cli for macos reminders, non-negotiables, what is this?, architecture and critical: architecture rules.
che-ical-mcp AGENTS.md
AGENTS.md instructions for PsychQuant/che-ical-mcp, covering spectra instructions, use $spectra- skills when, workflow and parked changes.
mcp-fantastical AGENTS.md
Instructions for aplaceforallmystuff/mcp-fantastical, covering agents.md - mcp-fantastical, tech stack, architecture, integration method and development.