经 AI Skill Hub 精选评估,令牌监控 获评「推荐使用」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
令牌监控 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
令牌监控 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g token-monitor # 方式二:npx 直接运行(无需安装) npx token-monitor --help # 方式三:项目依赖安装 npm install token-monitor # 方式四:从源码运行 git clone https://github.com/Javis603/token-monitor cd token-monitor npm install npm start
# 命令行使用
token-monitor --help
# 基本用法
token-monitor [options] <input>
# Node.js 代码中使用
const token_monitor = require('token-monitor');
const result = await token_monitor.run(options);
console.log(result);
# token-monitor 配置说明 # 查看配置选项 token-monitor --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export TOKEN_MONITOR_CONFIG="/path/to/config.yml"
<p align="right"> <strong>EN</strong> | <a href="./README.zh-CN.md">简</a> | <a href="./README.zh-TW.md">繁</a> </p> <div align="center"> <img src=".github/assets/app.png" alt="Token Monitor logo" width="120"> <h1>Token Monitor</h1> </div>
<p align="center"> <em>One live dashboard for every AI coding tool, synced across every machine.</em> </p>
<p align="center"> <a href="https://github.com/Javis603/token-monitor/releases"><img src="https://img.shields.io/github/v/release/Javis603/token-monitor?include_prereleases&style=flat-square&label=release&color=22c55e" alt="Latest release" /></a> <img src="https://img.shields.io/badge/Windows-10%2B-0078D4?style=flat-square" alt="Windows 10 or later" /> <img src="https://img.shields.io/badge/macOS-14%2B-0A84FF?style=flat-square&logo=apple&logoColor=white" alt="macOS 14 or later" /> <img src="https://img.shields.io/badge/iOS-16%2B-0A84FF?style=flat-square&logo=apple&logoColor=white" alt="iOS 16 or later" /> <a href="docs/API.md"><img src="https://img.shields.io/badge/API-Docs-0B7285?style=flat-square" alt="API Docs" /></a> <a href="worker/README.md"><img src="https://img.shields.io/badge/Worker-Cloudflare-F38020?style=flat-square&logo=cloudflare&logoColor=white" alt="Cloudflare Worker" /></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-A855F7?style=flat-square" alt="License: MIT" /></a> </p>
| Limits View | Devices View | Models View |
|---|---|---|
|  |  |  |
| Session View | Session Details | Discord Rich Presence |
|---|---|---|
|  |  |  |
You can download the app from the releases page. All releases are unsigned; release notes include first-launch unlock steps for macOS (arm64) and Windows (x64). Other platforms run from source via npm start.
App state lives in the OS user-data dir — delete it along with the app to fully uninstall.
| Platform | Path |
|---|---|
| macOS | ~/Library/Application Support/Token Monitor/ |
| Windows | %APPDATA%/Token Monitor/ |
The agent and hub have no UI. Configure them with a .env file at the project root (copy from .env.example):
TOKEN_MONITOR_HUB_URL= # required for sync mode — Worker URL or http://<lan-ip>:17321
TOKEN_MONITOR_SECRET= # shared secret, must match the hub
TOKEN_MONITOR_DEVICE_ID= # optional — defaults to hostname
TOKEN_MONITOR_CLIENTS= # optional — defaults to all supported tools; set empty to disable tracking
TOKEN_MONITOR_LIMITS_ENABLED= # optional — defaults to enabled; set to 0 to skip CLI probing
TOKEN_MONITOR_LIMIT_PROVIDERS= # optional — defaults to all supported (claude, codex, cursor, antigravity)
The widget reads the same env vars as first-run defaults, then takes over with its own GUI-managed settings.
Every value can also be passed as a CLI flag (--hub=, --secret=, --device=, --clients=, --limits=, --limitProviders=) — flags win over env. Less-common knobs (TOKEN_MONITOR_INTERVAL_MS, TOKEN_MONITOR_PORT, TOKEN_MONITOR_STALE_AFTER_MS, TOKEN_MONITOR_LIMITS_REFRESH_MS, …) are also accepted via env / flag but kept out of .env.example to reduce noise.
Example one-off run:
npm run agent -- --clients=claude,codex,opencode --once
实用AI工作流监控工具
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:令牌监控 的核心功能完整,质量良好。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | token-monitor |
| 原始描述 | 开源AI工作流:Real-time token, cost, and AI limits widget with multi-device sync for Claude Co。⭐16 · JavaScript |
| Topics | aijavascriptcloudflare-workers |
| GitHub | https://github.com/Javis603/token-monitor |
| License | MIT |
| 语言 | JavaScript |
收录时间:2026-05-31 · 更新时间:2026-06-01 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端