# Send OmniFocus Automation to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "omnifocus-automation",
    "name": "OmniFocus Automation",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Coyote-git/omnifocus-automation",
    "canonicalUrl": "https://clawhub.ai/Coyote-git/omnifocus-automation",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/omnifocus-automation",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=omnifocus-automation",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/omnifocus.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/omnifocus-automation"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/omnifocus-automation",
    "downloadUrl": "https://openagent3.xyz/downloads/omnifocus-automation",
    "agentUrl": "https://openagent3.xyz/skills/omnifocus-automation/agent",
    "manifestUrl": "https://openagent3.xyz/skills/omnifocus-automation/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/omnifocus-automation/agent.md"
  }
}
```
## Documentation

### OmniFocus

Control OmniFocus via JXA (JavaScript for Automation).

### Requirements

macOS with OmniFocus 3 or 4 installed
OmniFocus must be running (or will auto-launch)

### Quick Reference

# Run via the wrapper script
./scripts/of <command> [args...]

# Or directly
osascript -l JavaScript ./scripts/omnifocus.js <command> [args...]

### List/Query

CommandDescriptioninboxList inbox tasksfoldersList all foldersprojects [folder]List projects, optionally filtered by foldertasks <project>List tasks in a projecttagsList all tagstodayTasks due today or overdueflaggedFlagged incomplete taskssearch <query>Search tasks by nameinfo <taskId>Full task details

### Create

CommandDescriptionadd <name> [project]Add task to inbox or projectnewproject <name> [folder]Create projectnewfolder <name>Create top-level foldernewtag <name>Create or get tag

### Modify

CommandDescriptioncomplete <taskId>Mark completeuncomplete <taskId>Mark incompletedelete <taskId>Permanently deleterename <taskId> <name>Rename tasknote <taskId> <text>Append to notesetnote <taskId> <text>Replace notedefer <taskId> <date>Set defer date (YYYY-MM-DD)due <taskId> <date>Set due dateflag <taskId> [true|false]Set flaggedtag <taskId> <tag>Add tag (creates if needed)untag <taskId> <tag>Remove tagmove <taskId> <project>Move to project

### Repeat

# 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

### Output Format

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"}
  }
}

### Examples

# 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

### Notes

Task IDs are OmniFocus internal IDs (returned in all task responses)
Dates use ISO format: YYYY-MM-DD
Project and folder names are case-sensitive
Tags are created automatically if they don't exist when using tag command
All output is JSON for easy parsing

### Technical Details

This 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:

JSON output for easy parsing
Robust escaping for special characters in tag names
Error handling with clear messages

First run: OmniFocus may prompt to allow automation access. Enable this in System Settings > Privacy & Security > Automation.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Coyote-git
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/omnifocus-automation)
- [Send to Agent page](https://openagent3.xyz/skills/omnifocus-automation/agent)
- [JSON manifest](https://openagent3.xyz/skills/omnifocus-automation/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/omnifocus-automation/agent.md)
- [Download page](https://openagent3.xyz/downloads/omnifocus-automation)