GitHub 热门项目:Claude-Code-Usage-Monitor

摘要

GitHub项目:Claude-Code-Usage-Monitor 仓库地址:https://github。

https Claude Usage with Code
2026-05-12 1 阅读 GitHub Trending
GitHub 项目:Claude-Code-Usage-Monitor 仓库地址:https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor 星级:7964 | 作者:Maciek-roboblog 项目描述:具有预测和警告功能的实时克劳德代码使用情况监控 =================================================== 自述文件内容: # ? 克劳德代码使用监控 [![PyPI 版本](https://img.shields.io/pypi/v/claude-monitor.svg)](https://pypi.org/project/claude-monitor/) [![Python 版本](https://img.shields.io/badge/python-3.9+-blue.svg)](https://python.org) [![许可证:MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![欢迎 PR](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com) [![codecov](https://codecov.io/gh/Maciek-roboblog/Claude-Code-Usage-Monitor/branch/main/graph/badge.svg)](https://codecov.io/gh/Maciek-roboblog/Claude-Code-Usage-Monitor) 一款漂亮的实时终端监控工具,用于 Claude AI 代币使用情况,具有高级分析、基于机器学习的预测和丰富的 UI。跟踪您的代币消耗、燃烧率、成本分析,并获得有关会话限制的智能预测。 ![Claude 令牌监控截图](https://raw.githubusercontent.com/Maciek-roboblog/Claude-Code-Usage-Monitor/main/doc/scnew.png) --- ## ? 目录 - [✨ 主要功能](#-关键功能) - [? 安装](#-安装) - [⚡ 使用 uv 进行现代安装(推荐)](#-modern-installation-with-uv-recommended) - [? 使用 pip 安装](#-installation-with-pip) - [?️其他包管理器](#️-other-package-managers) - [? 用法](#-用法) - [获取帮助](#get-help) - [基本用法](#basic-usage) - [配置选项](#configuration-options) - [可用计划](#available-plans) - [? 请帮助测试此版本!](#-please-help-test-this-release) - [✨ 功能及其工作原理](#-功能--工作原理) - [当前功能](#current-features) - [了解克劳德会话](#understanding-claude-sessions) - [按计划划分的代币限制](#token-limits-by-plan) - [智能检测功能](#smart-detection-features) - [? 用法示例](#-usage-examples) - [常见场景](#common-scenarios) - [最佳实践](#best-practices) - [? 开发安装](#-development-installation) - [疑难解答](#疑难解答) - [安装问题](#installation-issues) - [运行时问题](#runtime-issues) - [? 联系方式](#-联系方式) - [? 附加文档](#-附加文档) - [? 许可证](#-许可证) - [? 贡献者](#-贡献者) - [?致谢](#-致谢) ## ✨ 主要特点 ### ? **v3.0.0 主要更新 - 完整架构重写** - **? 基于 ML 的预测** - P90 百分位数计算和智能会话限制检测 - **? 实时监控** - 可配置刷新率(0.1-20 Hz),具有智能显示更新 - **? 高级丰富的 UI** - 漂亮的颜色编码进度条、表格和布局,具有符合 WCAG 标准的对比度 - **? 智能自动检测** - 通过自定义限制发现自动计划切换 - **? 增强计划支持** - 更新限制:Pro (44k)、Max5 (88k)、Max20 (220k)、Custom(基于 P90) - **⚠️ 高级警告系统** - 具有成本和时间预测的多级警报 - **? 专业