apple-calendar-mcp: Instructions file for Codex

AGENTS.md

apple-calendar-mcp AGENTS.md is an instructions file for Codex, OpenCode from ebenpaul/apple-calendar-mcp. It costs 839 tokens per session, scanned A, a copy of mcp-server-apple-events AGENTS.md, MIT.

A set of AGENTS.md instructions for the apple-calendar-mcp repository. They explain the project layout, build and test commands, code conventions, and how its Swift event helper is used.

In plain words
What is it for?
Developing and testing apple-calendar-mcp, including running its pnpm and Jest commands, formatting checks, and rebuilding the vendored Swift event command. TDD means using tests to guide development and get quick feedback.
Why use it?
They give a coding agent concrete repository rules, so it can run the right checks and avoid breaking the project’s native helper or validation code.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is ebenpaul/apple-calendar-mcp's own configuration. It tells Codex and OpenCode how to work on apple-calendar-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything apple-calendar-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ebenpaul/apple-calendar-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ebenpaul/apple-calendar-mcp/claude/apple-calendar-mcp-fork-uy1e2v/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/ebenpaul/apple-calendar-mcp

Made for: Codex, OpenCode.

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 apple-calendar-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ebenpaul/apple-calendar-mcp/agents-md/github.svg)](https://agentmods.dev/instructions/ebenpaul/apple-calendar-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/ebenpaul/apple-calendar-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/ebenpaul/apple-calendar-mcp/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for apple-calendar-mcp AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ebenpaul/apple-calendar-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/ebenpaul/apple-calendar-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 839 This file is loaded in full into every session.
When invoked 839 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.1 $0.00839 $0.00839
Opus 5.5 $0.00336 $0.00336
Sonnet 5.5 $0.00168 $0.00168
Haiku 4.5 $0.00084 $0.00084

Measured 2mo ago against content hash 428a9bda8a84, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

apple-calendar-mcp 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 2mo 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.

Origin

This is a copy

100% identical to mcp-server-apple-events AGENTS.md — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AGENTS.md · 36 lines

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.

Read the full file on GitHub · 36 lines

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. 2mo ago First seen · 36 lines · 839 tokens per session scan A 428a9bda8a84

Subscribe to this mod's changes

apple-calendar-mcp AGENTS.md is an instructions file published in the GitHub repository ebenpaul/apple-calendar-mcp (0 stars, last pushed 4mo ago), licensed MIT. It adds 839 tokens to every session, about $0.0034 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to mcp-server-apple-events AGENTS.md, differing in 2 lines, and is treated as a copy.

Related

apple-calendar-mcp AGENTS.md compared with instructions from other repositories

apple-calendar-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
apple-calendar-mcp AGENTS.mdebenpaul/apple-calendar-mcpInstructions file04mo agoMITA839Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot