Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

clockify-tracker时钟追踪器

Agent Skill

clockify-tracker 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

861

周安装

37

GitHub Stars

3

下载量

302
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/somnio-software/somnio-ai-tools --skill clockify-tracker

简介

Clockify 工时追踪 REST API 集成,支持时间记录查询和新建条目操作。

  • 适用于远程团队协作、项目成本核算或个人时间管理场景。
  • 所有请求需携带 X-Api-Key 头部认证,API 密钥必须通过环境变量注入。
  • 涉及时间修改或删除操作时应二次确认,避免意外覆盖重要考勤记录。
  • clockify-tracker 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Clockify time tracking (REST API)

Integrate with Clockify using HTTPS requests to https://api.clockify.me/api/v1. Do not assume any local clockify_tracker binary exists.

Environment

VariableRequiredPurpose
CLOCKIFY_API_KEYYesAPI key from Clockify (Profile → API)
CLOCKIFY_TZ_OFFSETNoLocal offset from UTC in whole hours (e.g. -3 for Argentina). Use when the shell or runtime reports UTC but the user gives local HH:mm.

Authentication

Every request:

  • Header: X-Api-Key: <CLOCKIFY_API_KEY>
  • Header: Content-Type: application/json (for POST bodies)

Never paste the API key into chat; use the environment variable in the tool/shell you run.

Endpoints (mirror of former CLI behavior)

List workspaces

GET /workspaces

Returns a JSON array of workspaces; each item includes id and name.

List projects in a workspace

GET /workspaces/{workspaceId}/projects?page-size=5000

Returns a JSON array of projects; each item includes id and name.

Flow: If the user might have multiple workspaces, call GET /workspaces first and let them pick (or use the only one). Then list projects for the chosen workspaceId.

Create a time entry

POST /workspaces/{workspaceId}/time-entries

JSON body (fields aligned with the previous CLI):

FieldRequiredNotes
startYesISO 8601 UTC string, e.g. 2025-03-25T12:00:00.000Z
descriptionYesWork description
billableNoBoolean, default false if omitted
endNoISO 8601 UTC; omit for open-ended entry
projectIdNoClockify project id

Converting user-local HH:mm to UTC start / end

When the user gives local time as HH:mm (and optional YYYY-MM-DD, default today in their locale intent):

  1. Parse date D (year, month, day) and time parts hour, minute.
  2. Let tzOffset be the offset in hours from UTC for that local zone: +5 for UTC+5, -3 for UTC-3. Use CLOCKIFY_TZ_OFFSET if set (integer hours); otherwise infer from the user (e.g. Argentina → -3) or from context.
  3. Build UTC instant: utc_hour = hour - tzOffset then normalize into a proper UTC DateTime on calendar day D (carry overflow across day boundaries as needed), and serialize with Z (ISO 8601 UTC).

Examples:

  • Local 09:00 on 2025-03-10, tzOffset = -3 → UTC hour 9 - (-3) = 122025-03-10T12:00:00.000Z.
  • If the user already provides full ISO strings with T and timezone/Z, pass them through without this conversion.

Multiple calendar days

For ranges ("March 2–6") or discrete lists ("March 23, 24, 25, 26 and 27"), create one POST per day with the same local times and the appropriate date for each start (and end if any). When no year is provided, assume the current calendar year.

Operational flow

  1. Confirm CLOCKIFY_API_KEY is available to the execution environment.
  2. If workspace is unknown: GET /workspaces; resolve workspaceId.
  3. If project is needed: GET /workspaces/{workspaceId}/projects?page-size=5000; resolve projectId.
  4. Collect description, start (and optional end), date if needed, and timezone offset if not obvious.
  5. Build JSON and POST /workspaces/{workspaceId}/time-entries.
  6. Show the API JSON response or a clear error (status code + body).

Errors

On non-success status, read the response body and adjust (invalid id, permissions, malformed body). Official reference: Clockify API documentation.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.43%
按下载量换算107

Claude

30.12%
按下载量换算91

Cursor

17.38%
按下载量换算52

Gemini CLI

8.3%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills