omnifocus-mcp: Skill for Claude Code

.claude/skills/api-design/SKILL.md

api-design is a skill for Claude Code from s-morgan-jeffries/omnifocus-mcp. It costs 61 tokens per session (1,062 once invoked), scanned A, original, MIT.

A design guide for changing the OmniFocus MCP server's API. An API is the set of operations software exposes for other software to call.

In plain words
What is it for?
Use it before adding functions, parameters, or endpoints, or when evaluating feature requests and possible API changes.
Why use it?
It helps prevent unnecessary new operations and keeps API changes consistent with the server's existing design.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is s-morgan-jeffries/omnifocus-mcp's own configuration. It tells Claude Code how to work on omnifocus-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 omnifocus-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to s-morgan-jeffries/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.

Copy the file
curl -O https://raw.githubusercontent.com/s-morgan-jeffries/omnifocus-mcp/main/.claude/skills/api-design/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/s-morgan-jeffries/omnifocus-mcp

Made for: Claude Code.

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 api-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/s-morgan-jeffries/omnifocus-mcp/api-design/github.svg)](https://agentmods.dev/skills/s-morgan-jeffries/omnifocus-mcp/api-design)
Your own site
<a href="https://agentmods.dev/skills/s-morgan-jeffries/omnifocus-mcp/api-design"><img src="https://agentmods.dev/badge/skills/s-morgan-jeffries/omnifocus-mcp/api-design/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 api-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/s-morgan-jeffries/omnifocus-mcp/api-design"><img src="https://agentmods.dev/badge/skills/s-morgan-jeffries/omnifocus-mcp/api-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,062 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00061 $0.01062
Opus 5 $0.00030 $0.00531
Sonnet 5 $0.00012 $0.00212
Haiku 4.5 $0.00006 $0.00106

Measured 9d ago against content hash 881b49a6744f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

api-design 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 9d 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.

.claude/skills/api-design/SKILL.md · 126 lines

How it starts

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

OmniFocus MCP API Design

The API was consolidated from 40+ functions to 16 in October 2025. This consolidation is the project's most important architectural decision. Every new function request must pass through this decision tree.

Decision Tree: Use BEFORE Adding Any Function

Can existing update_X() handle this?  (90% of cases: YES)
  |-- Setting a field? -> update_task() or update_project()
  |-- Example: Flag a task -> update_task(task_id, flagged=True)
  |-- Example: Complete a task -> update_task(task_id, completed=True)
  |-- Example: Move to project -> update_task(task_id, project_id=X)
  |
Can existing get_X() handle this with a parameter?  (9% of cases: YES)
  |-- Filtering data? -> Add parameter to get_tasks() or get_projects()
  |-- Example: Overdue tasks -> get_tasks(overdue=True)
  |-- Example: Flagged tasks -> get_tasks(flagged_only=True)
  |
Is this truly specialized logic?  (1% of cases: MAYBE)
  |-- Positioning? Recursive? UI state?
  |-- Example: reorder_task() has before/after logic that doesn't fit update_task()
  |
If NO to all three: You might need a new function. This is rare.

Anti-Patterns (Never Do These)

Field-Specific Setters

# WRONG - creates API sprawl
set_due_date(task_id, date)
set_flag(task_id, True)
set_estimated_minutes(task_id, 30)
complete_task(task_id)
drop_task(task_id)
move_task(task_id, project_id)

# RIGHT - one comprehensive function
update_task(task_id, due_date=date, flagged=True, estimated_minutes=30)
update_task(task_id, completed=True)
update_task(task_id, status=TaskStatus.DROPPED)
update_task(task_id, project_id=project_id)

Specialized Filter Functions

# WRONG - each filter becomes a function
get_overdue_tasks()
get_stalled_projects()
get_flagged_tasks()
get_tasks_in_project(project_id)

# RIGHT - parameters on the existing function
get_tasks(overdue=True)
get_projects(stalled=True)
get_tasks(flagged_only=True)
get_tasks(project_id=project_id)

String Booleans

# WRONG
update_task(task_id, flagged="true")

# RIGHT
update_task(task_id, flagged=True)

Read the full file on GitHub · 126 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. 9d ago First seen · 126 lines · 61 tokens per session scan A 881b49a6744f

Subscribe to this mod's changes

api-design is a skill published in the GitHub repository s-morgan-jeffries/omnifocus-mcp (7 stars, last pushed 4mo ago), licensed MIT. It adds 61 tokens to every session and 1,062 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

add-provider

Add a new storage or service provider to the core package. Use when implementing a new backend for StorageService (e.g., a new database) or a new service provider (e.g., a new LLM backend).

cyanheads/mcp-ts-core · 47 tokens

blazemeter-api-monitoring

Comprehensive guide for BlazeMeter API Monitoring, including test creation, configuration, scripting, integrations, notifications, and management. Use when working with API Monitoring tests for (1) Creating and configuring API tests, (2) Writing custom scripts (Initial, Pre-request, Post-response), (3) Integrating…

Blazemeter/bzm-mcp · 142 tokens

diagnose-connectivity

Work out why a 3x-ui client cannot connect, in the order that finds the cause fastest — scope the outage, check the core, the inbound, the client's own limits, routing and outbounds, then the node. Use whenever someone reports "it stopped working", a client cannot connect, a site is unreachable through the proxy, or…

pyworkload/3x-ui-mcp · 83 tokens

aurora-backend-setup

Set up, build, or troubleshoot the AURORA Agent (bioprism) MCP server used by the aurora-backend plugin. Use when the aurora-agent MCP server fails to start, when its tools are missing from a session, when asked to install or build the aurora-agent backend, or when a bioprism build or test behaves strangely on Windows.

AURORA-NEURO/aurora-agent · 82 tokens

spotify-exhaustive-feature-sweep

Exhaustive feature sweep across Spotify domains — enumerate all endpoints into quantity-first tool proposals with quota flags and batched GitHub logging.

NovaLux12/spotify-mcp-server · 34 tokens

building-mcp-servers

Use this skill whenever the user wants to design, build, harden, review, or debug an MCP (Model Context Protocol) server — including "build me an MCP server for X", connecting an AI agent/Claude to a database or API, adding tools/resources to an existing MCP server, reviewing a contributor PR against an MCP server, or…

cyberreinxy/mcp-server-skill · 160 tokens