Manage 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.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install omnifocus-automation或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install omnifocus-automation⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/omnifocus-automation/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: omnifocus description: Manage 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. ---
Control 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.
安装 OmniFocus Automation 后,可以对 AI 说这些话来触发它
Help me get started with OmniFocus Automation
Explains what OmniFocus Automation does, walks through the setup, and runs a quick demo based on your current project
Use OmniFocus Automation to manage OmniFocus tasks, projects, and folders via Omni Automation
Invokes OmniFocus Automation with the right parameters and returns the result directly in the conversation
What can I do with OmniFocus Automation in my product manager workflow?
Lists the top use cases for OmniFocus Automation, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/omnifocus-automation/ 目录(个人级,所有项目可用),或 .claude/skills/omnifocus-automation/(项目级)。重启 AI 客户端后,用 /omnifocus-automation 主动调用,或让 AI 根据上下文自动发现并使用。
OmniFocus Automation 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
OmniFocus Automation 可免费安装使用。请查阅仓库了解许可证信息。
Manage 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.
OmniFocus Automation 属于「Product Manager」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my product manager tasks using OmniFocus Automation
Identifies repetitive steps in your workflow and sets up OmniFocus Automation to handle them automatically