ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 CodyEngel

cache-meter

プロンプト上部にプロンプトキャッシュの残り時間とコンテキストウィンドウ使用量を表示し、Compact ボタンと任意の Keep warm 切り替えを追加します。

CodyEngel@CodyEngel

CodyEngel/claude-mods/tree/main/cache-meter

翻訳済み

この mod について

cache-meter は Claude Code の関数フック mod で、プロンプトキャッシュの残り時間とコンテキスト使用量をプロンプト上部に表示し、Compact ボタンを提供します。任意の Keep warm はアイドル中にキャッシュ切れ前の ping を行い、アイドル8時間後に停止します。claude --plugin-dir ./cache-meter でインストールし、設定は mod の .claude-plugin/plugin.json の userConfig にあります。

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add CodyEngel/claude-mods
claude plugin install cache-meter
原文 / README

claude-mods

Mods for Claude Code: plugins of function hooks that add panes, bands, toasts and hooks to the terminal and the desktop Code tab.

Mods

| Mod | What it does | | --- | --- | | cache-meter | A band above the prompt showing time left on the prompt cache, how much of the context window is used, a Compact button, and an opt-in Keep warm toggle that pings the cache before it expires while you're idle (stops after 8 idle hours). | | pr-monitor | A pane listing the repository's open pull requests. Tick the ones to watch to see checks, review state and which other watched branches they conflict with. Mark any Auto-merge when green and it merges them one at a time, least-conflicting first, and asks Claude to resolve conflicts (in a temporary worktree, merging rather than rebasing, keeping out of files other watched PRs touch) once nothing else is about to land. |

Using a mod

claude --plugin-dir ./cache-meter

Each mod's settings live in its .claude-plugin/plugin.json under userConfig.

Developing

claude plugin validate ./cache-meter
claude plugin test ./cache-meter

The plugin API is early access and may change between Claude Code releases.

関連作品