Awesome-claude-skills-cn Toggl Automation
通过自然语言命令自动化 Toggl Track 时间跟踪工作流——创建时间条目、管理项目、客户、标签和工作区。
git clone https://github.com/Athe1st3154/awesome-claude-skills-cn
T=$(mktemp -d) && git clone --depth=1 https://github.com/Athe1st3154/awesome-claude-skills-cn "$T" && mkdir -p ~/.claude/skills && cp -r "$T/composio-skills/toggl-automation" ~/.claude/skills/athe1st3154-awesome-claude-skills-cn-toggl-automation && rm -rf "$T"
composio-skills/toggl-automation/SKILL.mdToggl 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
设置
- 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:
(required) -- target workspaceworkspace_id
(required) -- client application name (e.g.,created_with
)"api_client"
(required) -- ISO 8601 timestampstart
-- ISO 8601 end time; omit to leave the entry runningstop
-- duration in seconds; omit for running entriesduration
-- associate with a projectproject_id
-- associate with a tasktask_id
-- array of tag name strings (not IDs)tags
-- description of the workdescription
-- billable statusbillable
Key parameters for
TOGGL_PATCH_STOP_TIME_ENTRY:
(required) andworkspace_id
(required)time_entry_id
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:
(required) andworkspace_id
(required)name
,client_id
,billable
,is_private
,activecolor
,estimated_hours
,rate
,fixed_fee
(premium features)currency
Key parameters for
TOGGL_GET_PROJECTS:
(required)workspace_id
/page
(1-200) for paginationpage_size
/since
-- Unix timestamps for modification filtering (last 3 months only)until
to include full client detailsclients: true
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"
requiresTOGGL_CREATE_CLIENT
andworkspace_id
; acceptsname
,notesexternal_reference
requiresTOGGL_GET_LIST_CLIENTS
; supportsworkspace_id
(status
,"active"
,"archived"
) and"both"
(case-insensitive search)name
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
requiresTOGGL_GET_TAGS
; returns tag IDs and namesworkspace_id
requiresTOGGL_GET_WORKSPACE_PREFERENCES
; returns pricing plan and display settingsworkspace_id
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
for workspace-scoped viewsTOGGL_GET_PROJECTS
已知陷阱
- Tags use names, not IDs:
accepts tag names as strings in theTOGGL_CREATE_TIME_ENTRY
array, unlike many APIs that use IDs. Usetags
to verify available tag names.TOGGL_GET_TAGS
is required: Every time entry must includecreated_with
(e.g.,created_with
). Missing this field causes silent failures."api_client"- Duration is in seconds: The
parameter on time entries is in seconds, not hours. 1 hour = 3600 seconds.duration
timestamp restriction: Thesince
filter onsince
only allows timestamps within the last 3 months. Older queries will be rejected.TOGGL_GET_PROJECTS- Premium features gated: Custom colors, templates, fixed fees, and hourly rates on projects require a premium Toggl plan. Non-premium accounts will get errors when using these fields.
- Workspace ID required everywhere: Nearly all Toggl tools require
. Always callworkspace_id
first to resolve it.TOGGL_GET_USER_WORKSPACES
快速参考
| Tool Slug | Description |
|---|---|
| Create a time entry or running timer (requires , , ) |
| Stop a running time entry (requires , ) |
| List projects in a workspace with pagination |
| Get details for a specific project |
| Create a new project (requires , ) |
| List clients with status/name filters (requires ) |
| Create a new client (requires , ) |
| List all tags in a workspace (requires ) |
| Get workspace settings (requires ) |
| List all workspaces for the authenticated user |
| List projects visible to the authenticated user |
由 Composio 提供支持