by m1ng-li
AI agent (Claude Code + Codex) & system monitor for the Thermalright 9.16 LCD — native macOS
# Add to your Claude Code skills
git clone https://github.com/m1ng-li/mac-thermalright-ai-monitorGuides for using ai agents skills like mac-thermalright-ai-monitor.
mac-thermalright-ai-monitor is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by m1ng-li. AI agent (Claude Code + Codex) & system monitor for the Thermalright 9.16 LCD — native macOS. It has 53 GitHub stars.
mac-thermalright-ai-monitor's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/m1ng-li/mac-thermalright-ai-monitor" and add it to your Claude Code skills directory (see the Installation section above).
mac-thermalright-ai-monitor is primarily written in Swift. It is open-source under m1ng-li on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh mac-thermalright-ai-monitor against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
把利民 CPU 散热器上的 1920×480 LCD 变成一块实时仪表盘,既显示 Mac 的系统状态,又能看到你的 AI 编程助手此刻在干什么 —— 全部原生运行于 macOS,无需 Windows。

装在利民 Trofeo Vision 9.16 散热器上的实拍效果。

实时演示(假数据)。两个 agent 都在"工作"→ 面板呼吸、Bongo Cat 敲键盘、皮卡丘随 CPU 负载蹦跳放电、时钟走字。
基于 beret21/MacTR 改造,核心是一块实时追踪 Claude Code 与 Codex 会话的 AI Agents 面板。
读取本地的 Claude Code 和 Codex 会话日志(只读、不联网),左右并排显示每个 agent 的:
| … | 文本。步骤 4/6 徽章 + 分段进度条,从 Codex 的 update_plan 和 Claude 的 TodoWrite 解析而来。上一轮已完成的旧计划会自动消失。万 / 亿 格式。| 产品 | 利民 Trofeo Vision 9.16 LCD |
| 屏幕 | 9.16" IPS,1920 × 480 |
| 接口 | USB Type-C(USB 2.0) |
| 设备 | 0416:5408(LY Bulk 协议) |
下载安装包的话到此为止 —— libusb 已经打进 App 里,不需要装 Homebrew。
只有想从源码构建时才另外需要 libusb 和 Swift 6.1+ 工具链。
从 Releases
下载 .dmg,打开后把 MacTR AI 拖进「应用程序」。
首次打开会被 Gatekeeper 拦下。 这个 App 没买 Apple 开发者证书(99 美元/年), 只做了 ad-hoc 签名,所以 macOS 会说「无法验证开发者」。 在「应用程序」里 右键点图标 → 打开,弹窗里再点一次「打开」就行,只需一次。
命令行等价写法:
xattr -dr com.apple.quarantine "/Applications/MacTR AI.app"
装好后从菜单栏图标进入设置,可以打开「开机自启」。
brew install libusb pkg-config
git clone https://github.com/m1ng-li/mac-thermalright-ai-monitor.git
cd mac-thermalright-ai-monitor
swift build -c release
.build/release/MacTR # 菜单栏应用;驱动 LCD,或没接 LCD 时弹预览窗口
如果系统的 Command Line Tools 损坏、
swift build在解析包清单时报错, 装 Homebrew 的 Swift 工具链(brew install swift),改用/opt/homebrew/opt/swift/bin/swift build -c release, 或给下面的打包脚本传SWIFT=/opt/homebrew/opt/swift/bin/swift。
./packaging/build-app.sh # → dist/MacTR AI.app(自带 libusb,已 ad-hoc 签名)
./packaging/make-dmg.sh # → dist/MacTR-AI-<版本>-arm64.dmg
build-app.sh 会自动把二进制引用的所有非系统 dylib 复制进 Contents/Frameworks
并改写 install name,最后校验产物里没有残留构建机的本地路径。
版本号以 git tag 为准:推一个 v* tag 就会触发
Release 流水线,由 CI 构建并把 DMG 传到 GitHub Release。
推荐用 App 内设置里的开关(基于 SMAppService)。
如果你还想要「崩溃后自动拉起」,改用 LaunchAgent:
cp packaging/com.m1ngli.MacTRAI.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/com.m1ngli.MacTRAI.plist
两者只能选一个,同时开会启动两份实例互抢 USB 设备。
.build/release/MacTR # 菜单栏应用(有 LCD 走 LCD,没有则预览窗口)
.build/release/MacTR --preview # 强制打开本机预览窗口
.build/release/MacTR --demo # 用精美假数据驱动 LCD(方便拍照 / 展示)
.build/release/MacTR --snapshot x.png --cores 10 # 渲染一帧假数据到 PNG
.build/release/MacTR --gif x.gif --frames 48 --fps 12 --scale 2 # 生成演示 GIF
.build/release/MacTR --benchmark 120 # 测量 LCD 可达帧率
装好的 App 里同样的入口是 /Applications/MacTR AI.app/Contents/MacOS/MacTR。
同一时刻只能有一个进程占用 USB 设备 —— 用 --demo / --benchmark 前先停掉正在运行的实例。
MacTR 从不访问任何网络或 API,只读取这些 CLI 本来就写到本地磁盘的会话记录:
| Agent | 来源 | 解析内容 |
|---|---|---|
| Claude Code | ~/.claude/projects/*/*.jsonl |
助手消息、usage token、TodoWrite |
| Codex | ~/.codex/sessions/YYYY/MM/DD/*.jsonl |
agent 消息、token_count、rate_limits、update_plan |
Token 总量按本地自然日统计;某个 agent 今天还没跑过时,面板会优雅地显示它上一次会话的上下文。
一切都在本地、只读。无遥测、无网络请求,没有任何数据离开你的 Mac。
Bongo Cat 与皮卡丘纯属装饰。若你要分发构建产物,请注意它们的美术版权归各自所有者; 需要的话可替换或删除内嵌的
BongoCatAsset.swift/PikachuAsset.swift。
MIT(继承自上游项目)。第三方素材各自遵循其自身条款。
用 Swift + libusb 构建。与 Claude Code 协作开发。