omnifocus-automationManage OmniFocus tasks, projects, and folders via Omni Automation. Use for task management, to-do lists, project tracking, GTD workflows, adding/completing/editing tasks, setting due dates, managing tags, and recurring tasks. Requires OmniFocus installed on macOS.
Install via ClawdBot CLI:
clawdbot install Coyote-git/omnifocus-automationControl OmniFocus via JXA (JavaScript for Automation).
# Run via the wrapper script
./scripts/of <command> [args...]
# Or directly
osascript -l JavaScript ./scripts/omnifocus.js <command> [args...]
| Command | Description |
|---------|-------------|
| inbox | List inbox tasks |
| folders | List all folders |
| projects [folder] | List projects, optionally filtered by folder |
| tasks | List tasks in a project |
| tags | List all tags |
| today | Tasks due today or overdue |
| flagged | Flagged incomplete tasks |
| search | Search tasks by name |
| info | Full task details |
| Command | Description |
|---------|-------------|
| add | Add task to inbox or project |
| newproject | Create project |
| newfolder | Create top-level folder |
| newtag | Create or get tag |
| Command | Description |
|---------|-------------|
| complete | Mark complete |
| uncomplete | Mark incomplete |
| delete | Permanently delete |
| rename | Rename task |
| note | Append to note |
| setnote | Replace note |
| defer | Set defer date (YYYY-MM-DD) |
| due | Set due date |
| flag | Set flagged |
| tag | Add tag (creates if needed) |
| untag | Remove tag |
| move | Move to project |
# repeat <taskId> <method> <interval> <unit>
of repeat abc123 fixed 1 weeks
of repeat abc123 due-after-completion 2 days
of repeat abc123 defer-after-completion 1 months
of unrepeat abc123
Methods: fixed, due-after-completion, defer-after-completion
Units: days, weeks, months, years
All commands return JSON. Success responses include "success": true. Errors include "error": "message".
{
"success": true,
"task": {
"id": "abc123",
"name": "Task name",
"note": "Notes here",
"flagged": false,
"completed": false,
"deferDate": "2026-01-30",
"dueDate": "2026-02-01",
"project": "Project Name",
"tags": ["tag1", "tag2"],
"repeat": {"method": "fixed", "rule": "RRULE:FREQ=WEEKLY;INTERVAL=1"}
}
}
# Add task to inbox
of add "Buy groceries"
# Add task to specific project
of add "Review docs" "Work Projects"
# Set due date and flag
of due abc123 2026-02-01
of flag abc123 true
# Add tags
of tag abc123 "urgent"
of tag abc123 "home"
# Create recurring task
of add "Weekly review" "Habits"
of repeat xyz789 fixed 1 weeks
# Search and complete
of search "groceries"
of complete abc123
# Get today's tasks
of today
tag commandThis skill uses JavaScript for Automation (JXA) for most operations, with AppleScript fallbacks for tag and repeat operations (due to known JXA type conversion bugs with these specific OmniFocus APIs).
The hybrid approach provides:
First run: OmniFocus may prompt to allow automation access. Enable this in System Settings > Privacy & Security > Automation.
Generated Mar 1, 2026
Individuals use the skill to automate daily task management, such as adding recurring chores, setting due dates for bills, and flagging urgent items. It integrates with GTD workflows by quickly moving tasks from inbox to projects and tagging them for context. This reduces manual entry time and ensures consistent task tracking across personal and home responsibilities.
Small teams or freelancers leverage the skill to manage project tasks, assign due dates, and track progress via command-line automation. For example, a team lead can create projects, add tasks with notes, and search for overdue items to prioritize work. This streamlines collaboration by providing a structured, scriptable interface for task updates without opening the OmniFocus GUI.
Researchers and students use the skill to organize study tasks, set deadlines for papers, and tag items by subject or priority. It helps manage recurring activities like weekly readings or lab work by automating repeat tasks and deferring items based on completion. This enhances focus on academic goals by reducing administrative overhead in task tracking.
Content creators, such as writers or video producers, automate task management for editorial calendars, script deadlines, and production schedules. They can add tasks with specific projects for different content types, flag high-priority items, and use search to quickly find pending assignments. This ensures timely delivery and efficient prioritization in fast-paced creative environments.
Offer a basic version of the skill for free to attract users, with premium features like advanced analytics, team collaboration dashboards, or integration with other apps via APIs for a subscription fee. Revenue is generated through monthly or annual plans targeting power users and small businesses who need enhanced automation capabilities beyond core task management.
Provide paid consulting to help organizations integrate the skill into their existing workflows, offering custom scripts, training sessions, and tailored automation solutions. Revenue comes from one-time project fees or ongoing support contracts, focusing on industries like legal, healthcare, or finance where specific compliance or process needs require personalized task management setups.
License the skill to larger companies for internal use, with added features such as audit logs, multi-user support, and security enhancements like encryption. Revenue is generated through annual enterprise licenses based on the number of users or installations, targeting sectors like technology or consulting firms that require scalable, secure task automation across teams.
💬 Integration Tip
Ensure OmniFocus is running and automation permissions are granted in System Settings; use the JSON output for easy parsing in scripts or other tools.
Manage Trello boards, lists, and cards via the Trello REST API.
Sync and query CalDAV calendars (iCloud, Google, Fastmail, Nextcloud, etc.) using vdirsyncer + khal. Works on Linux.
Manage tasks and projects in Todoist. Use when user asks about tasks, to-dos, reminders, or productivity.
Master OpenClaw's timing systems. Use for scheduling reliable reminders, setting up periodic maintenance (janitor jobs), and understanding when to use Cron v...
Calendar management and scheduling. Create events, manage meetings, and sync across calendar providers.
Kanban-style task management dashboard for AI assistants. Manage tasks via CLI or dashboard UI. Use when user mentions tasks, kanban, task board, mission con...