Skip to content
项目

关于

Side dock for Claude, Codex, Cursor, Antigravity, Grok and DeepSeek usage, with OpenBot accounts and Obsidian prompts. Windows 11 release; macOS Apple Silicon and Linux (Omarchy) betas, testers welcome.

开发工具

这些数字如何统计

可以做什么

  • Always on top, out of the way. Docks to the left or right edge of any display. Drag it vertically along the edge to adjust height, and lock position in Settings. No taskbar icon. Auto-hides to a thin strip, and hides during full-screen apps.
  • Quota at a glance. Five collapsed styles (ring, square, bars, numbers, classic) colored by how much is left. Hover a provider for a peek with every window, reset countdown and plan.
  • Pace. "Runs out in 2h 10min" or "19% under pace" for each window, plus a trend line for the last 24 hours, 7 days or 30 days.
  • Real plan names, such as Claude Max 5x or Max 20x, when the provider reports them.

实测星标增长

24小时
正在收集历史
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

AI Dock

A side dock for Windows 11, with a macOS beta and a Linux beta, that shows how much AI quota you have left in Claude, Codex, Cursor and Antigravity, what your coding agents are doing, what that usage would cost on the API, and your Obsidian prompt library, one hover away.

Version Windows 11 macOS beta Linux beta Tauri 2 License: MIT

English · Português

Collapsed dock on the screen edge with the Codex peek open Usage panel with session and weekly windows, pace and a status incident Costs view with 30 days of estimated API cost per day, tool and model

Download

0.8.0 beta: the v0.8.0-beta.4 pre-release has Windows, macOS and Linux in one place, with the pixel-art cat, real glass blur on Windows, Grok, Grok Bot and DeepSeek, and clicks that pass through the empty space beside the dock. New in beta.4: a new look across the whole app, a summary of your OpenBot bots, a suggested Antigravity account switch, quota alerts at 75, 90 and 95%, an activity map in Costs and a cat that types while your agents work. The latest stable release for Windows is still 0.7.1.

Windows 11

Get the installer (NSIS) or the portable .exe from Releases.

The binary is not code-signed yet, so Windows SmartScreen may warn the first time you open it (More info → Run anyway).

macOS beta

Apple Silicon only. Download the .dmg from the v0.8.0-beta.4 pre-release. Nobody has reported back from a real Mac yet, so tell us how it went, even if everything worked.

The app is unsigned and not notarized. Gatekeeper warns the first time: right-click AI Dock → Open.

On the Mac the prompt shortcut is Control + Option + Command + Space, because macOS already uses Command + Option + Space and Control + Option + Space. If you use Claude Code, macOS asks once whether AI Dock may read its login from the Keychain.

Testers are welcome. Open an issue with what broke: dock on the left and right edges, two monitors, switching Spaces, the tray, the shortcut, starting at login, quota for the four providers, hiding for a full-screen app, the dock coming back to the front, and pasting after Accessibility is allowed. There is no Intel build.

Linux beta

Omarchy (Hyprland). Download the AppImage from the v0.8.0-beta.4 pre-release. It is built on Ubuntu 22.04, so it needs glibc 2.35 or newer.

The AppImage is unsigned. Make it executable and run it. If it complains about FUSE, install fuse2, or extract it with --appimage-extract and run ./squashfs-root/AppRun.

Testers are welcome. Open an issue with what broke: dock on the left and right edges, two monitors, switching workspaces, the tray, the shortcut, starting at login, quota for the four providers, hiding for a full-screen app, the dock staying in front, and pasting. This build is for Hyprland.

Features

  • Always on top, out of the way. Docks to the left or right edge of any display. Drag it vertically along the edge to adjust height, and lock position in Settings. No taskbar icon. Auto-hides to a thin strip, and hides during full-screen apps.
  • Quota at a glance. Five collapsed styles (ring, square, bars, numbers, classic) colored by how much is left. Hover a provider for a peek with every window, reset countdown and plan.
  • Pace. "Runs out in 2h 10min" or "19% under pace" for each window, plus a trend line for the last 24 hours, 7 days or 30 days.
  • Real plan names, such as Claude Max 5x or Max 20x, when the provider reports them.
  • Service status. Incidents from the official status pages of Claude, OpenAI (Codex) and Cursor show on the dock and in the cards, with a link to the status page.
  • Local costs. Tokens and the estimated API cost of your Claude Code, Codex CLI and Antigravity sessions, per day, tool, model and project, read from their local logs. An activity map keeps the total of every day, so it reaches past the few weeks the logs keep.
  • Account switch (Windows). When the Antigravity account you are using drops to 15% or less on its model and another account has 50% or more, the dock suggests the switch and brings that account's window to the front.
  • OpenBot (Windows). One entry for every account OpenBot runs, with a summary of its bots: who is working, on which engine, model and account.
  • Agent activity. See when Codex, Cursor or Antigravity is working, and get a notification when an agent is waiting for you. The pixel-art cat types while agents work, looks around and wags its tail for a few minutes after, then falls asleep.
  • Notifications for quota at 75%, 90% and 95% used (each one on or off, plus a level of your own between 50% and 99%, with a choice of sound), limit resets, service incidents, and a provider that stops refreshing (and when it recovers). Pause them for 30 min to "until tomorrow" from Settings or the tray.
  • Obsidian prompts. Search, favorites, recents, {{variables}} filled in before copying, a global Ctrl + Alt + Space palette (Control + Option + Command + Space on the Mac), and optional paste straight into the app you were in.
  • English and Portuguese UI; light, dark or system theme; start with Windows, with the Mac, or with Linux.

Providers

Provider What AI Dock reads What it does not read
Claude The local Claude Code OAuth login, or the claude.ai session you sign in to inside AI Dock (or a cookie you paste by hand) Chrome/Edge cookies, Claude Desktop's internal session
Codex ~/.codex/auth.json (or CODEX_HOME) and the ChatGPT usage endpoint —
Cursor The signed-in editor state in %APPDATA%\Cursor\User\globalStorage\state.vscdb (read-only) and cursor.com/api/usage-summary Your account password or browser
Antigravity The local language server of the installed app (supports multiple concurrent instances and accounts) Your Google account on the web

Connecting Claude

In Settings → Connections → Sign in with claude.ai, AI Dock opens claude.ai's own login page in its window. Sign in (use email if Google refuses the embedded window) and the window closes by itself.

After that AI Dock renews the session on its own: it keeps the cookies claude.ai rotates, and when the session stops working it reopens claude.ai hidden for a few seconds (at most every 20 minutes) so the site can refresh it. It only asks you to sign in again, with a notification, when claude.ai really signs you out. A Cloudflare challenge is not treated as an expired session: the last reading stays visible and marked as old.

Manual alternative: claude.ai DevTools → Application → Cookies → copy the whole table (or the Cookie header) and paste it in Paste the cookie manually. Never paste it in an issue.

Antigravity & Multiple Accounts

AI Dock finds your main Antigravity account on its own. If you run more accounts, each in its own data folder (started with --user-data-dir), AI Dock finds every running instance and shows its quotas, resets, agent activity and pools (Gemini, Claude + GPT, Argon) on its own icon.

Name the folders Antigravity-Conta2, Antigravity-Conta3… (or Antigravity-Account2…), in your user folder or at the root of C:\ or D:\, and AI Dock also lists those accounts while they are closed and numbers them by the folder. The email of each account comes from Antigravity itself while it is open; AI Dock does not read the account's credential files. Rename any account in Settings → Connections.

Costs

The Costs tab reads the JSONL logs Claude Code (~/.claude/projects), the Codex CLI (~/.codex/sessions) and Antigravity (~/.gemini/antigravity/brain) already write on your PC, and prices each model with the public LiteLLM price table. Subscriptions are not billed per token, so the number is what the same usage would cost on the API, not what you pay. Models missing from the table are counted in tokens only and marked with +.

Privacy

AI Dock has no backend, account or telemetry. Everything runs on your PC.

  • Claude Code, Codex and Cursor credentials are read only, never copied. Cursor's session stays in memory for the request.
  • The Claude Web cookie is stored in Windows Credential Manager. On the macOS beta, the same values go in the login Keychain. On the Linux beta, they go in the Secret Service when that service is running, and otherwise in the kernel keyring for the session. Only sessionKey, cf_clearance, __cf_bm and anthropic-device-id are kept.
  • The claude.ai window is remote content with no access to AI Dock's commands.
  • AI Dock never reads cookies from Chrome, Edge or any other browser.
  • The local cache and usage history hold quota numbers only, never credentials.

Network requests go only to:

Where Why
api.anthropic.com, claude.ai Claude usage
chatgpt.com Codex usage
cursor.com Cursor usage
status.claude.com, status.openai.com, status.cursor.com Public incident status, every 5 min
raw.githubusercontent.com LiteLLM price table, at most once a day, cached on disk

Details in SECURITY.md.

Prompts from Obsidian

Point AI Dock to your vault (or a folder inside it). Every .md file is a prompt; front matter is optional.

---
title: Editorial campaign
category: Image
tags:
  - photo
favorite: true
---

Create an editorial campaign for {{brand}} with a {{tone|refined}} tone.

{{name}} becomes a field to fill in before copying; {{name|default}} comes prefilled.

Requirements

  • Windows 11 with WebView2 (already included in Windows 11)
  • macOS beta: Apple Silicon
  • The apps you want to track, signed in on the same computer

Build from source

Needs Node.js 22+, Rust stable and the Tauri 2 prerequisites.

npm install
npm run tauri:dev     # run in development
npm run tauri:build   # installer + portable exe
npm run test:frontend # frontend tests
cd src-tauri && cargo test

See CONTRIBUTING.md for how changes and releases work.

Related projects

  • CodexBar: macOS menu bar app for AI coding usage limits. AI Dock's Antigravity forceRefresh fix follows its approach.
  • UsageDeck: Windows tray app for AI coding usage, limits and reset times.
  • ccusage: CLI that reports token usage and cost from coding agents' local logs; the idea behind the Costs tab.

AI Dock contains no code from these projects. See THIRD_PARTY_NOTICES.md.

Disclaimer

AI Dock is an independent project. It is not affiliated with, endorsed by or sponsored by Anthropic, OpenAI, Anysphere (Cursor), Google or Obsidian. Product names and logos belong to their owners and are used only to identify each service. Usage numbers come from each provider's own endpoints and may change or stop working when a provider changes them.

Author

Made by Nycolas Monteiro (@NyckDragon).

License

MIT. You can use, change and share AI Dock, including in your own projects, as long as you keep the copyright notice and credit the author.

探索相关项目

加载中…