Community编程与开发github.com

ComposioHQ/Clockify-Automation

通过自然语言指令自动管理 Clockify 中的时间追踪工作流程——创建和管理时间条目、工作空间及用户。

Clockify-Automation 是什么?

Clockify Automation 是一个 AI 智能体技能(适用于 Claude Code 等平台),允许开发者直接在终端中使用自然语言自动化 Clockify 时间追踪操作。技能提供了强大的工具集,包括创建时间条目(支持项目、任务、标签关联及计费状态)、查询和删除时间条目、管理工作空间、获取用户信息以及控制运行中的计时器。该技能尤其适用于需要频繁记录工作日志的自由职业者、团队负责人或审计人员。它要求先调用工具发现工作空间 ID 和用户 ID,所有时间参数必须使用 ISO 8601 格式,并且需要注意每个工作空间只能有一个运行中的计时器。技能基于 Composio 平台构建,支持通过简单的自然语言指令完成复杂操作,而不离开开发环境。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComposioHQ/awesome-codex-skills/tree/main/composio-skills/clockify-automation

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Clockify 自动化

直接从 Claude Code 中自动化您的 Clockify 时间追踪操作。无需离开终端即可记录时间条目、查询历史数据、管理工作空间以及审计团队活动。

工具包文档: composio.dev/toolkits/clockify


设置

  1. 将 Rube MCP 服务器添加到您的 Claude Code 配置中,URL 为:https://rube.app/mcp
  2. 收到提示时,通过提供的连接链接验证您的 Clockify 账户
  3. 开始使用自然语言自动化您的时间追踪工作流程

核心工作流程

1. 创建时间条目

记录时间时关联项目、任务和标签,以及计费状态。

工具: CLOCKIFY_CREATE_TIME_ENTRY

记录 2 小时的工作,项目 ID 为 64a687e2,工作空间 ID 为 64a687e3,从今天 UTC 时间上午 9 点开始,描述为 "API 开发"

关键参数:

  • workspaceId(必需)——创建条目所在的工作空间
  • start(必需)——ISO 8601 开始时间(例如 2026-02-11T09:00:00Z)
  • end——ISO 8601 结束时间;省略则创建运行中的计时器
  • projectId——关联项目
  • taskId——关联任务
  • description——工作描述(0-3000 字符)
  • tagIds——标签 ID 数组
  • billable——条目是否计费
  • customFieldValues——自定义字段条目数组,包含 customFieldId 和 value

2. 查询时间条目

检索历史时间条目,用于报告、审计和开票。

工具: CLOCKIFY_GET_TIME_ENTRIES

获取工作空间 xyz789 中用户 abc123 从 2026 年 1 月开始的所有时间条目

关键参数:

  • workspaceId(必需)——要查询的工作空间
  • userId(必需)——要检索条目的用户
  • start/end——ISO 8601 日期范围过滤器
  • project——按项目 ID 过滤
  • task——按任务 ID 过滤
  • tags——逗号分隔的标签 ID
  • description——文本过滤器(部分匹配)
  • hydrated——设置为 true 以获取完整的项目/任务/标签对象而非仅 ID
  • in-progress——设置为 true 仅返回运行中的计时器
  • page/page-size——分页(默认为每页 50 条)

3. 删除时间条目

移除错误、重复或取消的时间条目。

工具: CLOCKIFY_DELETE_TIME_ENTRY

删除工作空间 64a687e3 中的时间条目 5b715448
  • 需要 workspaceId 和 id(时间条目 ID)
  • 用于清理错误导入或重复条目

4. 管理工作空间

列出已认证用户所属的所有工作空间。

工具: CLOCKIFY_GET_ALL_MY_WORKSPACES

显示我所有的 Clockify 工作空间
  • 可选 roles 过滤器——角色数组,如 ["WORKSPACE_ADMIN", "OWNER"]
  • 在创建或查询条目之前使用此工具发现工作空间 ID

5. 用户信息

检索当前用户详细信息并列出工作空间成员。

工具: CLOCKIFY_GET_CURRENTLY_LOGGED_IN_USER_INFO、CLOCKIFY_FIND_ALL_USERS_ON_WORKSPACE

我是以谁的身份登录的?然后列出工作空间 64a687e3 中的所有用户
  • CLOCKIFY_GET_CURRENTLY_LOGGED_IN_USER_INFO 返回已认证用户的个人资料(无需参数)
  • CLOCKIFY_FIND_ALL_USERS_ON_WORKSPACE 需要 workspaceId;支持 name、email 过滤和分页(page、page-size 最大 100)

6. 运行中的计时器管理

通过省略 end 来启动计时器,或检查运行中的条目。

工具: CLOCKIFY_CREATE_TIME_ENTRY、CLOCKIFY_GET_TIME_ENTRIES

在工作空间 xyz 的项目 abc 上启动一个计时器,描述为 "正在修复 bug"
  • 创建时不带 end 以启动运行中的计时器
  • 使用 CLOCKIFY_GET_TIME_ENTRIES 并设置 in-progress: true 来检查计时器是否正在运行

已知陷阱

  • 工作空间和用户 ID 是必需的: 大多数 Clockify 工具需要同时提供 workspaceId 和 userId。务必先调用 CLOCKIFY_GET_ALL_MY_WORKSPACES 和 CLOCKIFY_GET_CURRENTLY_LOGGED_IN_USER_INFO 来获取这些 ID。
  • ISO 8601 时间戳: 所有时间参数必须采用 ISO 8601 格式并包含时区(例如 2026-02-11T09:00:00Z)。省略时区会导致不可预知的行为。
  • 运行中的计时器: 一次只能运行一个计时器。如果另一个计时器已激活,创建不带 end 的新条目会失败。请先停止现有的计时器。
  • 分页默认值: CLOCKIFY_GET_TIME_ENTRIES 默认为每页 50 条。对于完整导出,请循环遍历页面直到不再返回结果。
  • 标签 ID 作用域为工作空间: 一个工作空间的标签 ID 不能在另一个工作空间中使用。始终在目标工作空间上下文内解析标签。

快速参考

工具 Slug描述
CLOCKIFY_CREATE_TIME_ENTRY创建时间条目或启动计时器(需要 workspaceId、start)
CLOCKIFY_GET_TIME_ENTRIES使用过滤器列出时间条目(需要 workspaceId、userId)
CLOCKIFY_DELETE_TIME_ENTRY删除时间条目(需要 workspaceId、id)
CLOCKIFY_GET_ALL_MY_WORKSPACES列出已认证用户的所有工作空间
CLOCKIFY_GET_CURRENTLY_LOGGED_IN_USER_INFO获取当前用户个人资料信息
CLOCKIFY_FIND_ALL_USERS_ON_WORKSPACE列出工作空间中的所有用户(需要 workspaceId)

由 Composio 提供支持

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ComposioHQ/-21risk-automation

Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/-2chat-automation

Automate 2chat tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/ably-automation

Automate Ably tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abstract-automation

Automate Abstract tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abuselpdb-automation

Automate Abuselpdb tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abyssale-automation

Automate Abyssale tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accelo-automation

Automate Accelo tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accredible-certificates-automation

Automate Accredible Certificates tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/acculynx-automation

Automate Acculynx tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/active-campaign-automation

Automate ActiveCampaign tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/addresszen-automation

Automate Addresszen tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adobe-automation

Automate Adobe tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adrapid-automation

Automate Adrapid tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adyntel-automation

Automate Adyntel tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aeroleads-automation

Automate Aeroleads tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aero-workflow-automation

Automate Aero Workflow tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinda-automation

Automate Affinda tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinity-automation

Automate Affinity tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agencyzoom-automation

Automate Agencyzoom tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agent-deep-links

Build, validate, and troubleshoot deep links for Codex, Cursor, VS Code, Visual Studio, and similar tools. Use when users ask for clickable links (especially in Slack) that open threads, files, folders, or app settings.

相关技能