Agent skill · operations · sundial-org

omnifocus-2

Manage OmniFocus tasks via JavaScript for Automation (JXA) scripts. Use when the user asks Clawdbot to interact with OmniFocus, including - (1) Adding tasks to inbox, (2) Listing or searching tasks (inbox, available, flagged, overdue, due soon), (3) Completing tasks, (4) Updating task properties (notes, due dates, flags), (5) Getting OmniFocus statistics, (6) Reporting on task status, or (7) Acting on tasks in OmniFocus based on user queries.

Why this skill is useful

Adds 6 executable JXA scripts for comprehensive OmniFocus task management that aren't available in public documentation.

What it needs

Requires osascript installed locally. About 3k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.

What this skill does

OmniFocus Task Management Automate OmniFocus task management via JavaScript for Automation (JXA) scripts. Quick Start All scripts are located in the scripts/ directory and use JXA. Run with: Key Scripts: addtask.js - Add task to inbox listtasks.js - List tasks with filters searchtasks.js - Search tasks by keyword completetask.js - Complete a task by name updatetask.js - Update task properties getstats.js - Get OmniFocus statistics Core Operations Adding Tasks Examples: Returns: Task ID Listing Tasks Filters: inbox - Inbox tasks available - Available (unblocked) tasks (default) flagged - Flagged tasks due-soon - Due within 3 days overdue - Past due all - All incomplete tasks Returns: JSON array with task details (name, id, note, dueDate, flagged, project, tags) Searching Tasks Searches task names and notes. Case-insensitive. Returns: JSON array of matching tasks Completing Tasks Searches inbox first, then all tasks. Completes first match. Updating Tasks Examples: Getting Statistics Returns: JSON with counts: total, incomplete, inbox flagged, overdue, dueSoon available, blocked Usage Guidelines When Responding to User Queries 1. List tasks before acting on them to confirm targets 2. Parse JSON output for structured processing 3. Present results in user-friendly format (not raw JSON) 4. Confirm operations before completing or modifying tasks 5. Handle errors gracefully (task not found, etc.) Common Patterns Daily Review: Task Queries: Task Management: Output Handling Scripts return JSON for structured data. When presenting to users: 1. Parse the JSON 2. Format results clearly 3. Summarize counts and key information 4. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sundial-org/omnifocus-2

View the source on GitHub

Browse the @skills marketplace