據 AlphaMoat 統計,截至 2026-09,OmniFocus 累計下載 3,428 次、獲 2 個星標,在全部 5,078 個 AI 技能中排名第 3,248 位,在「AI 智慧體」分類(969 個)中排名第 659 位。
| 平台 | 累計安裝 | 累計下載 | 星標 | 評論 |
|---|---|---|---|---|
| ClawHub ↗ | 102 | 3028 | 2 | - |
| SkillHub ↗ | 301 | 3428 | 2 | — |
各平台的計數口徑不同,統計時間不一致。
文件介紹預設文件的收件箱新增、篩選列表、名稱和備註搜尋、完成、屬性更新及統計,需 OmniFocus 執行。改動前列出匹配並確認確切目標,完成操作會取首個匹配;結果避免包含不必要的敏感備註。
資料釋出於 2026-10-27
以下是根據技能文件生成的示例,不代表實際執行結果。
2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。
| 月份 | 累計下載 | 環比 | 星標 |
|---|---|---|---|
| 2026-09 | 3428 | — | 2 |
| 2026-08 | 3009 | +4.2% | 2 |
| 2026-07 | 2889 | +8.3% | 2 |
| 2026-06 | 2668 | +4.6% | 2 |
| 2026-05 | 2551 | — | 2 |
| 2026-03 | 2306 | — | 1 |
以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。
--- name: omnifocus description: "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." --- # 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: ```bash osascript -l JavaScript scripts/<script-name>.js [args] ``` **Key Scripts:** - `add_task.js` - Add task to inbox - `list_tasks.js` - List tasks with filters - `search_tasks.js` - Search tasks by keyword - `complete_task.js` - Complete a task by name - `update_task.js` - Update task properties - `get_stats.js` - Get OmniFocus statistics ## Core Operations ### Adding Tasks ```bash osascript -l JavaScript scripts/add_task.js "Task name" ["Note"] ["YYYY-MM-DD"] ``` **Examples:** ```bash osascript -l JavaScript scripts/add_task.js "Buy groceries" osascript -l JavaScript scripts/add_task.js "Review doc" "Check sections 1-3" osascript -l JavaScript scripts/add_task.js "Submit report" "Q1" "2026-01-31" ``` **Returns:** Task ID ### Listing Tasks ```bash osascript -l JavaScript scripts/list_tasks.js [filter] [limit] ``` **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 ```bash osascript -l JavaScript scripts/search_tasks.js "keyword" [limit] ``` Searches task names and notes. Case-insensitive. **Returns:** JSON array of matching tasks ### Completing Tasks ```bash osascript -l JavaScript scripts/complete_task.js "Task name" ``` Searches inbox first, then all tasks. Completes first match. ### Updating Tasks ```bash osascript -l JavaScript scripts/update_task.js "Task name" [--note "text"] [--due "YYYY-MM-DD"] [--flag true/false] ``` **Examples:** ```bash osascript -l JavaScript scripts/update_task.js "Review" --note "Added notes" osascript -l JavaScript scripts/update_task.js "Submit" --due "2026-02-01" osascript -l JavaScript scripts/update_task.js "Important" --flag true ``` ### Getting Statistics ```bash osascript -l JavaScript scripts/get_stats.js ``` **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:** ```bash # Statistics overview osascript -l JavaScript scripts/get_stats.js # What needs attention osascript -l JavaScript scripts/list_tasks.js overdue osascript -l JavaScript scripts/list_tasks.js due-soon ``` **Task Queries:** ```bash # "What's in my inbox?" osascript -l JavaScript scripts/list_tasks.js inbox # "What are my next actions?" osascript -l JavaScript scripts/list_tasks.js available 10 # "Show my flagged tasks" osascript -l JavaScript scripts/list_tasks.js flagged ``` **Task Management:** ```bash # "Add a task to call John" osascript -l JavaScript scripts/add_task.js "Call John" # "Find tasks about the project" osascript -l JavaScript scripts/search_tasks.js "project" # "Mark 'Buy milk' as complete" osascript -l JavaScript scripts/complete_task.js "Buy milk" # "Flag the review task" osascript -l JavaScript scripts/update_task.js "Review" --flag true ``` ### 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. Highlight urgent items (overdue, due soon) **Example response format:** ``` Found 3 overdue tasks: • Submit Q1 report (due Jan 20) • Review contract (due Jan 23) • Call vendor (due Jan 24) And 5 tasks due in the next 3 days: • [list tasks] Would you like me to flag or update any of these? ``` ### Error Handling Common errors: - **Task not found** - Double-check name or search first - **No tasks** - Empty result, report clearly - **Invalid date** - Use YYYY-MM-DD format - **OmniFocus not running** - Scripts require OmniFocus ### Multi-Step Operations **Find then act:** ```bash # 1. Search for task RESULTS=$(osascript -l JavaScript scripts/search_tasks.js "meeting") # 2. Parse and identify target task name # 3. Complete the task osascript -l JavaScript scripts/complete_task.js "Team meeting notes" ``` ## Technical Reference For detailed API information and advanced usage, see: - **JXA API Reference:** `references/jxa-api.md` - Object model and methods - **Automation Guide:** `references/automation-guide.md` - Detailed script documentation and workflows Read these files when: - Building complex queries - Understanding OmniFocus data model - Implementing custom workflows - Debugging scripts ## Requirements - macOS - OmniFocus installed and running - Scripts have execute permissions (chmod +x) ## Notes - Scripts use JXA (JavaScript for Automation), not AppleScript - Task matching is case-sensitive for exact names, case-insensitive for searches - Date format: YYYY-MM-DD (ISO 8601) - All operations are performed on the default OmniFocus document - Scripts are read-only safe except for add, complete, and update operations
將開發過程中的經驗、錯誤與修正記錄為 Markdown 檔案,供日後重用並提升為工作區記憶。
用自然語言描述需求,在本機與遠端技能市場尋找技能並取得推薦。
給 AI agent 用的瀏覽器自動化命令列技能。
將使用者明確糾正與自我檢視整理成分層記憶,並依使用情況升級或封存。
在安裝第三方技能之前,按清單審查來源、許可權與危險模式的技能。
將代理記憶與跨技能狀態整理成具型別與約束的知識圖譜。
規劃 AI 代理主動跟進、工作記憶與回顧流程的工作區設定指南。
指導如何建立與更新有效 Claude 技能的寫作指南。
資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。