跳到正文
Skillpedia
自动化77k · #2506

Toggl Automation

它能做什么

这个功能可以帮你用 Toggl Track 记录完成任务所花的时间。你可以记录时长、创建项目、管理客户,全部通过简单的文字指令完成。

适用场景

  • ✓开始一项新任务,想记录时间的时候。
  • ✓需要为某个客户新建项目的时候。
  • ✓想查看全部项目或客户的时候。

技能链接

https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/toggl-automation/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/toggl-automation/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“为“Marketing”项目记录 1 小时,标签为“Meeting”,描述为“Campaign discussion”。”

每周 5 个新技能,1 分钟读完。

工作原理

你输入想做的事,比如记录时间或创建项目。工具会理解你的请求,并调用 Toggl Track 来执行操作。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Toggl Automation

Automate your Toggl Track time tracking operations directly from Claude Code. Log time, manage projects and clients, organize with tags, and control workspaces -- all without leaving your terminal.

Toolkit docs: composio.dev/toolkits/toggl


Setup

  1. Add the Rube MCP server to your Claude Code config with URL: https://rube.app/mcp
  2. When prompted, authenticate your Toggl Track account through the connection link provided
  3. Start automating your time tracking workflows with natural language

Core Workflows

1. Create and Stop Time Entries

Log time with project, task, and tag associations, or start/stop timers.

Tools: TOGGL_CREATE_TIME_ENTRY, TOGGL_PATCH_STOP_TIME_ENTRY

Start a time entry in workspace 123456 for project 78910 tagged "meeting" and "design" with description "Design review session"

Key parameters for TOGGL_CREATE_TIME_ENTRY:

  • workspace_id (required) -- target workspace
  • created_with (required) -- client application name (e.g., "api_client")
  • start (required) -- ISO 8601 timestamp
  • stop -- ISO 8601 end time; omit to leave the entry running
  • duration -- duration in seconds; omit for running entries
  • project_id -- associate with a project
  • task_id -- associate with a task
  • tags -- array of tag name strings (not IDs)
  • description -- description of the work
  • billable -- billable status

Key parameters for TOGGL_PATCH_STOP_TIME_ENTRY:

  • workspace_id (required) and time_entry_id (required)

2. Manage Projects

Create new projects and list existing ones with client details and pagination.

Tools: TOGGL_CREATE_PROJECT, TOGGL_GET_PROJECTS, TOGGL_GET_PROJECT_DETAILS

Create a private billable project called "Q1 Marketing Campaign" in workspace 123456 for client 78910

Key parameters for TOGGL_CREATE_PROJECT:

  • workspace_id (required) and name (required)
  • client_id, billable, is_private, active, color
  • estimated_hours, rate, fixed_fee, currency (premium features)

Key parameters for TOGGL_GET_PROJECTS:

  • workspace_id (required)
  • page / page_size (1-200) for pagination
  • since / until -- Unix timestamps for modification filtering (last 3 months only)
  • clients: true to include full client details

3. Manage Clients

Create and list clients within a workspace.

Tools: TOGGL_CREATE_CLIENT, TOGGL_GET_LIST_CLIENTS

List all active clients in workspace 123456, then create a new client called "Acme Corp"
  • TOGGL_CREATE_CLIENT requires workspace_id and name; accepts notes, external_reference
  • TOGGL_GET_LIST_CLIENTS requires workspace_id; supports status ("active", "archived", "both") and name (case-insensitive search)

4. Tags and Workspace Preferences

Retrieve tags for categorization and check workspace settings.

Tools: TOGGL_GET_TAGS, TOGGL_GET_WORKSPACE_PREFERENCES

Show me all tags in workspace 123456 and the workspace preferences
  • TOGGL_GET_TAGS requires workspace_id; returns tag IDs and names
  • TOGGL_GET_WORKSPACE_PREFERENCES requires workspace_id; returns pricing plan and display settings

5. Workspace Discovery

List all workspaces the authenticated user belongs to.

Tool: TOGGL_GET_USER_WORKSPACES

What Toggl workspaces do I have access to?
  • No parameters required
  • Returns all workspaces with IDs, names, and metadata
  • Use this first to discover workspace IDs for other operations

6. User Project Visibility

List projects visible to the authenticated user.

Tool: TOGGL_GET_USER_PROJECTS

Show me all projects I can see across my workspaces
  • Returns projects the authenticated user has access to
  • Use alongside TOGGL_GET_PROJECTS for workspace-scoped views

Known Pitfalls

  • Tags use names, not IDs: TOGGL_CREATE_TIME_ENTRY accepts tag names as strings in the tags array, unlike many APIs that use IDs. Use TOGGL_GET_TAGS to verify available tag names.
  • created_with is required: Every time entry must include created_with (e.g., "api_client"). Missing this field causes silent failures.
  • Duration is in seconds: The duration parameter on time entries is in seconds, not hours. 1 hour = 3600 seconds.
  • since timestamp restriction: The since filter on TOGGL_GET_PROJECTS only allows timestamps within the last 3 months. Older queries will be rejected.

…

常见问题

我需要知道项目或客户的 ID 吗?

不需要,直接使用名称即可。工具会帮你找到正确的 ID。

怎么停止计时?

你可以说“停止项目 X 的计时”或“结束时间记录 Y”。

什么是“工作区”(workspace)?

工作区相当于 Toggl Track 里一个独立的账户空间。如果你为不同的公司工作,或者负责不同的项目,它会很有用。

详情

作者的原始描述

Automate time tracking workflows in Toggl Track -- create time entries, manage projects, clients, tags, and workspaces through natural language commands.

repo: ComposioHQ/awesome-claude-skills

热度

GitHub 星标
77k
排名
#2506
许可证
—
更新时间
2026/9/18

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能