{
  "schemaVersion": "1.0",
  "item": {
    "slug": "clockify",
    "name": "Clockify",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/byungkyu/clockify",
    "canonicalUrl": "https://clawhub.ai/byungkyu/clockify",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/clockify",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clockify",
    "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",
      "slug": "clockify",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T12:02:32.628Z",
      "expiresAt": "2026-05-06T12:02:32.628Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clockify",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clockify",
        "contentDisposition": "attachment; filename=\"clockify-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "clockify"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/clockify"
    },
    "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/clockify",
    "agentPageUrl": "https://openagent3.xyz/skills/clockify/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clockify/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clockify/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": "Clockify",
        "body": "Access the Clockify API with managed OAuth authentication. Track time, manage projects, clients, tasks, tags, and workspaces."
      },
      {
        "title": "Quick Start",
        "body": "# Get current user\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/clockify/api/v1/user')\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/clockify/{native-api-path}\n\nReplace {native-api-path} with the actual Clockify API endpoint path. The gateway proxies requests to api.clockify.me and automatically injects your credentials."
      },
      {
        "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 Clockify 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=clockify&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': 'clockify'}).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\": \"13fe7b78-42ba-4b43-9631-69a4bf7091ec\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2026-02-13T09:18:02.529448Z\",\n    \"last_updated_time\": \"2026-02-13T09:18:09.334540Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"clockify\",\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 Clockify 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/clockify/api/v1/user')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '13fe7b78-42ba-4b43-9631-69a4bf7091ec')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nIf omitted, the gateway uses the default (oldest) active connection."
      },
      {
        "title": "User Operations",
        "body": "Get Current User\n\nGET /clockify/api/v1/user\n\nResponse:\n\n{\n  \"id\": \"698eeb9f5cd3a921db12069f\",\n  \"email\": \"user@example.com\",\n  \"name\": \"John Doe\",\n  \"activeWorkspace\": \"698eeb9e5cd3a921db120693\",\n  \"defaultWorkspace\": \"698eeb9e5cd3a921db120693\",\n  \"status\": \"ACTIVE\"\n}"
      },
      {
        "title": "Workspace Operations",
        "body": "List Workspaces\n\nGET /clockify/api/v1/workspaces\n\nGet Workspace\n\nGET /clockify/api/v1/workspaces/{workspaceId}\n\nCreate Workspace\n\nPOST /clockify/api/v1/workspaces\nContent-Type: application/json\n\n{\n  \"name\": \"My Workspace\"\n}\n\nList Workspace Users\n\nGET /clockify/api/v1/workspaces/{workspaceId}/users"
      },
      {
        "title": "Project Operations",
        "body": "List Projects\n\nGET /clockify/api/v1/workspaces/{workspaceId}/projects\n\nGet Project\n\nGET /clockify/api/v1/workspaces/{workspaceId}/projects/{projectId}\n\nCreate Project\n\nPOST /clockify/api/v1/workspaces/{workspaceId}/projects\nContent-Type: application/json\n\n{\n  \"name\": \"My Project\",\n  \"isPublic\": true,\n  \"clientId\": \"optional-client-id\"\n}\n\nResponse:\n\n{\n  \"id\": \"698f7cba4f748f6209ea8995\",\n  \"name\": \"My Project\",\n  \"clientId\": \"\",\n  \"workspaceId\": \"698eeb9e5cd3a921db120693\",\n  \"billable\": true,\n  \"color\": \"#1976D2\",\n  \"archived\": false,\n  \"public\": true\n}\n\nUpdate Project\n\nPUT /clockify/api/v1/workspaces/{workspaceId}/projects/{projectId}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Project Name\",\n  \"archived\": true\n}\n\nDelete Project\n\nDELETE /clockify/api/v1/workspaces/{workspaceId}/projects/{projectId}\n\nNote: You cannot delete active projects. Set archived: true first."
      },
      {
        "title": "Client Operations",
        "body": "List Clients\n\nGET /clockify/api/v1/workspaces/{workspaceId}/clients\n\nGet Client\n\nGET /clockify/api/v1/workspaces/{workspaceId}/clients/{clientId}\n\nCreate Client\n\nPOST /clockify/api/v1/workspaces/{workspaceId}/clients\nContent-Type: application/json\n\n{\n  \"name\": \"Acme Corp\",\n  \"address\": \"123 Main St\",\n  \"note\": \"Important client\"\n}\n\nResponse:\n\n{\n  \"id\": \"698f7cba0705b7d880830262\",\n  \"name\": \"Acme Corp\",\n  \"workspaceId\": \"698eeb9e5cd3a921db120693\",\n  \"archived\": false,\n  \"address\": \"123 Main St\",\n  \"note\": \"Important client\"\n}\n\nUpdate Client\n\nPUT /clockify/api/v1/workspaces/{workspaceId}/clients/{clientId}\nContent-Type: application/json\n\n{\n  \"name\": \"Acme Corporation\"\n}\n\nDelete Client\n\nDELETE /clockify/api/v1/workspaces/{workspaceId}/clients/{clientId}"
      },
      {
        "title": "Tag Operations",
        "body": "List Tags\n\nGET /clockify/api/v1/workspaces/{workspaceId}/tags\n\nGet Tag\n\nGET /clockify/api/v1/workspaces/{workspaceId}/tags/{tagId}\n\nCreate Tag\n\nPOST /clockify/api/v1/workspaces/{workspaceId}/tags\nContent-Type: application/json\n\n{\n  \"name\": \"urgent\"\n}\n\nResponse:\n\n{\n  \"id\": \"698f7cbbaa9e9f33e5fc0126\",\n  \"name\": \"urgent\",\n  \"workspaceId\": \"698eeb9e5cd3a921db120693\",\n  \"archived\": false\n}\n\nUpdate Tag\n\nPUT /clockify/api/v1/workspaces/{workspaceId}/tags/{tagId}\nContent-Type: application/json\n\n{\n  \"name\": \"high-priority\"\n}\n\nDelete Tag\n\nDELETE /clockify/api/v1/workspaces/{workspaceId}/tags/{tagId}"
      },
      {
        "title": "Task Operations",
        "body": "List Tasks on Project\n\nGET /clockify/api/v1/workspaces/{workspaceId}/projects/{projectId}/tasks\n\nGet Task\n\nGET /clockify/api/v1/workspaces/{workspaceId}/projects/{projectId}/tasks/{taskId}\n\nCreate Task\n\nPOST /clockify/api/v1/workspaces/{workspaceId}/projects/{projectId}/tasks\nContent-Type: application/json\n\n{\n  \"name\": \"Implement feature\",\n  \"assigneeIds\": [\"user-id-1\"],\n  \"estimate\": \"PT2H\",\n  \"billable\": true\n}\n\nResponse:\n\n{\n  \"id\": \"698f7cc4aa9e9f33e5fc017b\",\n  \"name\": \"Implement feature\",\n  \"projectId\": \"698f7cba4f748f6209ea8995\",\n  \"assigneeIds\": [],\n  \"estimate\": \"PT0S\",\n  \"status\": \"ACTIVE\",\n  \"billable\": true\n}\n\nUpdate Task\n\nPUT /clockify/api/v1/workspaces/{workspaceId}/projects/{projectId}/tasks/{taskId}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated task name\",\n  \"status\": \"DONE\"\n}\n\nDelete Task\n\nDELETE /clockify/api/v1/workspaces/{workspaceId}/projects/{projectId}/tasks/{taskId}\n\nNote: You cannot delete active tasks. Set status: \"DONE\" first."
      },
      {
        "title": "Time Entry Operations",
        "body": "Get User's Time Entries\n\nGET /clockify/api/v1/workspaces/{workspaceId}/user/{userId}/time-entries\n\nResponse:\n\n[\n  {\n    \"id\": \"698f7cc4aa9e9f33e5fc0180\",\n    \"description\": \"Working on project\",\n    \"userId\": \"698eeb9f5cd3a921db12069f\",\n    \"billable\": true,\n    \"projectId\": \"698f7cba4f748f6209ea8995\",\n    \"taskId\": null,\n    \"workspaceId\": \"698eeb9e5cd3a921db120693\",\n    \"timeInterval\": {\n      \"start\": \"2026-02-13T18:34:28Z\",\n      \"end\": \"2026-02-13T19:34:28Z\",\n      \"duration\": \"PT1H\"\n    }\n  }\n]\n\nCreate Time Entry\n\nPOST /clockify/api/v1/workspaces/{workspaceId}/time-entries\nContent-Type: application/json\n\n{\n  \"start\": \"2026-02-13T09:00:00Z\",\n  \"end\": \"2026-02-13T10:00:00Z\",\n  \"description\": \"Team meeting\",\n  \"projectId\": \"project-id\",\n  \"taskId\": \"task-id\",\n  \"tagIds\": [\"tag-id-1\", \"tag-id-2\"],\n  \"billable\": true\n}\n\nCreate Time Entry for Another User\n\nPOST /clockify/api/v1/workspaces/{workspaceId}/user/{userId}/time-entries\nContent-Type: application/json\n\n{\n  \"start\": \"2026-02-13T09:00:00Z\",\n  \"end\": \"2026-02-13T10:00:00Z\",\n  \"description\": \"Team meeting\"\n}\n\nGet Time Entry\n\nGET /clockify/api/v1/workspaces/{workspaceId}/time-entries/{timeEntryId}\n\nUpdate Time Entry\n\nPUT /clockify/api/v1/workspaces/{workspaceId}/time-entries/{timeEntryId}\nContent-Type: application/json\n\n{\n  \"start\": \"2026-02-13T09:00:00Z\",\n  \"end\": \"2026-02-13T11:00:00Z\",\n  \"description\": \"Extended meeting\"\n}\n\nDelete Time Entry\n\nDELETE /clockify/api/v1/workspaces/{workspaceId}/time-entries/{timeEntryId}\n\nStop Running Timer\n\nPATCH /clockify/api/v1/workspaces/{workspaceId}/user/{userId}/time-entries\nContent-Type: application/json\n\n{\n  \"end\": \"2026-02-13T17:00:00Z\"\n}\n\nGet In-Progress Time Entries\n\nGET /clockify/api/v1/workspaces/{workspaceId}/time-entries"
      },
      {
        "title": "Pagination",
        "body": "Clockify uses page-based pagination:\n\nGET /clockify/api/v1/workspaces/{workspaceId}/projects?page=1&page-size=50\n\nQuery Parameters:\n\npage - Page number (1-indexed, default: 1)\npage-size - Items per page (default varies by endpoint)\n\nResponse includes a Last-Page header indicating if there are more pages."
      },
      {
        "title": "JavaScript",
        "body": "const response = await fetch(\n  'https://gateway.maton.ai/clockify/api/v1/workspaces',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst workspaces = await response.json();"
      },
      {
        "title": "Python",
        "body": "import os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/clockify/api/v1/workspaces',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n)\nworkspaces = response.json()"
      },
      {
        "title": "Create Time Entry (Python)",
        "body": "import os\nimport requests\nfrom datetime import datetime, timedelta, timezone\n\nworkspace_id = \"your-workspace-id\"\nstart_time = (datetime.now(timezone.utc) - timedelta(hours=1)).isoformat().replace('+00:00', 'Z')\nend_time = datetime.now(timezone.utc).isoformat().replace('+00:00', 'Z')\n\nresponse = requests.post(\n    f'https://gateway.maton.ai/clockify/api/v1/workspaces/{workspace_id}/time-entries',\n    headers={\n        'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}',\n        'Content-Type': 'application/json'\n    },\n    json={\n        'start': start_time,\n        'end': end_time,\n        'description': 'Working on feature'\n    }\n)"
      },
      {
        "title": "Notes",
        "body": "All IDs are string identifiers\nTimestamps must be in ISO 8601 format with UTC timezone (e.g., 2026-02-13T09:00:00Z)\nDuration format uses ISO 8601 duration (e.g., PT1H for 1 hour, PT30M for 30 minutes)\nCannot delete active projects or tasks - must archive them first\nRate limit: 50 requests per second per workspace\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 Clockify connection or invalid request401Invalid or missing Maton API key403Insufficient permissions404Resource not found429Rate limited (50 req/sec per workspace)4xx/5xxPassthrough error from Clockify API"
      },
      {
        "title": "Troubleshooting: API Key Issues",
        "body": "Check that the MATON_API_KEY environment variable is set:\n\necho $MATON_API_KEY\n\nVerify the API key is valid by listing connections:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Troubleshooting: Invalid App Name",
        "body": "Ensure your URL path starts with clockify. For example:\n\nCorrect: https://gateway.maton.ai/clockify/api/v1/user\nIncorrect: https://gateway.maton.ai/api/v1/user"
      },
      {
        "title": "Resources",
        "body": "Clockify API Documentation\nClockify API Reference\nMaton Community\nMaton Support"
      }
    ],
    "body": "Clockify\n\nAccess the Clockify API with managed OAuth authentication. Track time, manage projects, clients, tasks, tags, and workspaces.\n\nQuick Start\n# Get current user\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/clockify/api/v1/user')\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/clockify/{native-api-path}\n\n\nReplace {native-api-path} with the actual Clockify API endpoint path. The gateway proxies requests to api.clockify.me and automatically injects your credentials.\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 Clockify 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=clockify&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': 'clockify'}).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\": \"13fe7b78-42ba-4b43-9631-69a4bf7091ec\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2026-02-13T09:18:02.529448Z\",\n    \"last_updated_time\": \"2026-02-13T09:18:09.334540Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"clockify\",\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 Clockify 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/clockify/api/v1/user')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '13fe7b78-42ba-4b43-9631-69a4bf7091ec')\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\nUser Operations\nGet Current User\nGET /clockify/api/v1/user\n\n\nResponse:\n\n{\n  \"id\": \"698eeb9f5cd3a921db12069f\",\n  \"email\": \"user@example.com\",\n  \"name\": \"John Doe\",\n  \"activeWorkspace\": \"698eeb9e5cd3a921db120693\",\n  \"defaultWorkspace\": \"698eeb9e5cd3a921db120693\",\n  \"status\": \"ACTIVE\"\n}\n\nWorkspace Operations\nList Workspaces\nGET /clockify/api/v1/workspaces\n\nGet Workspace\nGET /clockify/api/v1/workspaces/{workspaceId}\n\nCreate Workspace\nPOST /clockify/api/v1/workspaces\nContent-Type: application/json\n\n{\n  \"name\": \"My Workspace\"\n}\n\nList Workspace Users\nGET /clockify/api/v1/workspaces/{workspaceId}/users\n\nProject Operations\nList Projects\nGET /clockify/api/v1/workspaces/{workspaceId}/projects\n\nGet Project\nGET /clockify/api/v1/workspaces/{workspaceId}/projects/{projectId}\n\nCreate Project\nPOST /clockify/api/v1/workspaces/{workspaceId}/projects\nContent-Type: application/json\n\n{\n  \"name\": \"My Project\",\n  \"isPublic\": true,\n  \"clientId\": \"optional-client-id\"\n}\n\n\nResponse:\n\n{\n  \"id\": \"698f7cba4f748f6209ea8995\",\n  \"name\": \"My Project\",\n  \"clientId\": \"\",\n  \"workspaceId\": \"698eeb9e5cd3a921db120693\",\n  \"billable\": true,\n  \"color\": \"#1976D2\",\n  \"archived\": false,\n  \"public\": true\n}\n\nUpdate Project\nPUT /clockify/api/v1/workspaces/{workspaceId}/projects/{projectId}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Project Name\",\n  \"archived\": true\n}\n\nDelete Project\nDELETE /clockify/api/v1/workspaces/{workspaceId}/projects/{projectId}\n\n\nNote: You cannot delete active projects. Set archived: true first.\n\nClient Operations\nList Clients\nGET /clockify/api/v1/workspaces/{workspaceId}/clients\n\nGet Client\nGET /clockify/api/v1/workspaces/{workspaceId}/clients/{clientId}\n\nCreate Client\nPOST /clockify/api/v1/workspaces/{workspaceId}/clients\nContent-Type: application/json\n\n{\n  \"name\": \"Acme Corp\",\n  \"address\": \"123 Main St\",\n  \"note\": \"Important client\"\n}\n\n\nResponse:\n\n{\n  \"id\": \"698f7cba0705b7d880830262\",\n  \"name\": \"Acme Corp\",\n  \"workspaceId\": \"698eeb9e5cd3a921db120693\",\n  \"archived\": false,\n  \"address\": \"123 Main St\",\n  \"note\": \"Important client\"\n}\n\nUpdate Client\nPUT /clockify/api/v1/workspaces/{workspaceId}/clients/{clientId}\nContent-Type: application/json\n\n{\n  \"name\": \"Acme Corporation\"\n}\n\nDelete Client\nDELETE /clockify/api/v1/workspaces/{workspaceId}/clients/{clientId}\n\nTag Operations\nList Tags\nGET /clockify/api/v1/workspaces/{workspaceId}/tags\n\nGet Tag\nGET /clockify/api/v1/workspaces/{workspaceId}/tags/{tagId}\n\nCreate Tag\nPOST /clockify/api/v1/workspaces/{workspaceId}/tags\nContent-Type: application/json\n\n{\n  \"name\": \"urgent\"\n}\n\n\nResponse:\n\n{\n  \"id\": \"698f7cbbaa9e9f33e5fc0126\",\n  \"name\": \"urgent\",\n  \"workspaceId\": \"698eeb9e5cd3a921db120693\",\n  \"archived\": false\n}\n\nUpdate Tag\nPUT /clockify/api/v1/workspaces/{workspaceId}/tags/{tagId}\nContent-Type: application/json\n\n{\n  \"name\": \"high-priority\"\n}\n\nDelete Tag\nDELETE /clockify/api/v1/workspaces/{workspaceId}/tags/{tagId}\n\nTask Operations\nList Tasks on Project\nGET /clockify/api/v1/workspaces/{workspaceId}/projects/{projectId}/tasks\n\nGet Task\nGET /clockify/api/v1/workspaces/{workspaceId}/projects/{projectId}/tasks/{taskId}\n\nCreate Task\nPOST /clockify/api/v1/workspaces/{workspaceId}/projects/{projectId}/tasks\nContent-Type: application/json\n\n{\n  \"name\": \"Implement feature\",\n  \"assigneeIds\": [\"user-id-1\"],\n  \"estimate\": \"PT2H\",\n  \"billable\": true\n}\n\n\nResponse:\n\n{\n  \"id\": \"698f7cc4aa9e9f33e5fc017b\",\n  \"name\": \"Implement feature\",\n  \"projectId\": \"698f7cba4f748f6209ea8995\",\n  \"assigneeIds\": [],\n  \"estimate\": \"PT0S\",\n  \"status\": \"ACTIVE\",\n  \"billable\": true\n}\n\nUpdate Task\nPUT /clockify/api/v1/workspaces/{workspaceId}/projects/{projectId}/tasks/{taskId}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated task name\",\n  \"status\": \"DONE\"\n}\n\nDelete Task\nDELETE /clockify/api/v1/workspaces/{workspaceId}/projects/{projectId}/tasks/{taskId}\n\n\nNote: You cannot delete active tasks. Set status: \"DONE\" first.\n\nTime Entry Operations\nGet User's Time Entries\nGET /clockify/api/v1/workspaces/{workspaceId}/user/{userId}/time-entries\n\n\nResponse:\n\n[\n  {\n    \"id\": \"698f7cc4aa9e9f33e5fc0180\",\n    \"description\": \"Working on project\",\n    \"userId\": \"698eeb9f5cd3a921db12069f\",\n    \"billable\": true,\n    \"projectId\": \"698f7cba4f748f6209ea8995\",\n    \"taskId\": null,\n    \"workspaceId\": \"698eeb9e5cd3a921db120693\",\n    \"timeInterval\": {\n      \"start\": \"2026-02-13T18:34:28Z\",\n      \"end\": \"2026-02-13T19:34:28Z\",\n      \"duration\": \"PT1H\"\n    }\n  }\n]\n\nCreate Time Entry\nPOST /clockify/api/v1/workspaces/{workspaceId}/time-entries\nContent-Type: application/json\n\n{\n  \"start\": \"2026-02-13T09:00:00Z\",\n  \"end\": \"2026-02-13T10:00:00Z\",\n  \"description\": \"Team meeting\",\n  \"projectId\": \"project-id\",\n  \"taskId\": \"task-id\",\n  \"tagIds\": [\"tag-id-1\", \"tag-id-2\"],\n  \"billable\": true\n}\n\nCreate Time Entry for Another User\nPOST /clockify/api/v1/workspaces/{workspaceId}/user/{userId}/time-entries\nContent-Type: application/json\n\n{\n  \"start\": \"2026-02-13T09:00:00Z\",\n  \"end\": \"2026-02-13T10:00:00Z\",\n  \"description\": \"Team meeting\"\n}\n\nGet Time Entry\nGET /clockify/api/v1/workspaces/{workspaceId}/time-entries/{timeEntryId}\n\nUpdate Time Entry\nPUT /clockify/api/v1/workspaces/{workspaceId}/time-entries/{timeEntryId}\nContent-Type: application/json\n\n{\n  \"start\": \"2026-02-13T09:00:00Z\",\n  \"end\": \"2026-02-13T11:00:00Z\",\n  \"description\": \"Extended meeting\"\n}\n\nDelete Time Entry\nDELETE /clockify/api/v1/workspaces/{workspaceId}/time-entries/{timeEntryId}\n\nStop Running Timer\nPATCH /clockify/api/v1/workspaces/{workspaceId}/user/{userId}/time-entries\nContent-Type: application/json\n\n{\n  \"end\": \"2026-02-13T17:00:00Z\"\n}\n\nGet In-Progress Time Entries\nGET /clockify/api/v1/workspaces/{workspaceId}/time-entries\n\nPagination\n\nClockify uses page-based pagination:\n\nGET /clockify/api/v1/workspaces/{workspaceId}/projects?page=1&page-size=50\n\n\nQuery Parameters:\n\npage - Page number (1-indexed, default: 1)\npage-size - Items per page (default varies by endpoint)\n\nResponse includes a Last-Page header indicating if there are more pages.\n\nCode Examples\nJavaScript\nconst response = await fetch(\n  'https://gateway.maton.ai/clockify/api/v1/workspaces',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst workspaces = await response.json();\n\nPython\nimport os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/clockify/api/v1/workspaces',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n)\nworkspaces = response.json()\n\nCreate Time Entry (Python)\nimport os\nimport requests\nfrom datetime import datetime, timedelta, timezone\n\nworkspace_id = \"your-workspace-id\"\nstart_time = (datetime.now(timezone.utc) - timedelta(hours=1)).isoformat().replace('+00:00', 'Z')\nend_time = datetime.now(timezone.utc).isoformat().replace('+00:00', 'Z')\n\nresponse = requests.post(\n    f'https://gateway.maton.ai/clockify/api/v1/workspaces/{workspace_id}/time-entries',\n    headers={\n        'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}',\n        'Content-Type': 'application/json'\n    },\n    json={\n        'start': start_time,\n        'end': end_time,\n        'description': 'Working on feature'\n    }\n)\n\nNotes\nAll IDs are string identifiers\nTimestamps must be in ISO 8601 format with UTC timezone (e.g., 2026-02-13T09:00:00Z)\nDuration format uses ISO 8601 duration (e.g., PT1H for 1 hour, PT30M for 30 minutes)\nCannot delete active projects or tasks - must archive them first\nRate limit: 50 requests per second per workspace\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 Clockify connection or invalid request\n401\tInvalid or missing Maton API key\n403\tInsufficient permissions\n404\tResource not found\n429\tRate limited (50 req/sec per workspace)\n4xx/5xx\tPassthrough error from Clockify API\nTroubleshooting: API Key Issues\nCheck that the MATON_API_KEY environment variable is set:\necho $MATON_API_KEY\n\nVerify the API key is valid by listing connections:\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nTroubleshooting: Invalid App Name\nEnsure your URL path starts with clockify. For example:\nCorrect: https://gateway.maton.ai/clockify/api/v1/user\nIncorrect: https://gateway.maton.ai/api/v1/user\nResources\nClockify API Documentation\nClockify API Reference\nMaton Community\nMaton Support"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/byungkyu/clockify",
    "publisherUrl": "https://clawhub.ai/byungkyu/clockify",
    "owner": "byungkyu",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/clockify",
    "downloadUrl": "https://openagent3.xyz/downloads/clockify",
    "agentUrl": "https://openagent3.xyz/skills/clockify/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clockify/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clockify/agent.md"
  }
}