{
  "schemaVersion": "1.0",
  "item": {
    "slug": "motion",
    "name": "Motion",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/byungkyu/motion",
    "canonicalUrl": "https://clawhub.ai/byungkyu/motion",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/motion",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=motion",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "LICENSE.txt"
    ],
    "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-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.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/motion"
    },
    "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/motion",
    "agentPageUrl": "https://openagent3.xyz/skills/motion/agent",
    "manifestUrl": "https://openagent3.xyz/skills/motion/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/motion/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": "Motion",
        "body": "Access the Motion API with managed OAuth authentication. Manage tasks, projects, workspaces, comments, and recurring tasks with full CRUD operations."
      },
      {
        "title": "Quick Start",
        "body": "# List tasks\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/motion/v1/tasks')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Base URL",
        "body": "https://gateway.maton.ai/motion/{native-api-path}\n\nReplace {native-api-path} with the actual Motion API endpoint path. The gateway proxies requests to api.usemotion.com and automatically injects your OAuth token."
      },
      {
        "title": "Authentication",
        "body": "All requests require the Maton API key in the Authorization header:\n\nAuthorization: Bearer $MATON_API_KEY\n\nEnvironment Variable: Set your API key as MATON_API_KEY:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\""
      },
      {
        "title": "Getting Your API Key",
        "body": "Sign in or create an account at maton.ai\nGo to maton.ai/settings\nCopy your API key"
      },
      {
        "title": "Connection Management",
        "body": "Manage your Motion OAuth connections at https://ctrl.maton.ai."
      },
      {
        "title": "List Connections",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=motion&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Create Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'motion'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Get Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"motion\",\n    \"metadata\": {}\n  }\n}\n\nOpen the returned url in a browser to complete OAuth authorization."
      },
      {
        "title": "Delete Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Specifying Connection",
        "body": "If you have multiple Motion connections, specify which one to use with the Maton-Connection header:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/motion/v1/tasks')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nIf omitted, the gateway uses the default (oldest) active connection."
      },
      {
        "title": "Task Operations",
        "body": "List Tasks\n\nGET /motion/v1/tasks\n\nQuery Parameters:\n\nworkspaceId (string) - Filter by workspace\nprojectId (string) - Filter by project\nassigneeId (string) - Filter by assignee\nstatus (array) - Filter by status (cannot combine with includeAllStatuses)\nincludeAllStatuses (boolean) - Return tasks across all statuses\nlabel (string) - Filter by label\nname (string) - Search task names (case-insensitive)\ncursor (string) - Pagination cursor\n\nExample:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/motion/v1/tasks?workspaceId=WORKSPACE_ID')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nGet Task\n\nGET /motion/v1/tasks/{taskId}\n\nCreate Task\n\nPOST /motion/v1/tasks\nContent-Type: application/json\n\n{\n  \"name\": \"Task name\",\n  \"workspaceId\": \"WORKSPACE_ID\",\n  \"dueDate\": \"2024-03-15T10:00:00Z\",\n  \"duration\": 60,\n  \"priority\": \"HIGH\",\n  \"description\": \"Task description in markdown\",\n  \"projectId\": \"PROJECT_ID\",\n  \"assigneeId\": \"USER_ID\",\n  \"labels\": [\"label1\", \"label2\"],\n  \"autoScheduled\": {\n    \"startDate\": \"2024-03-14T09:00:00Z\",\n    \"deadlineType\": \"SOFT\",\n    \"schedule\": \"Work Hours\"\n  }\n}\n\nRequired Fields:\n\nname (string) - Task title\nworkspaceId (string) - Workspace ID\n\nOptional Fields:\n\ndueDate (datetime, ISO 8601) - Task deadline (required for scheduled tasks)\nduration (string | number) - \"NONE\", \"REMINDER\", or minutes (integer > 0)\nstatus (string) - Defaults to workspace default status\nprojectId (string) - Associated project\ndescription (string) - GitHub Flavored Markdown supported\npriority (string) - ASAP, HIGH, MEDIUM, or LOW\nlabels (array) - Label names to add\nassigneeId (string) - User ID for task assignment\nautoScheduled (object) - Auto-scheduling settings with startDate, deadlineType (HARD, SOFT, NONE), and schedule\n\nExample:\n\npython <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({\n    'name': 'New task',\n    'workspaceId': 'WORKSPACE_ID',\n    'priority': 'HIGH',\n    'duration': 30\n}).encode()\nreq = urllib.request.Request('https://gateway.maton.ai/motion/v1/tasks', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nUpdate Task\n\nPATCH /motion/v1/tasks/{taskId}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated task name\",\n  \"status\": \"Completed\",\n  \"priority\": \"LOW\"\n}\n\nDelete Task\n\nDELETE /motion/v1/tasks/{taskId}\n\nMove Task\n\nPOST /motion/v1/tasks/{taskId}/move\nContent-Type: application/json\n\n{\n  \"workspaceId\": \"NEW_WORKSPACE_ID\"\n}\n\nUnassign Task\n\nPOST /motion/v1/tasks/{taskId}/unassign"
      },
      {
        "title": "Project Operations",
        "body": "List Projects\n\nGET /motion/v1/projects?workspaceId={workspaceId}\n\nQuery Parameters:\n\nworkspaceId (string, required) - Workspace ID\ncursor (string) - Pagination cursor\n\nGet Project\n\nGET /motion/v1/projects/{projectId}\n\nCreate Project\n\nPOST /motion/v1/projects\nContent-Type: application/json\n\n{\n  \"name\": \"Project name\",\n  \"workspaceId\": \"WORKSPACE_ID\",\n  \"description\": \"Project description\",\n  \"dueDate\": \"2024-06-30T00:00:00Z\",\n  \"priority\": \"HIGH\",\n  \"labels\": [\"label1\"]\n}\n\nRequired Fields:\n\nname (string) - Project name\nworkspaceId (string) - Workspace ID\n\nOptional Fields:\n\ndueDate (datetime, ISO 8601) - Project deadline\ndescription (string) - HTML input accepted\nlabels (array) - Label names\npriority (string) - ASAP, HIGH, MEDIUM (default), or LOW\nprojectDefinitionId (string) - Template ID (requires stages array if provided)\nstages (array) - Stage objects for project templates"
      },
      {
        "title": "Workspace Operations",
        "body": "List Workspaces\n\nGET /motion/v1/workspaces"
      },
      {
        "title": "User Operations",
        "body": "List Users\n\nGET /motion/v1/users?workspaceId={workspaceId}\n\nQuery Parameters:\n\nworkspaceId (string) - Workspace ID (required if no teamId)\nteamId (string) - Team ID (required if no workspaceId)\n\nNote: You must provide either workspaceId or teamId.\n\nGet Current User\n\nGET /motion/v1/users/me"
      },
      {
        "title": "Comment Operations",
        "body": "List Comments\n\nGET /motion/v1/comments?taskId={taskId}\n\nQuery Parameters:\n\ntaskId (string, required) - Filter comments by task\ncursor (string) - Pagination cursor\n\nCreate Comment\n\nPOST /motion/v1/comments\nContent-Type: application/json\n\n{\n  \"taskId\": \"TASK_ID\",\n  \"content\": \"Comment in GitHub Flavored Markdown\"\n}\n\nRequired Fields:\n\ntaskId (string) - Task to comment on\n\nOptional Fields:\n\ncontent (string) - Comment content in GitHub Flavored Markdown"
      },
      {
        "title": "Recurring Task Operations",
        "body": "List Recurring Tasks\n\nGET /motion/v1/recurring-tasks?workspaceId={workspaceId}\n\nQuery Parameters:\n\nworkspaceId (string, required) - Filter by workspace\ncursor (string) - Pagination cursor\n\nCreate Recurring Task\n\nPOST /motion/v1/recurring-tasks\nContent-Type: application/json\n\n{\n  \"name\": \"Weekly review\",\n  \"workspaceId\": \"WORKSPACE_ID\",\n  \"frequency\": \"weekly\"\n}\n\nDelete Recurring Task\n\nDELETE /motion/v1/recurring-tasks/{recurringTaskId}"
      },
      {
        "title": "Schedule Operations",
        "body": "List Schedules\n\nGET /motion/v1/schedules"
      },
      {
        "title": "Status Operations",
        "body": "List Statuses\n\nGET /motion/v1/statuses?workspaceId={workspaceId}\n\nQuery Parameters:\n\nworkspaceId (string, required) - Filter by workspace"
      },
      {
        "title": "Custom Field Operations",
        "body": "List Custom Fields\n\nGET /motion/v1/custom-fields\n\nCreate Custom Field\n\nPOST /motion/v1/custom-fields\nContent-Type: application/json\n\n{\n  \"name\": \"Field name\",\n  \"type\": \"text\"\n}\n\nDelete Custom Field\n\nDELETE /motion/v1/custom-fields/{customFieldId}\n\nAdd Custom Field to Project\n\nPOST /motion/v1/custom-fields/{customFieldId}/project\nContent-Type: application/json\n\n{\n  \"projectId\": \"PROJECT_ID\"\n}\n\nAdd Custom Field to Task\n\nPOST /motion/v1/custom-fields/{customFieldId}/task\nContent-Type: application/json\n\n{\n  \"taskId\": \"TASK_ID\"\n}\n\nRemove Custom Field from Project\n\nDELETE /motion/v1/custom-fields/{customFieldId}/project\n\nRemove Custom Field from Task\n\nDELETE /motion/v1/custom-fields/{customFieldId}/task"
      },
      {
        "title": "Pagination",
        "body": "Motion uses cursor-based pagination:\n\nGET /motion/v1/tasks?cursor=CURSOR_VALUE\n\nResponse includes pagination metadata:\n\n{\n  \"tasks\": [...],\n  \"meta\": {\n    \"nextCursor\": \"abc123\",\n    \"pageSize\": 20\n  }\n}\n\nUse the nextCursor value in subsequent requests to retrieve more results."
      },
      {
        "title": "JavaScript",
        "body": "const response = await fetch(\n  'https://gateway.maton.ai/motion/v1/tasks',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst data = await response.json();"
      },
      {
        "title": "Python",
        "body": "import os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/motion/v1/tasks',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n)\ndata = response.json()"
      },
      {
        "title": "Notes",
        "body": "All timestamps use ISO 8601 format\nTask descriptions support GitHub Flavored Markdown\nProject descriptions accept HTML input\nPriority values: ASAP, HIGH, MEDIUM, LOW\nDeadline types for auto-scheduling: HARD, SOFT, NONE\nRate limits: 12 req/min (Individual), 120 req/min (Team)\nIMPORTANT: When using curl commands, use curl -g when URLs contain brackets to disable glob parsing\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments"
      },
      {
        "title": "Error Handling",
        "body": "StatusMeaning400Missing Motion connection or invalid request401Invalid or missing Maton API key429Rate limited4xx/5xxPassthrough error from Motion API"
      },
      {
        "title": "Resources",
        "body": "Motion API Documentation\nMotion API Reference\nMotion Cookbooks\nMaton Community\nMaton Support"
      }
    ],
    "body": "Motion\n\nAccess the Motion API with managed OAuth authentication. Manage tasks, projects, workspaces, comments, and recurring tasks with full CRUD operations.\n\nQuick Start\n# List tasks\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/motion/v1/tasks')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nBase URL\nhttps://gateway.maton.ai/motion/{native-api-path}\n\n\nReplace {native-api-path} with the actual Motion API endpoint path. The gateway proxies requests to api.usemotion.com and automatically injects your OAuth token.\n\nAuthentication\n\nAll requests require the Maton API key in the Authorization header:\n\nAuthorization: Bearer $MATON_API_KEY\n\n\nEnvironment Variable: Set your API key as MATON_API_KEY:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n\nGetting Your API Key\nSign in or create an account at maton.ai\nGo to maton.ai/settings\nCopy your API key\nConnection Management\n\nManage your Motion OAuth connections at https://ctrl.maton.ai.\n\nList Connections\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=motion&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nCreate Connection\npython <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'motion'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nGet Connection\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"motion\",\n    \"metadata\": {}\n  }\n}\n\n\nOpen the returned url in a browser to complete OAuth authorization.\n\nDelete Connection\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nSpecifying Connection\n\nIf you have multiple Motion connections, specify which one to use with the Maton-Connection header:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/motion/v1/tasks')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n\nIf omitted, the gateway uses the default (oldest) active connection.\n\nAPI Reference\nTask Operations\nList Tasks\nGET /motion/v1/tasks\n\n\nQuery Parameters:\n\nworkspaceId (string) - Filter by workspace\nprojectId (string) - Filter by project\nassigneeId (string) - Filter by assignee\nstatus (array) - Filter by status (cannot combine with includeAllStatuses)\nincludeAllStatuses (boolean) - Return tasks across all statuses\nlabel (string) - Filter by label\nname (string) - Search task names (case-insensitive)\ncursor (string) - Pagination cursor\n\nExample:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/motion/v1/tasks?workspaceId=WORKSPACE_ID')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nGet Task\nGET /motion/v1/tasks/{taskId}\n\nCreate Task\nPOST /motion/v1/tasks\nContent-Type: application/json\n\n{\n  \"name\": \"Task name\",\n  \"workspaceId\": \"WORKSPACE_ID\",\n  \"dueDate\": \"2024-03-15T10:00:00Z\",\n  \"duration\": 60,\n  \"priority\": \"HIGH\",\n  \"description\": \"Task description in markdown\",\n  \"projectId\": \"PROJECT_ID\",\n  \"assigneeId\": \"USER_ID\",\n  \"labels\": [\"label1\", \"label2\"],\n  \"autoScheduled\": {\n    \"startDate\": \"2024-03-14T09:00:00Z\",\n    \"deadlineType\": \"SOFT\",\n    \"schedule\": \"Work Hours\"\n  }\n}\n\n\nRequired Fields:\n\nname (string) - Task title\nworkspaceId (string) - Workspace ID\n\nOptional Fields:\n\ndueDate (datetime, ISO 8601) - Task deadline (required for scheduled tasks)\nduration (string | number) - \"NONE\", \"REMINDER\", or minutes (integer > 0)\nstatus (string) - Defaults to workspace default status\nprojectId (string) - Associated project\ndescription (string) - GitHub Flavored Markdown supported\npriority (string) - ASAP, HIGH, MEDIUM, or LOW\nlabels (array) - Label names to add\nassigneeId (string) - User ID for task assignment\nautoScheduled (object) - Auto-scheduling settings with startDate, deadlineType (HARD, SOFT, NONE), and schedule\n\nExample:\n\npython <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({\n    'name': 'New task',\n    'workspaceId': 'WORKSPACE_ID',\n    'priority': 'HIGH',\n    'duration': 30\n}).encode()\nreq = urllib.request.Request('https://gateway.maton.ai/motion/v1/tasks', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nUpdate Task\nPATCH /motion/v1/tasks/{taskId}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated task name\",\n  \"status\": \"Completed\",\n  \"priority\": \"LOW\"\n}\n\nDelete Task\nDELETE /motion/v1/tasks/{taskId}\n\nMove Task\nPOST /motion/v1/tasks/{taskId}/move\nContent-Type: application/json\n\n{\n  \"workspaceId\": \"NEW_WORKSPACE_ID\"\n}\n\nUnassign Task\nPOST /motion/v1/tasks/{taskId}/unassign\n\nProject Operations\nList Projects\nGET /motion/v1/projects?workspaceId={workspaceId}\n\n\nQuery Parameters:\n\nworkspaceId (string, required) - Workspace ID\ncursor (string) - Pagination cursor\nGet Project\nGET /motion/v1/projects/{projectId}\n\nCreate Project\nPOST /motion/v1/projects\nContent-Type: application/json\n\n{\n  \"name\": \"Project name\",\n  \"workspaceId\": \"WORKSPACE_ID\",\n  \"description\": \"Project description\",\n  \"dueDate\": \"2024-06-30T00:00:00Z\",\n  \"priority\": \"HIGH\",\n  \"labels\": [\"label1\"]\n}\n\n\nRequired Fields:\n\nname (string) - Project name\nworkspaceId (string) - Workspace ID\n\nOptional Fields:\n\ndueDate (datetime, ISO 8601) - Project deadline\ndescription (string) - HTML input accepted\nlabels (array) - Label names\npriority (string) - ASAP, HIGH, MEDIUM (default), or LOW\nprojectDefinitionId (string) - Template ID (requires stages array if provided)\nstages (array) - Stage objects for project templates\nWorkspace Operations\nList Workspaces\nGET /motion/v1/workspaces\n\nUser Operations\nList Users\nGET /motion/v1/users?workspaceId={workspaceId}\n\n\nQuery Parameters:\n\nworkspaceId (string) - Workspace ID (required if no teamId)\nteamId (string) - Team ID (required if no workspaceId)\n\nNote: You must provide either workspaceId or teamId.\n\nGet Current User\nGET /motion/v1/users/me\n\nComment Operations\nList Comments\nGET /motion/v1/comments?taskId={taskId}\n\n\nQuery Parameters:\n\ntaskId (string, required) - Filter comments by task\ncursor (string) - Pagination cursor\nCreate Comment\nPOST /motion/v1/comments\nContent-Type: application/json\n\n{\n  \"taskId\": \"TASK_ID\",\n  \"content\": \"Comment in GitHub Flavored Markdown\"\n}\n\n\nRequired Fields:\n\ntaskId (string) - Task to comment on\n\nOptional Fields:\n\ncontent (string) - Comment content in GitHub Flavored Markdown\nRecurring Task Operations\nList Recurring Tasks\nGET /motion/v1/recurring-tasks?workspaceId={workspaceId}\n\n\nQuery Parameters:\n\nworkspaceId (string, required) - Filter by workspace\ncursor (string) - Pagination cursor\nCreate Recurring Task\nPOST /motion/v1/recurring-tasks\nContent-Type: application/json\n\n{\n  \"name\": \"Weekly review\",\n  \"workspaceId\": \"WORKSPACE_ID\",\n  \"frequency\": \"weekly\"\n}\n\nDelete Recurring Task\nDELETE /motion/v1/recurring-tasks/{recurringTaskId}\n\nSchedule Operations\nList Schedules\nGET /motion/v1/schedules\n\nStatus Operations\nList Statuses\nGET /motion/v1/statuses?workspaceId={workspaceId}\n\n\nQuery Parameters:\n\nworkspaceId (string, required) - Filter by workspace\nCustom Field Operations\nList Custom Fields\nGET /motion/v1/custom-fields\n\nCreate Custom Field\nPOST /motion/v1/custom-fields\nContent-Type: application/json\n\n{\n  \"name\": \"Field name\",\n  \"type\": \"text\"\n}\n\nDelete Custom Field\nDELETE /motion/v1/custom-fields/{customFieldId}\n\nAdd Custom Field to Project\nPOST /motion/v1/custom-fields/{customFieldId}/project\nContent-Type: application/json\n\n{\n  \"projectId\": \"PROJECT_ID\"\n}\n\nAdd Custom Field to Task\nPOST /motion/v1/custom-fields/{customFieldId}/task\nContent-Type: application/json\n\n{\n  \"taskId\": \"TASK_ID\"\n}\n\nRemove Custom Field from Project\nDELETE /motion/v1/custom-fields/{customFieldId}/project\n\nRemove Custom Field from Task\nDELETE /motion/v1/custom-fields/{customFieldId}/task\n\nPagination\n\nMotion uses cursor-based pagination:\n\nGET /motion/v1/tasks?cursor=CURSOR_VALUE\n\n\nResponse includes pagination metadata:\n\n{\n  \"tasks\": [...],\n  \"meta\": {\n    \"nextCursor\": \"abc123\",\n    \"pageSize\": 20\n  }\n}\n\n\nUse the nextCursor value in subsequent requests to retrieve more results.\n\nCode Examples\nJavaScript\nconst response = await fetch(\n  'https://gateway.maton.ai/motion/v1/tasks',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst data = await response.json();\n\nPython\nimport os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/motion/v1/tasks',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n)\ndata = response.json()\n\nNotes\nAll timestamps use ISO 8601 format\nTask descriptions support GitHub Flavored Markdown\nProject descriptions accept HTML input\nPriority values: ASAP, HIGH, MEDIUM, LOW\nDeadline types for auto-scheduling: HARD, SOFT, NONE\nRate limits: 12 req/min (Individual), 120 req/min (Team)\nIMPORTANT: When using curl commands, use curl -g when URLs contain brackets to disable glob parsing\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments\nError Handling\nStatus\tMeaning\n400\tMissing Motion connection or invalid request\n401\tInvalid or missing Maton API key\n429\tRate limited\n4xx/5xx\tPassthrough error from Motion API\nResources\nMotion API Documentation\nMotion API Reference\nMotion Cookbooks\nMaton Community\nMaton Support"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/byungkyu/motion",
    "publisherUrl": "https://clawhub.ai/byungkyu/motion",
    "owner": "byungkyu",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/motion",
    "downloadUrl": "https://openagent3.xyz/downloads/motion",
    "agentUrl": "https://openagent3.xyz/skills/motion/agent",
    "manifestUrl": "https://openagent3.xyz/skills/motion/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/motion/agent.md"
  }
}