What is cache-glance?
cache-glance is a Claude Code mod by Toriwuuu that 輸入框下方常駐一行提示快取狀態:還有多久過期、過期後重寫要多少錢. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | Toriwuuu |
| Repository | Toriwuuu/claude-mods |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | Low risk (84/100) |
| Rank | #4,876 of 5,272 Claude Code mods; #966 in Cost & usage |
| Last commit | 2026-10-08 |
| Hooks | 6 events |
| Sees | classic hooks |
| Draws on | AbovePrompt |
Is cache-glance safe to install?
cache-glance scores 84/100 on the MCPMods security check: Low risk. Things to review: reads environment variables. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.env.get | reads env vars |
$.session.model | |
$.session.usage | |
$.settings.read | reads settings |
$.state.get | |
$.state.set | |
$.ui.invalidate | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
How do I install cache-glance?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/Toriwuuu/claude-mods claude plugin validate ./claude-mods/mods/cache-glance
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add Toriwuuu/claude-mods && claude plugin install cache-glance@claude-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs cache-glance for you:
Install the "cache-glance" Claude Code mod from https://github.com/Toriwuuu/claude-mods/tree/main/mods/cache-glance. Run claude plugin validate on it first and show me what it can access before you enable it.
More from Toriwuuu/claude-mods
This repository has 3 Claude Code mods on MCPMods.
- auto-panes: 每次開 Claude Code 自動打開右側的 Diff 和 Files 面板(Source Control 用 ◨ 手動開) (Low risk)
- task-progress: 給 Claude 一個回報工具,把任務清單和進度寫進 cmux 左側欄 (Review before installing)