{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/omnifocus-automation",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=omnifocus-automation",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/omnifocus.js"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/omnifocus-automation",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "OmniFocus",
        "body": "Control OmniFocus via JXA (JavaScript for Automation)."
      },
      {
        "title": "Requirements",
        "body": "macOS with OmniFocus 3 or 4 installed\nOmniFocus must be running (or will auto-launch)"
      },
      {
        "title": "Quick Reference",
        "body": "# Run via the wrapper script\n./scripts/of <command> [args...]\n\n# Or directly\nosascript -l JavaScript ./scripts/omnifocus.js <command> [args...]"
      },
      {
        "title": "List/Query",
        "body": "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"
      },
      {
        "title": "Create",
        "body": "CommandDescriptionadd <name> [project]Add task to inbox or projectnewproject <name> [folder]Create projectnewfolder <name>Create top-level foldernewtag <name>Create or get tag"
      },
      {
        "title": "Modify",
        "body": "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"
      },
      {
        "title": "Repeat",
        "body": "# repeat <taskId> <method> <interval> <unit>\nof repeat abc123 fixed 1 weeks\nof repeat abc123 due-after-completion 2 days\nof repeat abc123 defer-after-completion 1 months\nof unrepeat abc123\n\nMethods: fixed, due-after-completion, defer-after-completion\nUnits: days, weeks, months, years"
      },
      {
        "title": "Output Format",
        "body": "All commands return JSON. Success responses include \"success\": true. Errors include \"error\": \"message\".\n\n{\n  \"success\": true,\n  \"task\": {\n    \"id\": \"abc123\",\n    \"name\": \"Task name\",\n    \"note\": \"Notes here\",\n    \"flagged\": false,\n    \"completed\": false,\n    \"deferDate\": \"2026-01-30\",\n    \"dueDate\": \"2026-02-01\",\n    \"project\": \"Project Name\",\n    \"tags\": [\"tag1\", \"tag2\"],\n    \"repeat\": {\"method\": \"fixed\", \"rule\": \"RRULE:FREQ=WEEKLY;INTERVAL=1\"}\n  }\n}"
      },
      {
        "title": "Examples",
        "body": "# Add task to inbox\nof add \"Buy groceries\"\n\n# Add task to specific project\nof add \"Review docs\" \"Work Projects\"\n\n# Set due date and flag\nof due abc123 2026-02-01\nof flag abc123 true\n\n# Add tags\nof tag abc123 \"urgent\"\nof tag abc123 \"home\"\n\n# Create recurring task\nof add \"Weekly review\" \"Habits\"\nof repeat xyz789 fixed 1 weeks\n\n# Search and complete\nof search \"groceries\"\nof complete abc123\n\n# Get today's tasks\nof today"
      },
      {
        "title": "Notes",
        "body": "Task IDs are OmniFocus internal IDs (returned in all task responses)\nDates use ISO format: YYYY-MM-DD\nProject and folder names are case-sensitive\nTags are created automatically if they don't exist when using tag command\nAll output is JSON for easy parsing"
      },
      {
        "title": "Technical Details",
        "body": "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).\n\nThe hybrid approach provides:\n\nJSON output for easy parsing\nRobust escaping for special characters in tag names\nError handling with clear messages\n\nFirst run: OmniFocus may prompt to allow automation access. Enable this in System Settings > Privacy & Security > Automation."
      }
    ],
    "body": "OmniFocus\n\nControl OmniFocus via JXA (JavaScript for Automation).\n\nRequirements\nmacOS with OmniFocus 3 or 4 installed\nOmniFocus must be running (or will auto-launch)\nQuick Reference\n# Run via the wrapper script\n./scripts/of <command> [args...]\n\n# Or directly\nosascript -l JavaScript ./scripts/omnifocus.js <command> [args...]\n\nCommands\nList/Query\nCommand\tDescription\ninbox\tList inbox tasks\nfolders\tList all folders\nprojects [folder]\tList projects, optionally filtered by folder\ntasks <project>\tList tasks in a project\ntags\tList all tags\ntoday\tTasks due today or overdue\nflagged\tFlagged incomplete tasks\nsearch <query>\tSearch tasks by name\ninfo <taskId>\tFull task details\nCreate\nCommand\tDescription\nadd <name> [project]\tAdd task to inbox or project\nnewproject <name> [folder]\tCreate project\nnewfolder <name>\tCreate top-level folder\nnewtag <name>\tCreate or get tag\nModify\nCommand\tDescription\ncomplete <taskId>\tMark complete\nuncomplete <taskId>\tMark incomplete\ndelete <taskId>\tPermanently delete\nrename <taskId> <name>\tRename task\nnote <taskId> <text>\tAppend to note\nsetnote <taskId> <text>\tReplace note\ndefer <taskId> <date>\tSet defer date (YYYY-MM-DD)\ndue <taskId> <date>\tSet due date\nflag <taskId> [true|false]\tSet flagged\ntag <taskId> <tag>\tAdd tag (creates if needed)\nuntag <taskId> <tag>\tRemove tag\nmove <taskId> <project>\tMove to project\nRepeat\n# repeat <taskId> <method> <interval> <unit>\nof repeat abc123 fixed 1 weeks\nof repeat abc123 due-after-completion 2 days\nof repeat abc123 defer-after-completion 1 months\nof unrepeat abc123\n\n\nMethods: fixed, due-after-completion, defer-after-completion\nUnits: days, weeks, months, years\n\nOutput Format\n\nAll commands return JSON. Success responses include \"success\": true. Errors include \"error\": \"message\".\n\n{\n  \"success\": true,\n  \"task\": {\n    \"id\": \"abc123\",\n    \"name\": \"Task name\",\n    \"note\": \"Notes here\",\n    \"flagged\": false,\n    \"completed\": false,\n    \"deferDate\": \"2026-01-30\",\n    \"dueDate\": \"2026-02-01\",\n    \"project\": \"Project Name\",\n    \"tags\": [\"tag1\", \"tag2\"],\n    \"repeat\": {\"method\": \"fixed\", \"rule\": \"RRULE:FREQ=WEEKLY;INTERVAL=1\"}\n  }\n}\n\nExamples\n# Add task to inbox\nof add \"Buy groceries\"\n\n# Add task to specific project\nof add \"Review docs\" \"Work Projects\"\n\n# Set due date and flag\nof due abc123 2026-02-01\nof flag abc123 true\n\n# Add tags\nof tag abc123 \"urgent\"\nof tag abc123 \"home\"\n\n# Create recurring task\nof add \"Weekly review\" \"Habits\"\nof repeat xyz789 fixed 1 weeks\n\n# Search and complete\nof search \"groceries\"\nof complete abc123\n\n# Get today's tasks\nof today\n\nNotes\nTask IDs are OmniFocus internal IDs (returned in all task responses)\nDates use ISO format: YYYY-MM-DD\nProject and folder names are case-sensitive\nTags are created automatically if they don't exist when using tag command\nAll output is JSON for easy parsing\nTechnical Details\n\nThis 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).\n\nThe hybrid approach provides:\n\nJSON output for easy parsing\nRobust escaping for special characters in tag names\nError handling with clear messages\n\nFirst run: OmniFocus may prompt to allow automation access. Enable this in System Settings > Privacy & Security > Automation."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Coyote-git/omnifocus-automation",
    "publisherUrl": "https://clawhub.ai/Coyote-git/omnifocus-automation",
    "owner": "Coyote-git",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}