strain プラグイン
A session-strain meter for long agent sessions. Counts how loaded a single conversation has become and makes the agent report it on its own, on a schedule it cannot quietly skip, so you find out that a session should be wrapped before its answers start degrading. Reads the real context size on hosts that expose one, and says so plainly when it cannot.
strain プラグインのインストール方法
両方のコマンドを Claude Code 内で実行してください。最初のコマンドで marketplace を一度追加し、2 番目のコマンドでプラグインをインストールします。
/plugin marketplace add jovesun-lab/whetstone
/plugin install strain@whetstonestrain の内容
プラグイン自身のファイルから読み込まれた 4 個のパーツ です。
SKILL 2
タスクが一致したときに Claude が読み込みます- start
Use at the START of every session, before your first reply — short sessions too — and again at the wrap or handoff. Checks that strain (the session-strain meter) has signed this session in, signs it in if not, asks the user for permission the right way, and offers once to add this step to the agent's instruction file. Also use whenever strain says a session is not signed. Triggers on: session start, new session, first reply, sign in, strain not signed, strain start, wrap up, handoff, end of session. Also use before dispatching a sub-agent: strain does not apply inside one.
- strain
Read how loaded the current session has become and report it as a tier, so a conversation gets wrapped before its answers start degrading. Use whenever someone asks how the session is holding up, whether it is time to wrap or start fresh, why the agent feels sluggish or forgetful; whenever a strain tick fires; and as a standing habit on long multi-hour work. Triggers on: session strain, is this session too long, should we wrap, context is filling up, running out of context, start a fresh session, why is the agent getting worse, session health, strain check, strain tier. Counts the real context size where the host exposes one, and counts behaviour where it does not. For the start of a session and the wrap — signing in, asking permission — use strain:start.
Hook 2
以下のイベントで実行されます- PostToolUsecommand
*
- SessionStartcommand
ファイルに説明がありません。
Claude Code での strain の使用方法
SKILL にコマンドは不要です。リクエストが説明と一致したときに Claude が読み込みます。
更新、オフ、または削除
- プラグインを更新 (shell)
- claude plugin update strain@whetstone
- marketplace を更新
- /plugin marketplace update whetstone
- 一時的にオフにする
- /plugin disable strain@whetstone
- 削除する
- /plugin uninstall strain@whetstone
strain のスキル
- startjovesun-lab/whetstone
Use at the START of every session, before your first reply — short sessions too — and again at the wrap or handoff. Checks that strain (the session-strain meter) has signed this session in, signs it in if not, asks the user for permission the right way, and offers once to add this step to the agent's instruction file. Also use whenever strain says a session is not signed. Triggers on: session start, new session, first reply, sign in, strain not signed, strain start, wrap up, handoff, end of session. Also use before dispatching a sub-agent: strain does not apply inside one.
8スター - strainjovesun-lab/whetstone
Read how loaded the current session has become and report it as a tier, so a conversation gets wrapped before its answers start degrading. Use whenever someone asks how the session is holding up, whether it is time to wrap or start fresh, why the agent feels sluggish or forgetful; whenever a strain tick fires; and as a standing habit on long multi-hour work. Triggers on: session strain, is this session too long, should we wrap, context is filling up, running out of context, start a fresh session, why is the agent getting worse, session health, strain check, strain tier. Counts the real context size where the host exposes one, and counts behaviour where it does not. For the start of a session and the wrap — signing in, asking permission — use strain:start.
8スター
strain プラグインに関する質問
strain プラグインをインストールするにはどうすればよいですか。
Claude Code で /plugin marketplace add jovesun-lab/whetstone を実行し、続いて /plugin install strain@whetstone を実行します。
strain プラグインには何が含まれていますか。
strain には 2 件のスキル, フック が含まれています。
strain プラグインを更新または削除するにはどうすればよいですか?
shell で claude plugin update strain@whetstone を使用して更新するか、/plugin の Installed タブから行ってください。削除するには /plugin uninstall strain@whetstone を使用してください。
strain プラグインのライセンスは何ですか?
プラグインのマニフェストに記載されている MIT です。