Borrowing it
Nothing to install: this file belongs to torsday/omnifocus-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.
curl -O https://raw.githubusercontent.com/torsday/omnifocus-mcp/main/AGENTS.mdgit clone --depth 1 https://github.com/torsday/omnifocus-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/instructions/torsday/omnifocus-mcp/agents-md)<a href="https://agentmods.dev/instructions/torsday/omnifocus-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/torsday/omnifocus-mcp/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.06885 | $0.06885 |
| Opus 5 | $0.03442 | $0.03442 |
| Sonnet 5 | $0.01377 | $0.01377 |
| Haiku 4.5 | $0.00688 | $0.00688 |
Grade A, and why
omnifocus-mcp AGENTS.md scanned grade A with 1 finding 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- **JXA bridge contention with concurrent MCP clients** (#932) — the JXA bridge is single-threaded, so each active Claude-client-spawned MCP server queues against the same bridge the integration suite uses. With 5+ Claud How it starts
The opening of the file, as written. The whole thing — 346 lines — stays where its author put it; the contents beside it link to each section on GitHub.
omnifocus-mcp
MCP server exposing the full OmniFocus surface to LLM agents via @modelcontextprotocol/sdk. TypeScript + Node.js. Talks to OmniFocus via JXA (primary) and OmniJS (fallback for features JXA can't reach).
Always-on engineering context
Follow the standards in, in priority order:
/coding— SOLID, pure functions, typed errors, Goldilocks testing/adr— options-first architecture, R/S/M eval, ADR discipline- MCP tool design: atomic, composable, rich responses, actionable errors, idempotency, circuit breakers
- Interaction style: direct, precise, no filler
Per-directory CLAUDE.md files
Three subtrees ship a directory-scoped CLAUDE.md — agents that respect Claude Code's auto-load convention pick these up automatically when working under the matching path. Read them before editing files in those areas; they capture invariants the source files don't restate.
src/scripts/jxa/CLAUDE.md—osascriptruntime distinction, OF 4.x quirks (container()notparent(),containingProject().class()exception handling), the two test harnesses (bridge mock vs sandboxed JS-eval).src/envelope/CLAUDE.md— response-envelope pipeline (project → elide → truncate → cap), defaults registry, the per-toolverbosecontract.src/tools/CLAUDE.md— adding a tool (4 touch points), descriptionShape lint, common pitfalls.
Finding tools: Read src/tools/INDEX.md for a one-line-per-tool index grouped by domain. Much cheaper than grepping across the tool source tree.
Project-specific conventions
- Adapter seam is sacred. Services never see
osascriptor URL schemes. TheOmniFocusAdapterinterface is the only boundary between domain logic and the OS. Tests swap inInMemoryAdapter. - Scripts are first-class source files. Every JXA/OmniJS script lives in
src/scripts/{jxa,omnijs}/*.js, parameterized viaJSON.parseof a single argument. No inline script strings in service code. - Tool naming:
<noun>_<verb>snake_case —task_list,task_create,project_mark_reviewed. Consistent verbs across nouns. - IDs only, never names. OmniFocus names collide and change. All references use OF's persistent IDs at the API boundary.
- Dates are ISO-8601 with offset at the adapter boundary. OF's local-time strings stay inside the adapter.
- Mutations invalidate the 30s LRU read cache. Never bypass the cache layer directly.
- Rich notes round-trip. Task notes expose both
note(plain) andnoteHtml(fidelity). Prefer plain on read unless explicitly requested. - Attachments by path, never bytes. Binary payloads don't belong in MCP text responses.
- Doc-size budgets.
AGENTS.md≤ 200 lines,src/**/CLAUDE.md≤ 80 lines each.pnpm lint:docsenforces these. Suppress with<!-- doc-size-lint-disable: reason -->if genuinely necessary (logged as a warning). Seescripts/lint-doc-sizes.tsfor the full budget table.
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 · 346 lines · 6,885 tokens per session scan A 4c48689322d7
omnifocus-mcp AGENTS.md is an instructions file published in the GitHub repository torsday/omnifocus-mcp (1 stars, last pushed 6d ago), licensed MIT. It adds 6,885 tokens to every session, about $0.0344 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.