Toggl Automation
它能做什么
这个功能可以帮你用 Toggl Track 记录完成任务所花的时间。你可以记录时长、创建项目、管理客户,全部通过简单的文字指令完成。
适用场景
- ✓开始一项新任务,想记录时间的时候。
- ✓需要为某个客户新建项目的时候。
- ✓想查看全部项目或客户的时候。
技能链接
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/toggl-automation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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
- Add the Rube MCP server to your Claude Code config with URL:
https://rube.app/mcp - When prompted, authenticate your Toggl Track account through the connection link provided
- 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 workspacecreated_with(required) -- client application name (e.g.,"api_client")start(required) -- ISO 8601 timestampstop-- ISO 8601 end time; omit to leave the entry runningduration-- duration in seconds; omit for running entriesproject_id-- associate with a projecttask_id-- associate with a tasktags-- array of tag name strings (not IDs)description-- description of the workbillable-- billable status
Key parameters for TOGGL_PATCH_STOP_TIME_ENTRY:
workspace_id(required) andtime_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) andname(required)client_id,billable,is_private,active,colorestimated_hours,rate,fixed_fee,currency(premium features)
Key parameters for TOGGL_GET_PROJECTS:
workspace_id(required)page/page_size(1-200) for paginationsince/until-- Unix timestamps for modification filtering (last 3 months only)clients: trueto 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_CLIENTrequiresworkspace_idandname; acceptsnotes,external_referenceTOGGL_GET_LIST_CLIENTSrequiresworkspace_id; supportsstatus("active","archived","both") andname(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_TAGSrequiresworkspace_id; returns tag IDs and namesTOGGL_GET_WORKSPACE_PREFERENCESrequiresworkspace_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_PROJECTSfor workspace-scoped views
Known Pitfalls
- Tags use names, not IDs:
TOGGL_CREATE_TIME_ENTRYaccepts tag names as strings in thetagsarray, unlike many APIs that use IDs. UseTOGGL_GET_TAGSto verify available tag names. created_withis required: Every time entry must includecreated_with(e.g.,"api_client"). Missing this field causes silent failures.- Duration is in seconds: The
durationparameter on time entries is in seconds, not hours. 1 hour = 3600 seconds. sincetimestamp restriction: Thesincefilter onTOGGL_GET_PROJECTSonly 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.
热度
- GitHub 星标
- 77k
- 排名
- #2506
- 许可证
- —
- 更新时间
- 2026/9/18
评论
- …
同一仓库的更多技能
artifacts-builder
77k帮助你的智能体构建复杂的用户界面。它借助现代技术,创建功能丰富的交互式网页。
brand-guidelines
77k帮助你的智能体把官方品牌色和字体应用到各类材料中。适合需要体现公司视觉形象的场景,保持视觉统一。
canvas-design
77k让你的智能体创作 .png 和 .pdf 格式的原创视觉作品。当用户需要海报、艺术作品或其他静态设计时使用。
changelog-generator
77k帮助你的智能体根据代码提交记录撰写面向用户的更新说明。它能把技术内容转换成通俗易懂的文字。