TokenClock

by Neo-IsshinVerified

Native Liquid Glass AI token tracker for macOS — monitor Claude Code, Codex, Gemini CLI, OpenCode, and 10 more tools locally.

101
Stars
0
Forks
Swift
Language
8/24/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/Neo-Isshin/TokenClock

Getting Started

Guides for using skills like TokenClock.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

简体中文 · English

🕰️ TokenClock

A beautiful desktop clock for seeing your AI coding usage at a glance.

macOS 12+ macOS 26+ macOS 27 Beta 5 Windows normal Linux normal

Swift 6 License: MIT Releases

TokenClock Liquid Glass
Liquid Glass · macOS 26+
TokenClock normal
Normal · macOS, Windows, Linux

TokenClock is a small, always-on-top clock for your desktop. It combines the time with today's token usage, message count, active AI tools, weather, and usage pace—without making you open several dashboards.

Click the clock for session and model details. Right-click it to change the face, size, city, timezone, language, transparency, and other preferences.

What you get

  • 14+ AI coding tools in one place. TokenClock finds their local usage data automatically and lets you correct a path in Settings when needed.
  • A clearer usage total. Reused prompt-cache reads stay out of the main number, while new input, cache creation, output, and reasoning still count.
  • 8 carefully designed clock faces. Glass, Classic, Glacier, Midnight, Luxe, Antique, Railgun, and Sky, plus saved custom faces.
  • Useful details without leaving the desktop. Group usage by session or model, expand individual rows, and sort by percentage.
  • Cost estimation. Today's token usage converted to USD at API list prices (catalog from LiteLLM, auto-refreshed weekly); custom proxy models can be priced manually in Settings.
  • Subscription quotas in one panel. View Codex, Claude Code, Antigravity, and Cursor limits and reset times when those local accounts are available. Checks run only when you open the panel.
  • Weather without a location permission popup. Automatic weather uses an approximate city from your public IP, or you can choose a city yourself.
  • A native experience on each platform. macOS uses SwiftUI/AppKit, Windows uses Win32, and Linux uses GTK3. The workflow is shared while controls keep their native appearance.

Platform support

PlatformEditionNotes
macOS 26+Liquid Glass + NormalUniversal Apple Silicon/Intel build; supports macOS 27 Beta 5
macOS 12–25NormalClassic opaque desktop widget
Windows 11 x86_64NormalPer-user install; no administrator rights required
Linux x86_64NormalPrebuilt GTK3 AppImage; glibc 2.35+

Install

macOS and Linux

Paste this into Terminal:

curl -fsSL https://raw.githubusercontent.com/Neo-Isshin/TokenClock/main/cli/install.sh | bash

The installer chooses the right edition, verifies downloaded builds, starts TokenClock, and installs the small tokenclock helper command.

Useful commands after installation:

tokenclock doctor
tokenclock restart
tokenclock update
tokenclock uninstall

On Linux, the installer automatically uses extraction mode when FUSE 2 is unavailable; no sudo dependency install is required.

Windows

Paste this into PowerShell:

& ([scriptblock]::Create((irm https://raw.githubusercontent.com/Neo-Isshin/TokenClock/windows-port/cli/install.ps1)))

TokenClock installs for the current user under %LOCALAPPDATA%\Programs\TokenClock. It verifies the release checksum and does not enable autostart or create shortcuts unless you ask it to.

Windows may show a reputation warning for an unsigned first release. Check that the publisher source is this repository before continuing.

Optional Windows installer choices
# Install without starting, and add a Start Menu shortcut
& ([scriptblock]::Create((irm https://raw.githubusercontent.com/Neo-Isshin/TokenClock/windows-port/cli/install.ps1))) -NoStart -StartMenuShortcut

# Check the current installation
& ([scriptblock]::Create((irm https://raw.githubusercontent.com/Neo-Isshin/TokenClock/windows-port/cli/install.ps1))) -Action Check

# Uninstall while keeping your settings
& ([scriptblock]::Create((irm https://raw.githubusercontent.com/Neo-Isshin/TokenClock/windows-port/cli/install.ps1))) -Action Uninstall

Everyday use

  • Left-click the clock: show or hide usage details.
  • Subscription Quota: show Codex, Claude Code, Antigravity, and Cursor limits and reset times.
  • Cost column: estimated USD cost of today's usage at API list prices (customize prices in Settings).
  • By Session / By Model: change how details are grouped.
  • By Percent: compare which tools consumed the most.
  • Click a detail row: expand its sessions or models.
  • Right-click the clock: open faces, sizes, display preferences, refresh, Settings, About, and Quit.
  • Drag the clock: place it anywhere on your desktop; its position is remembered.

Settings includes automatic detection, tool switches, custom data paths, rate thresholds, the local API, and custom clock faces. Available rows may differ slightly by platform.

Supported tools

OpenClawClaude CodeGemini CLI
CodexHermesOpenCode
Qwen CodeGitHub Copilot CLIGrok CLI
AiderAntigravityCline
ContinueCursor Agent

Most tools need no setup. If a tool stores data somewhere unusual, open Settings → Data Source Paths and choose its folder or file.

Windows also offers optional Kiro session-contract detection and experimental CodeBuddy current-session statistics.

Screenshots

Usage details
Usage details
Clock face picker
Clock face picker
TokenClock normal edition
Normal edition

Privacy

  • Token and session totals are read from files already stored by your AI tools. TokenClock does not upload those logs or totals.
  • The optional local API listens only on 127.0.0.1.
  • Automatic weather contacts the configured weather/IP services to estimate a city. It does not request macOS Location Services permission.
  • Subscription Quota runs only when you open its panel. It uses each installed tool's local signed-in service or saved credentials when available; TokenClock does not ask you to paste account secrets.
  • Cursor cloud usage is optional. When enabled, it contacts Cursor's service using the credentials already stored by Cursor; leave it off if you only want local data.

Local API (optional)

TokenClock can expose read-only JSON for personal scripts and dashboards:

http://127.0.0.1:9988/api/usage
http://127.0.0.1:9988/api/history?days=30

The server is loopback-only, so other computers cannot connect to it directly.

Troubleshooting

  • A tool shows zero: use Re-detect in Settings, then check its Data Source Path. The tool must have created at least one local session first.
  • A subscription quota is unavailable: make sure the corresponding tool is installed and signed in, then retry from the quota panel. Some providers may not expose quota data on every plan or platform.
  • Weather is unavailable: choose a city manually or check whether wttr.in is reachable from your network.
  • Linux AppImage does not start: run tokenclock doctor, then reinstall. On systems without FUSE 2, the launcher automatically uses extraction mode and does not require sudo.
  • Something is using too much CPU: update and restart TokenClock. Recent builds avoid repeatedly scanning old Codex and Gemini histories.
  • Still stuck: run tokenclock doctor on macOS/Linux, or open a GitHub issue with your platform and TokenClock version.

Build from source

Most people should use the installers above. For contributors:

git clone https://github.com/Neo-Isshin/TokenClock.git
cd TokenClock
swift build -c release

The Normal edition shares its features across macOS, Windows, and Linux while keeping native controls and platform-specific data paths. Liquid Glass remains a separate macOS presentation built on the same usage core.

License

TokenClock is open-sourced under the MIT License — © 2026 Neo-Isshin.

Acknowledgments

  • Swift and SwiftUI/AppKit
  • GTK and Cairo for the Linux normal edition
  • The AI coding tools whose local data formats make this overview possible
  • Everyone who reports issues, tests new platforms, and improves TokenClock

Frequently Asked Questions

What is TokenClock?

TokenClock is an open-source cli tools skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Neo-Isshin. Native Liquid Glass AI token tracker for macOS — monitor Claude Code, Codex, Gemini CLI, OpenCode, and 10 more tools locally. It has 101 GitHub stars.

Is TokenClock safe to use?

Yes. TokenClock passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install TokenClock?

Clone the repository with "git clone https://github.com/Neo-Isshin/TokenClock" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is TokenClock written in?

TokenClock is primarily written in Swift. It is open-source under Neo-Isshin on GitHub, so you can review or fork the full source.

Are there alternatives to TokenClock?

Yes. SkillsLLM lists many other CLI Tools skills you can browse and compare side by side. Open the CLI Tools category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh TokenClock against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

ui-ux-pro-max-skill

by nextlevelbuilder

12

An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.

119,92012,870Python
CLI Toolsai-skillsantigravity
View details

happy

by slopus

Mobile and Web client for Codex and Claude Code, with realtime voice, encryption and fully featured

23,4501,980TypeScript
CLI Tools
View details

claudecodeui

by siteboon

Use Claude Code, OpenCode, Cursor CLI, and Codex on mobile and web with CloudCLI (aka Claude Code UI). CloudCLI is a free open source webui/GUI that helps you manage your Claude Code session and projects remotely.

13,3941,866TypeScript
CLI Tools
View details

CRS-自建Claude Code镜像,一站式开源中转服务,让 Claude、OpenAI、Gemini、Droid 订阅统一接入,支持拼车共享,更高效分摊成本,原生工具无缝使用。

12,5471,869JavaScript
CLI Tools
View details

ccstatusline

by sirmalloc

🚀 Beautiful highly customizable statusline for Claude Code CLI with powerline support, themes, and more.

12,508545TypeScript
CLI Tools
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details