Skip to content
Back to skills

Toggl

ASecurity

Track time and pull reports from Toggl Track. Use this skill whenever the user wants to start a timer, stop a timer, log time, check what's running, see time reports, or anything related to time tracking. Trigger on phrases like "start timer", "stop timer", "log time", "track time", "how much time", "time report", "what am I tracking", "toggl", "timesheet", or any mention of time tracking or Toggl.

  • 15 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 7, 2026
ai-agentsapi

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add MSApps-Mobile/claude-plugins --skill toggl --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Toggl?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Toggl
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/msapps-mobile-toggl/badge)](https://www.skillsdirectory.com/skills/msapps-mobile-toggl)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: toggl
description: >
  Track time and pull reports from Toggl Track.
  Use this skill whenever the user wants to start a timer, stop a timer, log time,
  check what's running, see time reports, or anything related to time tracking.
  Trigger on phrases like "start timer", "stop timer", "log time", "track time",
  "how much time", "time report", "what am I tracking", "toggl", "timesheet",
  or any mention of time tracking or Toggl.
---

# Toggl Time Tracker

Track time and pull reports via the Toggl Track API v9, using the `toggl_api` tool of this plugin's `toggl` MCP server.

The user's API token is a sensitive plugin option (entered when the plugin is enabled). The server adds authentication itself, so you never see, read, print or send the token. Do not look for it in files or environment variables.

---

## Step 1: Find the workspace

Call `toggl_api` with `GET /me`. Use `default_workspace_id` from the response as `WORKSPACE`, unless the user names another one (list them with `GET /me/workspaces`).

- If the tool says Toggl is not configured, or the response is HTTP 401/403, tell the user to open the plugin options (`/plugin`, then toggl-time-tracker) and enter their Toggl API token from https://track.toggl.com/profile (scroll to "API Token"). Stop here.

---

## Start a timer

`POST /workspaces/{WORKSPACE}/time_entries` with body:

```json
{
  "created_with": "claude-toggl-plugin",
  "description": "<what the user is working on>",
  "workspace_id": <WORKSPACE>,
  "start": "<current UTC time, ISO 8601, e.g. 2026-01-31T09:30:00Z>",
  "duration": -1,
  "project_id": <project_id or null>,
  "tags": [<optional tags>]
}
```

- `duration: -1` means the timer is running
- Keep the response `id` (needed to stop the timer)
- Tell the user: "Timer started: <description>"

---

## Stop the running timer

First `GET /me/time_entries/current`. If it is `null`, tell the user no timer is running.

Otherwise take its `id` and `workspace_id` and call `PATCH /workspaces/{workspace_id}/time_entries/{id}/stop` (no body). Tell the user what was stopped (description) and how long it ran (from start and stop).

---

## Check what's currently running

`GET /me/time_entries/current`. If `null`: "No timer running." Otherwise show description, project, and how long it has been running.

---

## Log a completed time entry

For time already spent (not a running timer): `POST /workspaces/{WORKSPACE}/time_entries` with the same body as above, but with `start`, `stop` (ISO 8601) and `duration` in seconds (it must equal stop minus start). Ask the user for details that are missing.

---

## List recent time entries

`GET /me/time_entries?start_date=<YYYY-MM-DD>&end_date=<YYYY-MM-DD>` (use today's UTC date for both for "today").

Format the results as a clean summary: group by project, show description, duration (human-readable) and tags, and the total hours.

---

## List projects

`GET /workspaces/{WORKSPACE}/projects?active=true`. Use this to help the user pick a project when starting a timer.

---

## List workspaces

`GET /me/workspaces`. Use it when the user needs to switch workspaces.

---

## Weekly summary report

Compute the Monday and Sunday (UTC) of the current week, fetch entries for that range as above, and summarize: total hours this week, hours per project, hours per day, top tags.

---

## Error handling

- **401/403**: Auth failed. Tell the user to re-enter their API token in the plugin options.
- **429**: Rate limited. Wait and retry (free tier: 30 req/hour).
- **404**: Resource not found. Check the workspace ID or entry ID.
- Network errors: report the message the tool returned.

---

## Notes

- All times are in UTC. Convert to the user's local time for display.
- API token is at https://track.toggl.com/profile
- Workspace ID is also in the Toggl URL: `https://track.toggl.com/{workspaceId}/timer`
- Rate limits: Free=30/hr, Starter=240/hr, Premium=600/hr
- Never ask the user to paste the API token into the chat.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.