---
title: "用來依專案追蹤時間、Token 與 API 價格的 Claude Code 模組"
url: "https://claudemods.dev/zh-tw/builds/a-claude-code-mod-to-track-time-tokens-and-api-price-per-pro-504a17"
source: "https://github.com/Abdoul-sudo/worklog"
source_type: "github"
repo: "https://github.com/Abdoul-sudo/worklog"
author: "Ok-Original-3868"
author_handle: "Ok-Original-3868"
stars: 18
category: "用量與成本"
categories: ["cost"]
tags: ["cost-tracking", "dashboard", "heatmap", "time-tracking", "token-usage"]
permission_level: 3
scan_complete: true
install: "claude plugin marketplace add Abdoul-sudo/worklog\nclaude plugin install worklog@worklog"
added: "2026-11-19T04:31:47.329Z"
updated: "2026-11-18T18:32:58Z"
locale: "zh-tw"
content_locale: "zh-tw"
---

# 用來依專案追蹤時間、Token 與 API 價格的 Claude Code 模組

Worklog 是一個免費、開源的 Claude Code 模組，會自動追蹤每個專案所花費的時間、Token 用量與預估 API 費用，並提供年度熱力圖和多種主題。

## Description

這篇 Reddit 貼文介紹 Worklog，一個用於依專案追蹤的 Claude Code 模組。它會在 Claude 工作期間計算活躍時間，包括回答、子代理與背景指令；計算 Token 並估算其 API 費用；並顯示具備八種可選主題的全年熱力圖。該專案免費且開源，貼文中包含 GitHub 儲存庫連結與示範 GIF。

## Install

```
claude plugin marketplace add Abdoul-sudo/worklog
claude plugin install worklog@worklog
```

## Original README

I use Claude on many projects, sometimes for hours without a break. I wanted to see how much time each project takes, how many tokens it uses and what it would cost on the API. So I built Worklog to track it all automatically.

[https://github.com/Abdoul-sudo/worklog](https://github.com/Abdoul-sudo/worklog)

What the mod does:

* Counts your time while Claude works (answers, subagents, background commands, ...).
* Counts your tokens and shows what they would cost on the API.
* Shows your whole year as a heatmap, with 8 different themes to choose from.

It's free and open source. Try it and tell me what you think. A star on GitHub would really help :)
