Token导航 LogoToken导航

Agent Skill · 研究检索

toggl-cli(toggl CLI)

toggl-cli 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

toggl-cli 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 49,936。

总安装 635周安装 27GitHub Stars 7下载 222核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:toggl-cli(toggl CLI)
来源仓库:https://github.com/correctroadh/toggl-cli
仓库路径:skills/toggl-cli
安装命令:
npx skills add https://github.com/correctroadh/toggl-cli --skill toggl-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/correctroadh/toggl-cli --skill toggl-cli

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

toggl-cli 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。它是命令行工具,支持时间条目管理、项目分配、标签标记和账单设置,兼容官方与 OpenToggl 实例。

提供 start/stop/continue 等子命令,支持 JSON 输出与日期范围指定。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。toggl-cli 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/toggl-cli

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/correctroadh/toggl-cli --skill toggl-cli;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

toggl-cli 怎么安装?

在终端执行 npx skills add https://github.com/correctroadh/toggl-cli --skill toggl-cli。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

toggl-cli 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

toggl-cli 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

toggl-cli 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

toggl-cli 用的人多吗?

公开数据是累计安装 635 次,近一周安装 27 次,下载 222 次,GitHub 7 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

toggl-cli 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
toggl-cli

toggl CLI · 本页

6357需要联网未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Toggl CLI Skill

  • Install: npm install -g @correctroadh/toggl-cli
  • Auth: toggl auth login [TOKEN] [--api-type official|opentoggl] [--api-url URL]
  • Auth (OpenToggl): toggl auth login <TOKEN> --api-type opentoggl --api-url https://your-server.com

Command Shapes

Time entries:

  • toggl entry start [-d DESCRIPTION] [-p PROJECT] [--task TASK] [-t TAG...] [-b] [--start DATETIME] [--end DATETIME] [-j]
  • toggl entry stop [-j]
  • toggl entry continue [-i] [-j]
  • toggl entry running [-j]
  • toggl entry show [ID] [--current] [-j]
  • toggl entry edit [ID] [--current] [-d DESCRIPTION] [--billable true|false] [-p PROJECT] [--task TASK] [-t TAG...] [--start DATETIME] [--end DATETIME|""] [-j]
  • toggl entry delete [ID] [--current] [-j]
  • toggl entry bulk-edit <ID...> --json '<JSON_PATCH>'
  • toggl entry list [--since DATETIME] [--until DATETIME] [-n NUMBER] [-j]
  • toggl entry search [QUERY] [-p PROJECT|--no-project] [-t TAG...|--no-tag] [--since DATE] [--until DATE] [-n NUMBER] [--order-by date|duration|description|last_update|user] [--order-dir ASC|DESC] [-j]

Resources:

  • toggl project list [-j]
  • toggl project create <name> [--color HEX]
  • toggl project rename <old_name> <new_name>
  • toggl project delete <name>
  • toggl tag list [-j]
  • toggl tag create <name>
  • toggl tag rename <old_name> <new_name>
  • toggl tag delete <name>
  • toggl client list [-j]
  • toggl client create <name>
  • toggl client rename <old_name> <new_name>
  • toggl client delete <name>
  • toggl task list [-j]
  • toggl task create -p PROJECT <name> [--active true|false] [--estimated-seconds N] [--user-id ID]
  • toggl task update -p PROJECT <name> [--new-name NAME] [--active true|false] [--estimated-seconds N] [--user-id ID]
  • toggl task rename -p PROJECT <old_name> <new_name>
  • toggl task delete -p PROJECT <name>
  • toggl workspace list [-j]
  • toggl workspace create <organization_id> <name>
  • toggl workspace rename <old_name> <new_name>
  • toggl org list [-j]
  • toggl org show <id> [-j]
  • toggl auth login [TOKEN] [--api-type official|opentoggl] [--api-url URL]
  • toggl auth status [-j]
  • toggl me [-j]
  • toggl preferences read
  • toggl preferences update '<json>'
  • toggl config init|active|-e|-p|-d

Reports (--since/--until are optional, default to this_week/today):

  • toggl report summary [--since DATE] [--until DATE] [-j] [--group-by projects|clients|users] [--sub-group-by time_entries|tasks|projects|users]
  • toggl report detailed [--since DATE] [--until DATE] [-j] [-n NUMBER] [--order-by date|user|duration|description] [--order-dir ASC|DESC]
  • toggl report weekly [--since DATE] [--until DATE] [-j]

Know-How

  • entry search for finding past entries: Server-side search via Reports API v3. Filters combine (AND): positional QUERY matches description (substring); -p NAME|ID restricts to a project (or --no-project for entries missing a project); -t NAME restricts to a tag (repeatable, or --no-tag for untagged entries). --no-project/--no-tag are mutually exclusive with -p/-t. Project/tag names are resolved to IDs in the default workspace; pass numeric IDs to skip lookup. Default date range is the last 365 days — use --since 2024-01-01 to reach further back. Prefer this over entry list | grep when searching history.
  • IMPORTANT: Always scope entry list with --since or -n to avoid dumping 90 days of entries. Use --since today, --since this_week, or -n 10. Never run bare toggl entry list — the output can be hundreds of entries and waste tokens.
  • Natural language dates: --since and --until accept today, yesterday, now, this_week, last_week in addition to YYYY-MM-DD and full datetime formats. Works in both entry list and all report commands.
  • JSON on all mutations: entry start, entry stop, entry edit, entry continue all support -j/--json and return the full entry with real ID, hydrated project, and "running" boolean.
  • entry running --json returns {"running": false} when nothing is running (not null). Same for entry stop --json when idle.
  • Report defaults: toggl report summary with no args defaults to current week (this_week to today). No date flags required.
  • Project by name: -p "ProjectName" resolves by name first, then by numeric ID. Non-existent names show available projects. Project is validated before stopping any running timer.
  • Entry list output: Human mode shows ID DATE HH:MM–HH:MM [duration] – description @project. Cross-day entries show the end date (e.g. 23:35–03-29 12:01). Entries are sorted by start time. Use IDs directly for entry show, entry edit, entry delete.
  • Names with spaces: Quote names containing spaces in all commands: toggl tag create "2 象限", toggl project create "My Project", -p "My Project", -d "Fix login bug". Without quotes, each word is treated as a separate argument.
  • Multiple tags: pass multiple values to -t, for example -t dev review, not one quoted string like -t "dev review" if you want two separate tags.
  • Clear tags on update: use toggl entry edit [ID] -t "".
  • Remove project or task on update: use -p "" or --task "".
  • If entry start gets both --start and --end, it creates a closed historical entry and does not stop the currently running entry.
  • If entry start omits --end, it stops any currently running entry first.
  • --end requires --start, and end time must be later than start time.
  • entry edit --current edits the currently running entry without needing its ID.
  • entry edit with no field flags (-d, -p, -t, etc.) exits 1 with a helpful message listing valid flags.
  • Bulk edit: entry bulk-edit accepts multiple IDs and a --json flag with a JSON Patch array. All entries must belong to the same workspace. Example: toggl entry bulk-edit 123 456 789 --json '[{"op":"replace","path":"/description","value":"standup"}]'.
  • entry start uses config defaults when flags are omitted, including default project, task, tags, and billable state.
  • For entry list, a date-only --since YYYY-MM-DD means local 00:00:00 at the start of that day.
  • For entry list, a date-only --until YYYY-MM-DD includes the whole local day by using the next day's 00:00:00 as the exclusive upper bound.
  • Empty results: human mode prints "No entries found." to stderr; JSON mode returns [].
  • Performance: Read-only API responses are cached on disk (per-endpoint TTL, e.g. 15s for time entries, 60s for projects). Cache can be disabled with TOGGL_DISABLE_HTTP_CACHE=1.

Minimal Examples

# Time entries
toggl entry start -d "Feature work" -p "App" -t dev review -b
toggl entry start -d "Backfill" --start "2026-03-05 09:00" --end "2026-03-05 10:30"
toggl entry start -d "Quick meeting" --start 09:00 --end 10:00
toggl entry start -d "Task" -p "App" --json   # returns real ID in JSON
toggl entry stop --json                        # returns stopped entry as JSON
toggl entry running --json                     # check if running, get entry data
toggl entry edit --current -d "Updated" -p "" -t ""
toggl entry list --since today
toggl entry list --since yesterday --until today
toggl entry list --since this_week --json | jq '.[].description'
toggl entry list --since last_week --until yesterday
toggl entry search "login bug"                          # description search, last 365 days
toggl entry search --no-project --since last_week       # untriaged entries from last week
toggl entry search "standup" -p "Work" -t daily         # combine description + project + tag
toggl entry search --no-tag --since 2025-01-01 -j       # JSON, all untagged entries this year
toggl entry search --order-by duration --order-dir DESC -n 20  # longest entries in the last year
toggl entry bulk-edit 123 456 --json '[{"op":"replace","path":"/description","value":"standup"}]'

# Reports (no args = current week)
toggl report summary
toggl report summary --since today --until today
toggl report summary --since last_week --until yesterday --json
toggl report weekly --since this_week --until today
toggl report detailed --since 2026-03-01 --until 2026-03-27 -n 50

# Resources (quote names with spaces)
toggl project list -j
toggl project create "My Project" --color "#06aaf5"
toggl tag create "2 象限"
toggl entry start -d "Fix login bug" -p "My Project" -t urgent
toggl me --json

Output And Time

  • Time-entry list format: ID DATE HH:MM–HH:MM [$] [HH:MM:SS]* – description @Project #[tag1, tag2]
  • Start–end time range is shown inline. Cross-day entries show the end date (e.g. 23:35–03-29 12:01).
  • Running entries show HH:MM–… for the end time.
  • $ means billable; * means currently running.
  • JSON single-entry output includes "running": true/false and hydrated "project" object.
  • Accepted datetime input for --start, --end, --since, --until:

- Natural language: today, yesterday, now, this_week, last_week - RFC3339: 2026-03-05T09:00:00+08:00 - Local datetime: 2026-03-05 09:00 or 2026-03-05T09:00:00 - Date only: 2026-03-05 meaning local 00:00:00 - Time only: 09:00 or 14:30:00 meaning that time today in local timezone

  • entry edit time-only resolution: When editing with --start or --end using time-only values (e.g. 18:30), the date is inferred from the entry's existing start date, not today. Use a full datetime to specify a different date.

平台分布

Codex

35.43%
按下载量换算79

Claude

30.15%
按下载量换算67

Cursor

20.37%
按下载量换算45

Gemini CLI

8.59%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills